https://portlandwiki.org/api.php?action=feedcontributions&user=Mitch+Gore&feedformat=atomPortlandWiki - User contributions [en]2024-03-28T22:31:40ZUser contributionsMediaWiki 1.40.1https://portlandwiki.org/index.php?title=File:StJohnsPortland.JPG&diff=22758File:StJohnsPortland.JPG2012-11-01T04:48:00Z<p>Mitch Gore: </p>
<hr />
<div></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:Reflist&diff=22757Template:Reflist2012-11-01T04:45:08Z<p>Mitch Gore: </p>
<hr />
<div><small><div class="references-small {{#if: {{{colwidth|}}} | references-column-width | {{#iferror: {{#ifexpr: {{{1|1}}}>1 | references-column-count references-column-count-{{{1}}} }} }} }}" {{#if: {{{colwidth|}}}| style="-moz-column-width:{{{colwidth}}}; column-width:{{{colwidth}}};" | {{#if: {{{1|}}}| style="-moz-column-count:{{{1}}}; column-count:{{{1}}};" }} }}><br />
{{#tag:references||group={{{group|}}}}}</div><noinclude>[[Category:Citation templates|{{PAGENAME}}]]</noinclude></small></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:Citation/core/doc&diff=22756Template:Citation/core/doc2012-11-01T04:43:27Z<p>Mitch Gore: Created page with "{{documentation subpage}} <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> {{esoteric}} {{high-risk|1,600,000+}} == About this template == Template:Citation/core can..."</p>
<hr />
<div>{{documentation subpage}}<br />
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --><br />
{{esoteric}}<br />
{{high-risk|1,600,000+}}<br />
<br />
== About this template ==<br />
<br />
[[Template:Citation/core]] can be thought of as an engine producing consistent output for Wikipedia's citations. Templates such as {{tl|Citation}} provide this core template with a list of parameters, which it uses to produce a formatted text (HTML) output, which contains embedded [[COinS]] metadata. This metadata allows many readers to find cited references more easily, or to extract their details to a [[reference manager]].<br />
<br />
The presence of a central template makes individual citation templates simpler to code and amend, and produces a consistent look throughout the encyclopaedia.<br />
<br />
== Templates using this 'engine' ==<br />
<br />
Changes to this central template can affect the output of several 'upstream' templates. A list of templates directly using citation/core is provided below for testing purposes. There are hundreds of templates that use these templates as meta-templates.<br />
<br />
*[[Template:Citation]]<br />
*[[Template:Cite arXiv]]<br />
*[[Template:Cite book]]<br />
*[[Template:Cite conference]]<br />
*[[Template:Cite DVD-notes]]<br />
*[[Template:Cite encyclopedia]]<br />
*[[Template:Cite IETF]]<br />
*[[Template:Cite interview]]<br />
*[[Template:Cite journal]]<br />
*[[Template:Cite mailing list]]<br />
*[[Template:Cite manual]]<br />
*[[Template:Cite news]]<br />
*[[Template:Cite newsgroup]]<br />
*[[Template:Cite press release]]<br />
*[[Template:Cite report]]<br />
*[[Template:Cite sign]]<br />
*[[Template:Cite speech]]<br />
*[[Template:Cite techreport]]<br />
*[[Template:Cite thesis]]<br />
*[[Template:Cite video]]<br />
*[[Template:Cite web]]<br />
<br />
== Parameter details ==<br />
Note that the examples below are common uses of each parameter, intended to help editors understand the functioning of this template. In the most part, there is nothing wrong with passing different data to any of the parameters below if it produces the output that is desired. The exception is in parameters which are associated with a [[COinS]] field— these parameters are indicated by ⊗.<br />
<br />
*{{para|AccessDate}} date when the {{para|URL}} was accessed. Should not be wikilinked.<br />
* archive parameters ''(if used, must be used both of them together)''<br />
**{{para|ArchiveURL}} the URL of an [[Web archiving|archived]] copy of a web page, if (or in case) the url becomes unavailable. Typically used to refer to services like [[WebCite]] and [[Internet Archive|Archive.org]].<br />
** {{para|ArchiveDate}} date when the item was archived. Should not be wikilinked.<br />
*{{para|OriginalURL}} If an archived URL is provided elsewhere, the original URL should be specified here.<br />
*{{para|amp}} When set to any value, changes the separator between the last two names in lists of authors to an ampersand (&). Defaults to a semicolon and space(; ), else {{para|AuthorSep}} if set.<br />
* ⊗ {{para|ARXIV}} [[ArXiv]] ID.<br />
* ⊗ {{para|ASIN}} [[Amazon Standard Identification Number]].<br />
* ⊗ {{para|At}} page reference within the source.<br />
*{{para|Authorlink1}} title of an existing Wikipedia article about the first author.<br />
*{{para|Authorlink2}}, {{para|Authorlink3}}, ..., {{para|Authorlink8}} title of an existing Wikipedia article about up to seven additional authors.<br />
*{{para|AuthorMask}} Primarily intended for use in bibliographies for some styles where multiple works by a single author are listed. It replaces the name of the first author with a strike-thru dash (—) AuthorMask em in length enclosed in {{tag|del|o}} tags. If {{para|AuthorMask|1}} then the dash will be one em in length and so on. Set AuthorMask to a text value to display a word instead:– for example, 'with'. You must still include the parameters for all authors for metadata purposes. Do not use in a list generated by {{tl|reflist}} or {{tag|references|s}} as there is no control as to the order that references will display.<br />
*{{para|AuthorSep}} Separator between author names; defaults to semicolon (;).<br />
* ⊗ {{para|BIBCODE}} A [[Bibcode]] ID.<br />
*{{para|Citation class}} adds the specified HTML class to the span that encloses the citation. The name must be one word (separate words are separate classes) and must meet the name rules.<ref>{{Cite web|title=HTML class Attribute|url=http://www.w3schools.com/tags/att_standard_class.asp|work=w3schools.com}}</ref><br />
* ⊗ {{para|DOI}} [[Digital object identifier]].<br />
* ⊗ {{para|Date}} date of the authorship, if different from date of publication.<br />
*{{para|DeadURL}} indicates if the original link is [[WP:LINKROT|dead]] or live ({{para|DeadURL|no}}). Used to change the main citation link when {{para|ArchiveURL}} is set.<br />
*{{para|DoiBroken}} Date the DOI is broken<br />
* ⊗ {{para|Edition}} number or name of the edition, if not the first; for example: {{para|Edition|2nd.}}<br />
*{{para|EditorGiven1}} first editor's first or given name(s).<br />
*{{para|EditorGiven2}}, {{para|EditorGiven3}} second and third editors’ first or given name(s).<br />
*{{para|EditorSurname1}} first editor's surname or last name.<br />
*{{para|EditorSurname2}}, {{para|EditorSurname3}}, {{para|EditorSurname4}} second, third, and fourth editors’ surname or last name. The fourth is not actually used, but causes 'et al.' to be generated.<br />
*{{para|Editorlink1}} title of an existing Wikipedia article about the first editor.<br />
*{{para|Editorlink2}}, {{para|Editorlink3}} title of existing Wikipedia articles about the second and third editors.<br />
*{{para|format}} file format of the source, if not the common format. Or; "Free full text", "abstract", or similar descriptor<br />
* ⊗ {{para|Given1}} first author's first or given name(s).<br />
* ⊗ {{para|Given2}}, {{para|Given3}}, ..., {{para|Given8}} up to seven additional authors' first or given name(s).<br />
*{{para|ID}} miscellaneous identifier, other than {{para|DOI}}, {{para|ISBN}}, {{para|ISSN}}, {{para|OCLC}}, {{para|PMID}}, or {{para|PMC}}.<br />
* ⊗ {{para|ISBN}} [[International Standard Book Number]].<br />
* ⊗ {{para|ISSN}} [[International Standard Serial Number]] identifying the periodical.<br />
* ⊗ {{para|IncludedWorkTitle}} Specific title, to be displayed in quotation marks. Contrast with {{para|Title}}, which is displayed in italics. In some cases (e.g. [[Template:Cite web]]) it may be desirable to use IncludedWorkTitle for the title, and not use the Title parameter at all.<br />
* ⊗ {{para|IncludedWorkURL}} [[Uniform Resource Locator|URL]] of the contribution or chapter, or other included work.<br />
* ⊗ {{para|Issue}} issue number of the periodical.<br />
* ⊗ {{para|JFM}} [[Jahrbuch über die Fortschritte der Mathematik]]<br />
* ⊗ {{para|JSTOR}} [[JSTOR]] ID.<br />
*{{para|language}} specifies the language in which the source is written, if not English.<br />
* {{para|laysummary}} Summary of the source in a [[layman]]-friendly journal - for instance a BBC news article about a paper in [[Nature (journal)|Nature]].<br />
** {{para|laydate}} Date of a lay summary.<br />
** {{para|laysource}} Name of the source, such as the magazine or journal.<br />
* ⊗ {{para|LCCN}} [[Library of Congress Control Number]] ID.<br />
* ⊗ {{para|MR}} [[Mathematical Reviews]] ID.<br />
*{{para|NameSep}} Separator between last and first names; defaults to a comma and space (, ).<br />
* ⊗ {{para|OCLC}}[[Online Computer Library Center]] ID number.<br />
* ⊗ {{para|OL}} [[Open Library]] ID.<br />
* ⊗ {{para|OSTI}} [[Office of Scientific and Technical Information]] ID.<br />
*{{para|Other}} Other details to be inserted in a particular place.<br />
* ⊗ {{para|PMC}} [[PubMed Central]] article number for full-text free repository of an article.<br />
* ⊗ {{para|PMID}} [[PMID|PubMed Unique Identifier]].<br />
*{{para|Periodical}} name of the periodical, journal, or magazine. This parameter controls whether or not the template will generate a citation in the style appropriate to a periodical, journal, magazine, or other serial publication. When set, {{para|Publisher}} and {{para|PublicationPlace}} are formatted in parentheses.<br />
*{{para|Place}} place where the item was created (outputs "written at <var>location</var>"; this parameter should not be used for location of publication; see {{para|PublicationPlace}}, below.<br />
*{{para|PublicationDate}} date of publication.<br />
* ⊗ {{para|PublicationPlace}} city of publication.<br />
* ⊗ {{para|Publisher}} name of the publisher.<br />
*{{para|quote}} text to be quoted from the source. If supplied, this is enclosed in double-quotes.<br />
*{{para|PS}} postscript terminating the citation. This is empty by default.<br />
*{{para|Ref}} A reference name - if the citation is referred to using the [[Template:Harv|Harvard referencing suite of templates]].<br />
* ⊗ {{para|RFC}} [[Request for Comments]] ID.<br />
*{{para|Sep}} specifies the punctuation mark used to separate fields. This usually defaults to a period, but may occasionally be a comma. For technical reasons, the template will malfunction if a semicolon is passed as a separator. To circumvent this, the calling template should encode semicolons:<br/><code><nowiki>|Sep = {{#ifeq:{{{separator}}}|;|&amp;#059;|{{{separator|!}}}}}</nowiki></code><br/>Replace the exclamation mark with a default separator, if one different to a period is desired.<br />
* ⊗ {{para|Series}} series of which this periodical is a part.<br />
* ⊗ {{para|SSRN}} [[Social Science Research Network]] ID.<br />
* ⊗ {{para|Surname1}} first author's surname or last name.<br />
* ⊗ {{para|Surname2}}, {{para|Surname3}}, ..., {{para|Surname9}} up to eight additional authors’ surnames or last names. The ninth is not actually used, but causes ''et al.'' to be generated.<br />
* ⊗ {{para|Title}} Title, to be displayed in italics after {{para|IncludedWorkTitle}}. Used, for example, when citing the title of a book; the chapter title would be passed to IncludedWorkTitle<br />
* {{para|template doc demo}} The archive parameters have error checking to ensure that all the required parameters are included, else {{tl|citation error}} is invoked. On errors, main, help and template pages are placed into [[:Category:Articles with incorrect citation syntax]]. Set {{para|template doc demo|true}} to disable categorization.<br />
*{{para|TitleNote}} appears after Title; shows only if Title and Periodical are defined.<br />
*{{para|TitleType}} specific type of item cited. Example: PhD thesis. Appears in parentheses immediately after Title or TransTitle.<br />
*{{para|TransItalic}} Translated italicized title, in case the original title is in a foreign language. Can be used in conjunction with TransTitle, e.g. for book and chapter title, respectively. This translated string will appear in square brackets, following the italicized book title, with the same URL link.<br />
*{{para|TransTitle}} Translated title, in case the original title is in a foreign language. The translated title will appear inside square brackets, enclosed within the quotation marks of the IncludedWorkTitle.<br />
*{{para|Trunc}} Sets the number of authors to display before ''et al.'' is shown.<br />
* ⊗ {{para|URL}} [[Uniform Resource Locator]] of an online location where the article can be found.<br />
* ⊗ {{para|Volume}} volume number of a multi-volume book or compilation.<br />
*{{para|YearNote}} Note to accompany the year. Example: First published 1886.<br />
*{{para|Year}} year of authorship or publication.<br />
* ⊗ {{para|ZBL}} [[Zentralblatt MATH]] ID.<br />
<br />
==Supporting CSS==<br />
Rules are defined in [[MediaWiki:Common.css]] to control the appearance of citations.<br />
<br />
The raw URL is rendered at the end of the citation, but is hidden except when printed.<br />
<source lang="css"><br />
/* For linked citation numbers and document IDs, where<br />
the number need not be shown on a screen or a handheld,<br />
but should be included in the printed version */<br />
@media screen, handheld {<br />
.citation *.printonly {<br />
display: none;<br />
}<br />
</source><br />
<br />
==References==<br />
{{reflist}}<br />
<br />
<includeonly><br />
<!---CATEGORIES HERE---><br />
<br />
[[Category:Citation templates|*]]<br />
<br />
<!---INTERWIKIS HERE---><br />
<br />
<br />
</includeonly></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:Citation/make_link/doc&diff=22755Template:Citation/make link/doc2012-11-01T04:42:41Z<p>Mitch Gore: Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{high-risk|1,500,000+}} This template is a "subroutine" of {{tl|Citation/c..."</p>
<hr />
<div>{{Documentation subpage}}<br />
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --><br />
{{high-risk|1,500,000+}}<br />
<br />
This template is a "subroutine" of {{tl|Citation/core}} used for conditionally making links for the <code>chapter=</code> and <code>title=</code> fields in a citation. <br />
<br />
It is invoked as:<br />
: <tt><nowiki>{{Citation/make link </nowiki> </tt><br />
:: | <tt>1</tt> = ''<value of ''<tt>IncludedWorkURL=</tt>'' or ''<tt>URL=</tt>'' or ''<tt>PMC=</tt>'' parameters>'' <br />
:: | <tt>2</tt> = ''<value of ''<tt>IncludedWorkTitle=</tt>'' or ''<tt>Title=</tt>'' parameters>''<br />
: <tt><nowiki>}}</nowiki></tt><br />
<br />
It uses the following algorithm:<br />
# If the first parameter is empty, it returns the second parameter as plain text.<br />
# If the first parameter is a URL, it returns the second parameter wrapped inside an external link to the first.<br />
<br />
This "subroutine" is designed for {{tl|Citation/core}} and makes assumptions that may not be valid elsewhere.<br />
<br />
Examples:<br />
* "<code><nowiki>{{Citation/make link||BBC News front page}}</nowiki></code>" produces "{{Citation/make link||BBC News front page}}".<br />
* "<code><nowiki>{{Citation/make link|http://news.bbc.co.uk/|BBC News front page}}</nowiki></code>" produces "{{Citation/make link|http://news.bbc.co.uk/|BBC News front page}}".<br />
<br />
<includeonly><br />
<br />
<!---CATEGORIES HERE---><br />
<br />
<br />
<!---INTERWIKIS HERE---><br />
<br />
<br />
</includeonly></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:Citation/make_link&diff=22754Template:Citation/make link2012-11-01T04:41:41Z<p>Mitch Gore: Created page with "{{#if:{{{1|}}} |[{{{1}}} {{{2}}}] |{{{2}}} }}<noinclude><!-- Code notes (here so that people /read/ it) 1. Parameter #2 is always nonempty when called from {{Citation/co..."</p>
<hr />
<div>{{#if:{{{1|}}}<br />
|[{{{1}}} {{{2}}}]<br />
|{{{2}}}<br />
}}<noinclude><!--<br />
Code notes (here so that people /read/ it)<br />
1. Parameter #2 is always nonempty when called from {{Citation/core}}.<br />
2. It's up to {{Citation/core}} to stop italicized "'foo' & 'bar'" from becoming<br />
"'''foo' & 'bar'''". Citation/core does this by having a <nowiki></nowiki><br />
at both beginning and end of the call to this template. Since this is only<br />
needed once, it's more efficient to do it in {{Citation/core}} than here.<br />
-->{{documentation}}</noinclude></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:Esoteric&diff=22753Template:Esoteric2012-11-01T04:41:10Z<p>Mitch Gore: Redirected page to Template:Intricate template</p>
<hr />
<div>#REDIRECT [[Template:Intricate template]]<br />
[[Category:Protected redirects]]</div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:Citation/core&diff=22752Template:Citation/core2012-11-01T04:19:24Z<p>Mitch Gore: </p>
<hr />
<div><span class="citation {{{Citation class|{{{Citation type|}}}}}}"<br />
{{<br />
#switch:{{{Ref|}}}<br />
||none =<br />
|#default = id="{{anchorencode:{{{Ref}}}}}"<br />
|harv = {{#if:{{{Surname1|}}}{{{EditorSurname1|}}}<br />
|id="CITEREF{{anchorencode:{{#if:{{{Surname1|}}}<br />
|{{{Surname1}}}{{{Surname2|}}}{{{Surname3|}}}{{{Surname4|}}}<br />
|{{{EditorSurname1|}}}{{{EditorSurname2|}}}{{{EditorSurname3|}}}{{{EditorSurname4|}}}<br />
}}{{{Year|{{{Date|}}}}}}}}"<br />
}}<br />
}}>{{<br />
<!--============ Author or editor and date ============--><br />
#if:{{{Surname1|}}}<br />
|{{<br />
#if: {{{AuthorMask|}}}<br />
|{{<br />
#iferror: {{ #expr: 1*{{{AuthorMask}}} }}<br />
|{{{AuthorMask}}}<br />
|{{loop|{{{AuthorMask}}}|2=&mdash;}}<br />
}}<br />
|{{<br />
#if: {{{Authorlink1|}}}<br />
|[[{{{Authorlink1}}} |{{{Surname1}}}{{<br />
#if: {{{Given1|}}}<br />
|{{{NameSep|,&#32;}}}{{{Given1}}}<br />
}}]]<br />
|{{{Surname1}}}{{<br />
#if: {{{Given1|}}}<br />
|{{{NameSep|,&#32;}}}{{{Given1}}}<br />
}}<br />
}}<br />
}}{{<br />
#if: {{{Surname2|}}}<br />
|{{#ifexpr:{{{Trunc|8}}}<2<br />
|&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}<br />
|{{<br />
#iferror: {{ #expr: 1*0.0{{{AuthorMask|}}} }}<br />
|&#32;<!-- then punctuation should be included in AuthorMask --><br />
|{{<br />
#if: {{{Surname3|}}}<br />
|{{{AuthorSep|&#059;&#32;}}}<br />
|{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}<br />
}}<br />
}}{{<br />
#if: {{{Authorlink2|}}}<br />
|[[{{{Authorlink2}}} |{{{Surname2}}}{{<br />
#if: {{{Given2|}}}<br />
|{{{NameSep|,&#32;}}}{{{Given2}}}<br />
}}]]<br />
|{{{Surname2}}}{{<br />
#if: {{{Given2|}}}<br />
|{{{NameSep|,&#32;}}}{{{Given2}}}<br />
}}<br />
}}{{<br />
#if: {{{Surname3|}}}<br />
|{{#ifexpr:{{{Trunc|8}}}<3<br />
|&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}<br />
|{{<br />
#if: {{{Surname4|}}}<br />
|{{{AuthorSep|&#059;&#32;}}}<br />
|{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}<br />
}}{{<br />
#if: {{{Authorlink3|}}}<br />
|[[{{{Authorlink3}}} |{{{Surname3}}}{{<br />
#if: {{{Given3|}}}<br />
|{{{NameSep|,&#32;}}}{{{Given3}}}<br />
}}]]<br />
|{{{Surname3}}}{{<br />
#if: {{{Given3|}}}<br />
|{{{NameSep|,&#32;}}}{{{Given3}}}<br />
}}<br />
}}{{<br />
#if:{{{Surname4|}}}<br />
|{{#ifexpr:{{{Trunc|8}}}<4<br />
|&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}<br />
|{{<br />
#if: {{{Surname5|}}}<br />
|{{{AuthorSep|&#059;&#32;}}}<br />
|{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}<br />
}}{{<br />
#if: {{{Authorlink4|}}}<br />
|[[{{{Authorlink4}}} |{{{Surname4}}}{{<br />
#if: {{{Given4|}}}<br />
|{{{NameSep|,&#32;}}}{{{Given4}}}<br />
}}]]<br />
|{{{Surname4}}}{{<br />
#if: {{{Given4|}}}<br />
|{{{NameSep|,&#32;}}}{{{Given4}}}<br />
}}<br />
}}{{<br />
#if:{{{Surname5|}}}<br />
|{{#ifexpr:{{{Trunc|8}}}<5<br />
|&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}<br />
|{{<br />
#if: {{{Surname6|}}}<br />
|{{{AuthorSep|&#059;&#32;}}}<br />
|{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}<br />
}}{{<br />
#if: {{{Authorlink5|}}}<br />
|[[{{{Authorlink5}}} |{{{Surname5}}}{{<br />
#if: {{{Given5|}}}<br />
|{{{NameSep|,&#32;}}}{{{Given5}}}<br />
}}]]<br />
|{{{Surname5}}}{{<br />
#if: {{{Given5|}}}<br />
|{{{NameSep|,&#32;}}}{{{Given5}}}<br />
}}<br />
}}{{<br />
#if:{{{Surname6|}}}<br />
|{{#ifexpr:{{{Trunc|8}}}<6<br />
|&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}<br />
|{{<br />
#if: {{{Surname7|}}}<br />
|{{{AuthorSep|&#059;&#32;}}}<br />
|{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}<br />
}}{{<br />
#if: {{{Authorlink6|}}}<br />
|[[{{{Authorlink6}}} |{{{Surname6}}}{{<br />
#if: {{{Given6|}}}<br />
|{{{NameSep|,&#32;}}}{{{Given6}}}<br />
}}]]<br />
|{{{Surname6}}}{{<br />
#if: {{{Given6|}}}<br />
|{{{NameSep|,&#32;}}}{{{Given6}}}<br />
}}<br />
}}{{<br />
#if:{{{Surname7|}}}<br />
|{{#ifexpr:{{{Trunc|8}}}<7<br />
|&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}<br />
|{{<br />
#if: {{{Surname8|}}}<br />
|{{{AuthorSep|&#059;&#32;}}}<br />
|{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}<br />
}}{{<br />
#if: {{{Authorlink7|}}}<br />
|[[{{{Authorlink7}}} |{{{Surname7}}}{{<br />
#if: {{{Given7|}}}<br />
|{{{NameSep|,&#32;}}}{{{Given7}}}<br />
}}]]<br />
|{{{Surname7}}}{{<br />
#if: {{{Given7|}}}<br />
|{{{NameSep|,&#32;}}}{{{Given7}}}<br />
}}<br />
}}{{<br />
#if:{{{Surname8|}}}<br />
|{{#ifexpr:{{{Trunc|8}}}<8<br />
|&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}<br />
|{{<br />
#if: {{{Surname9|}}}<br />
|{{{AuthorSep|&#059;&#32;}}}<br />
|{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}<br />
}}{{<br />
#if: {{{Authorlink8|}}}<br />
|[[{{{Authorlink8}}} |{{{Surname8}}}{{<br />
#if: {{{Given8|}}}<br />
|{{{NameSep|,&#32;}}}{{{Given8}}}<br />
}}]]<br />
|{{{Surname8}}}{{<br />
#if: {{{Given8|}}}<br />
|{{{NameSep|,&#32;}}}{{{Given8}}}<br />
}}<br />
}}{{<br />
#if:{{{Surname9|}}}<br />
|&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}<br />
}}<br />
}}<br />
}}<br />
}}<br />
}}<br />
}}<br />
}}<br />
}}<br />
}}<br />
}}<br />
}}<br />
}}<br />
}}<br />
}}<br />
<br />
}}{{<br />
#if: {{{Coauthors|}}}<br />
|{{{AuthorSep|&#059;&#32;}}}{{{Coauthors|}}}|<br />
}}{{<br />
#if: {{{Date|}}}<br />
|&#32;({{{Date}}}){{<br />
#if:{{{YearNote|}}}<br />
|&#32;[{{{YearNote}}}]<br />
}}<br />
}}<br />
|{{<!-- ============== No author: display editors first == --><br />
#if: {{{EditorSurname1|}}}<br />
|{{<br />
#if: {{{Editorlink1|}}}<br />
|[[{{{Editorlink1}}} |{{{EditorSurname1}}}{{<br />
#if: {{{EditorGiven1|}}}<br />
|, {{{EditorGiven1}}}<br />
}}]]<br />
|{{{EditorSurname1}}}{{<br />
#if: {{{EditorGiven1|}}}<br />
|, {{{EditorGiven1}}}<br />
}}<br />
}}{{<br />
#if: {{{EditorSurname2|}}}<br />
|{{<br />
#if: {{{EditorSurname3|}}}<br />
|{{{AuthorSep|&#059;&#32;}}}<br />
|{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}<br />
}}{{<br />
#if: {{{Editorlink2|}}}<br />
|[[{{{Editorlink2}}} |{{{EditorSurname2}}}{{<br />
#if: {{{EditorGiven2|}}}<br />
|, {{{EditorGiven2}}}<br />
}}]]<br />
|{{{EditorSurname2}}}{{<br />
#if: {{{EditorGiven2|}}}<br />
|, {{{EditorGiven2}}}<br />
}}<br />
}}{{<br />
#if: {{{EditorSurname3|}}}<br />
|{{<br />
#if: {{{EditorSurname4|}}}<br />
|{{{AuthorSep|&#059;&#32;}}}<br />
|{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}<br />
}}{{<br />
#if: {{{Editorlink3|}}}<br />
|[[{{{Editorlink3}}} |{{{EditorSurname3}}}{{<br />
#if: {{{EditorGiven3|}}}<br />
|, {{{EditorGiven3}}}<br />
}}]]<br />
|{{{EditorSurname3}}}{{<br />
#if: {{{EditorGiven3|}}}<br />
|, {{{EditorGiven3}}}<br />
}}<br />
}}{{<br />
#if:{{{EditorSurname4|}}}<br />
|&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}<br />
}}<br />
}}<br />
}}, ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}{{<br />
#if: {{{Date|}}}<br />
|&#32;({{{Date}}}){{<br />
#if:{{{YearNote|}}}<br />
|&#32;[{{{YearNote}}}]<br />
}}<br />
}}<br />
}}<br />
}}{{<br />
<!--============ Title of included work ============--><br />
#if: {{{IncludedWorkTitle|}}}{{#if:{{{Periodical|}}}||{{#if:{{{TransItalic|}}}||{{{TransTitle|}}}}}}}<br />
|{{<br />
#if:{{{Surname1|}}}{{{EditorSurname1|}}}<br />
|{{{Sep|,}}}&#32;<br />
}}{{Citation/make link<br />
| 1={{<br />
#if: {{{IncludedWorkURL|}}}<br />
|{{{IncludedWorkURL}}}<br />
|{{<br />
#if: {{{URL|}}}<br />
|{{{URL}}}<br />
}}<br />
}}<br />
| 2={{<br />
#if: {{{Periodical|}}}<br />
|''<nowiki />{{{IncludedWorkTitle}}}<nowiki />''<br />
|"{{{IncludedWorkTitle|}}}{{<br />
#if: {{{TransTitle|}}}<br />
|{{<br />
#if: {{{IncludedWorkTitle|}}}<br />
|&#32;<br />
}}&#91;{{{TransTitle}}}&#93;<br />
}}"<br />
}}<br />
}}<br />
}}{{<br />
<!--============ Place (if different than PublicationPlace) ============--><br />
#if: {{{Place|}}}<br />
|{{<br />
#ifeq: {{{Place|}}} | {{{PublicationPlace|}}}<br />
|<br />
|{{<br />
#if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}<br />
|{{{Sep|,}}}&#32;written at {{{Place}}}<br />
}}<br />
}}<br />
}}{{<br />
<!--============ Editor of compilation ============--><br />
#if: {{{EditorSurname1|}}}<br />
|{{<br />
#if: {{{Surname1|}}}<br />
|{{{Sep|,}}}&#32;{{<br />
#if: {{{IncludedWorkTitle|}}}<br />
|{{#ifeq:{{{Sep|}}}|.|I|i}}n&#32;<br />
}}{{<br />
#if: {{{Editorlink1|}}}<br />
|[[{{{Editorlink1}}} |{{{EditorSurname1}}}{{<br />
#if: {{{EditorGiven1|}}}<br />
|, {{{EditorGiven1}}}<br />
}}]]<br />
|{{{EditorSurname1}}}{{<br />
#if: {{{EditorGiven1|}}}<br />
|, {{{EditorGiven1}}}<br />
}}}}{{<br />
#if: {{{EditorSurname2|}}}<br />
|{{<br />
#if: {{{EditorSurname3|}}}<br />
|{{{AuthorSep|&#059;&#32;}}}<br />
|{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}<br />
}}{{<br />
#if: {{{Editorlink2|}}}<br />
|[[{{{Editorlink2}}}|{{{EditorSurname2}}}{{<br />
#if: {{{EditorGiven2|}}}<br />
|, {{{EditorGiven2}}}<br />
}}]]<br />
|{{{EditorSurname2}}}{{<br />
#if: {{{EditorGiven2|}}}<br />
|, {{{EditorGiven2}}}<br />
}}<br />
}}{{<br />
#if: {{{EditorSurname3|}}}<br />
|{{<br />
#if: {{{EditorSurname4|}}}<br />
|&#059;&#32;<br />
|{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}<br />
}}{{<br />
#if: {{{Editorlink3|}}}<br />
|[[{{{Editorlink3}}}|{{{EditorSurname3}}}{{<br />
#if: {{{EditorGiven3|}}}<br />
|, {{{EditorGiven3}}}<br />
}}]]<br />
|{{{EditorSurname3}}}{{<br />
#if: {{{EditorGiven3|}}}<br />
|, {{{EditorGiven3}}}<br />
}}<br />
}}{{<br />
#if:{{{EditorSurname4|}}}<br />
|&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}<br />
}}<br />
}}<br />
}}{{<br />
#if: {{{IncludedWorkTitle|}}}<br />
|<br />
|{{{Sep|,}}}&#32;ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep}}}|.||.}}<br />
}}<br />
}}<br />
}}{{<br />
<!--============ Periodicals ============--><br />
#if: {{{Periodical|}}}<br />
|{{<br />
#if: {{{Other|}}}<br />
|{{{Sep|,}}}&#32;{{{Other|}}}<br />
}}{{<br />
#if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}<br />
|{{{Sep|,}}}&#32;}}{{<br />
#if: {{{Title|}}}{{{TransTitle|}}}<br />
|{{Citation/make link<br />
| 1={{<br />
#if: {{{IncludedWorkTitle|}}}<br />
|{{<br />
#if: {{{IncludedWorkURL|}}}<br />
|{{<br />
#if: {{{URL|}}}<br />
|{{{URL}}}<br />
}}<br />
}}<br />
|{{<br />
#if: {{{URL|}}}<br />
|{{{URL}}}<br />
}}<br />
}}<br />
| 2="{{{Title}}}{{<br />
#if: {{{TransTitle|}}}<br />
|{{<br />
#if: {{{Title|}}}<br />
|&#32;<br />
}}&#91;{{{TransTitle}}}&#93;<br />
}}"<br />
}}{{<br />
#if: {{{TitleNote|}}}<br />
|{{{Sep|,}}}&#32;{{{TitleNote}}}<br />
}}<br />
}}<br />
}}{{<br />
#if: {{{language|}}}<br />
|&#32;(in {{{language}}})<br />
}}{{<br />
#if: {{{format|}}}<br />
|&#32;({{{format}}})<br />
}}{{<br />
#if: {{{Periodical|}}}<br />
|{{<br />
#if:{{{IncludedWorkTitle|}}}{{{Title|}}}{{{TransTitle|}}}<br />
|{{{Sep|,}}}&#32;<br />
}}''<nowiki />{{{Periodical}}}<nowiki />''{{<br />
#if: {{{Series|}}}<br />
|{{{Sep|,}}}&#32;{{{Series}}}<br />
}}{{<br />
#if: {{{PublicationPlace|}}}<br />
|{{<br />
#if: {{{Publisher|}}}<br />
|&#32;({{{PublicationPlace}}}<nowiki>: </nowiki>{{{Publisher}}})<br />
|&#32;({{{PublicationPlace}}})<br />
}}<br />
|{{<br />
#if: {{{Publisher|}}}<br />
|&#32;({{{Publisher}}})<br />
}}<br />
}}{{<br />
#if: {{{Volume|}}}<br />
|&#32;{{#if:{{{Periodical|}}}|'''<nowiki />{{{Volume}}}<nowiki />'''|{{{Volume}}}}}{{<br />
#if: {{{Issue|}}}<br />
|&#32;({{{Issue}}})<br />
}}<br />
|{{<br />
#if: {{{Issue|}}}<br />
|&#32;({{{Issue}}})<br />
}}<br />
}}{{<br />
#if: {{{At|}}}<br />
|<nowiki>: </nowiki> {{{At}}}<br />
}}<br />
|{{<br />
<!--============ Anything else with a title, including books ============--><br />
#if: {{{Title|}}}{{{TransItalic|}}}<br />
|{{<br />
#if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}<br />
|{{{Sep|,}}}<br />
}}&#32;{{Citation/make link<br />
| 1={{<br />
#if: {{{IncludedWorkTitle|}}}<br />
|{{<br />
#if: {{{IncludedWorkURL|}}}<br />
|{{<br />
#if: {{{URL|}}}<br />
|{{{URL}}}<br />
}}<br />
}}<br />
|{{<br />
#if: {{{URL|}}}<br />
|{{{URL}}}<br />
}}<br />
}}<br />
| 2=''<nowiki />{{{Title|}}}{{<br />
#if:{{{TransItalic|}}}|&#32;&#91;{{{TransItalic}}}&#93;<br />
}}<nowiki />''<br />
}}<br />
}}{{<br />
#if: {{{TitleType|}}}<br />
|&#32;({{{TitleType}}})<br />
}}{{<br />
#if: {{{Series|}}}<br />
|{{{Sep|,}}}&#32;{{{Series}}}<br />
}}{{<br />
#if: {{{Volume|}}}<br />
|{{{Sep|,}}}&#32;'''<nowiki />{{{Volume}}}<nowiki />'''<br />
}}{{<br />
#if: {{{Other|}}}<br />
|{{{Sep|,}}}&#32;{{{Other|}}}<br />
}}{{<br />
#if: {{{Edition|}}}<br />
|&#32;({{{Edition}}} ed.)<br />
}}{{<br />
#if: {{{PublicationPlace|}}}<br />
|{{{Sep|,}}}&#32;{{{PublicationPlace}}}<br />
}}{{<br />
#if: {{{Publisher|}}}<br />
|{{<br />
#if: {{{PublicationPlace|}}}<br />
|<nowiki>:</nowiki><br />
|{{{Sep|,}}}<br />
}}&#32;{{{Publisher}}}<br />
}}<br />
}}{{<br />
<!--============ Date (if no author/editor) ============--><br />
#if: {{{Surname1|}}}{{{EditorSurname1|}}}<br />
|<br />
|{{<br />
#if: {{{Date|}}}<br />
|{{{Sep|,}}}&#32;{{{Date}}}{{<br />
#if:{{{YearNote|}}}<br />
|&#32;[{{{YearNote}}}]<br />
}}<br />
}}<br />
}}{{<br />
<!--============ Publication date ============--><br />
#if: {{{PublicationDate|}}}<br />
|{{<br />
#ifeq: {{{PublicationDate|}}} | {{{Date|}}}<br />
|<br />
|{{<br />
#if: {{{EditorSurname1|}}}<br />
|{{<br />
#if: {{{Surname1|}}}<br />
|{{{Sep|,}}}&#32;{{{PublicationDate}}}<br />
|&#32;(published {{{PublicationDate}}})<br />
}}<br />
|{{<br />
#if: {{{Periodical|}}}<br />
|{{{Sep|,}}}&#32;{{{PublicationDate}}}<br />
|&#32;(published {{{PublicationDate}}})<br />
}}<br />
}}<br />
}}<br />
}}{{<br />
<!--============ Page within included work ============--><br />
#if: {{{Periodical|}}}<br />
|<br />
|{{<br />
#if: {{{At|}}}<br />
|{{{Sep|,}}}&#32;{{{At}}}<br />
}}<br />
}}{{<br />
<!--============ arXiv ==============--><br />
#if: {{{ARXIV|}}}<br />
|{{{Sep|,}}}&#32;{{citation/identifier |identifier=arxiv |input1={{{ARXIV|}}} }}<br />
}}{{<br />
<!--============ ASIN ===============--><br />
#if: {{{ASIN|}}}<br />
|{{{Sep|,}}}&#32;{{citation/identifier |identifier=asin |input1={{{ASIN|}}} |input2={{{ASIN-TLD|}}} }}<br />
}}{{<br />
<!--============ BIBCODE ============--><br />
#if: {{{BIBCODE|}}}<br />
|{{{Sep|,}}}&#32;{{citation/identifier |identifier=bibcode |input1={{{BIBCODE|}}} }}<br />
}}{{<br />
<!--============ DOI ================--><br />
#if:{{{DOI|}}}<br />
|{{{Sep|,}}}&#32;{{citation/identifier |identifier=doi |input1={{{DOI|}}} |input2={{{DoiBroken|}}} |input3={{{template doc demo|}}}}}<br />
}}{{<br />
<!--============ ISBN ===============--><br />
#if: {{{ISBN|}}}<br />
|{{{Sep|,}}}&#32;{{citation/identifier |identifier=isbn |input1={{{ISBN|}}} }}<br />
}}{{<br />
<!--============ ISSN ===============--><br />
#if: {{{ISSN|}}}<br />
|{{{Sep|,}}}&#32;{{citation/identifier |identifier=issn |input1={{{ISSN|}}} }}<br />
}}{{<br />
<!--============ JFM ================--><br />
#if: {{{JFM|}}}<br />
|{{{Sep|,}}}&#32;{{citation/identifier |identifier=jfm |input1={{{JFM|}}} }}<br />
}}{{<br />
<!--============ JSTOR ==============--><br />
#if: {{{JSTOR|}}}<br />
|{{{Sep|,}}}&#32;{{citation/identifier |identifier=jstor |input1={{{JSTOR|}}} }}<br />
}}{{<br />
<!--============ LCCN ===============--><br />
#if: {{{LCCN|}}}<br />
|{{{Sep|,}}}&#32;{{citation/identifier |identifier=lccn |input1={{{LCCN|}}} }}<br />
}}{{<br />
<!--============ MR =================--><br />
#if: {{{MR|}}}<br />
|{{{Sep|,}}}&#32;{{citation/identifier |identifier=mr |input1={{{MR|}}} }}<br />
}}{{<br />
<!--============ OCLC ===============--><br />
#if: {{{OCLC|}}}<br />
|{{{Sep|,}}}&#32;{{citation/identifier |identifier=oclc |input1={{{OCLC|}}} }}<br />
}}{{<br />
<!--============ OL =================--><br />
#if: {{{OL|}}}<br />
|{{{Sep|,}}}&#32;{{citation/identifier |identifier=ol |input1={{{OL|}}} }}<br />
}}{{<br />
<!--============ OSTI ===============--><br />
#if: {{{OSTI|}}}<br />
|{{{Sep|,}}}&#32;{{citation/identifier |identifier=osti |input1={{{OSTI|}}} }}<br />
}}{{<br />
<!--============ PMC ================--><br />
#if: {{{PMC|}}}<br />
|{{{Sep|,}}}&#32;{{citation/identifier |identifier=pmc |input1={{{PMC|}}} }}<br />
}}{{<br />
<!--============ PMID ===============--><br />
#if: {{{PMID|}}}<br />
|{{{Sep|,}}}&#32;{{citation/identifier |identifier=pmid |input1={{{PMID|}}} }}<br />
}}{{<br />
<!--============ RFC ================--><br />
#if: {{{RFC|}}}<br />
|{{{Sep|,}}}&#32;{{citation/identifier |identifier=rfc|input1={{{RFC|}}} }}<br />
}}{{<br />
<!--============ SSRN ================--><br />
#if: {{{SSRN|}}}<br />
|{{{Sep|,}}}&#32;{{citation/identifier |identifier=ssrn |input1={{{SSRN|}}} }}<br />
}}{{<br />
<!--============ ZBL ================--><br />
#if: {{{ZBL|}}}<br />
|{{{Sep|,}}}&#32;{{citation/identifier |identifier=zbl |input1={{{ZBL|}}} }}<br />
}}{{<br />
<!--============ Misc. Identifier ============--><br />
#if: {{{ID|}}}<br />
|{{{Sep|,}}}&#32;{{{ID}}}<br />
}}{{<br />
<!--============ Archive data, etc ===========--><br />
#if: {{{Archive|}}}<br />
|{{{Sep|,}}}&#32;{{{Archive}}}[[Category:Pages using deprecated citation archive parameters]]<br />
|{{<br />
#if:{{{ArchiveURL|}}}{{{ArchiveDate|}}}<br />
| {{{Sep|,}}}&#32;{{#ifeq: {{{DeadURL|}}} | no<br />
| {{#if:{{{ArchiveURL|}}}<br />
|{{Citation/make link|{{{ArchiveURL|}}}|{{#ifeq:{{{Sep}}}|.|A|a}}rchived}}&#32;from the original<br />
|{{#ifeq:{{{Sep}}}|.|A|a}}rchived<br />
}}<br />
| {{#ifeq:{{{Sep}}}|.|A|a}}rchived{{#if:{{{OriginalURL|}}}{{{IncludedWorkURL|}}}<br />
|{{#if:{{{ArchiveURL|}}}|&#32;from {{Citation/make link|{{{OriginalURL|{{{IncludedWorkURL|}}}}}}|the original}}}}<br />
}}<br />
}}{{#if:{{{ArchiveDate|}}}|&#32;on {{{ArchiveDate}}}}}{{<br />
#if:{{#if:{{{ArchiveURL|}}}||A}}{{#if:{{{OriginalURL|}}}{{{IncludedWorkURL|}}}||B}}{{#if:{{{ArchiveDate|}}}||C}}<br />
|. {{citation error|nocat={{{template doc demo|}}}<br />
|If you specify <code>&#124;{{#if:{{{ArchiveURL|}}}|archiveurl|archivedate}}&#61;</code>{{#ifeq:{{{DeadURL|}}}|no|{{#if:{{{OriginalURL|}}}{{{IncludedWorkURL|}}}||&#32;and <code>&#124;deadurl&#61;no</code>}}}}, you must {{#if:{{{OriginalURL|}}}{{{IncludedWorkURL|}}}| also specify <code>&#124;{{#if:{{{ArchiveURL|}}}|archivedate|archiveurl}}&#61;</code>| {{#ifeq:{{{DeadURL|}}}|no|also|first}} specify <code>&#124;url&#61;</code>}}}}<br />
}}<br />
}}<br />
}}{{<br />
<!--============ URL and AccessDate ============--><br />
#if: {{{URL|}}}{{{IncludedWorkURL|}}}{{#ifeq:{{{DeadURL|}}}|no|{{{ArchiveURL|}}}|}}<br />
|{{<br />
#if: {{{Title|}}}{{{IncludedWorkTitle|}}}{{{TransTitle|}}}<br />
|<span class="printonly">{{{Sep|,}}}&#32;{{<br />
#if: {{{IncludedWorkURL|}}}<br />
|{{{IncludedWorkURL}}}<br />
|{{{URL}}}<br />
}}</span><br />
|{{{Sep|,}}}&#32;{{<br />
#if: {{{IncludedWorkURL|}}}<br />
|{{{IncludedWorkURL}}}<br />
|{{{URL}}}<br />
}}<br />
}}{{<br />
#if: {{{AccessDate|}}}<br />
| <span class="reference-accessdate">{{#ifeq:{{{Sep|}}}|,|,&#32;r|.&#32;R}}etrieved {{{AccessDate}}}</span><br />
}}<br />
}}{{#if:{{{laysummary|}}}<br />
|{{{Sep|,}}}&#32;[{{{laysummary}}} Lay summary]{{#if: {{{laysource|}}}|&nbsp;&ndash;&nbsp;''<nowiki />{{{laysource}}}<nowiki />''}}<br />
}}{{#if:{{{laydate|}}}<br />
| &#32;({{{laydate}}})<br />
}}{{#if:{{{quote|}}}<br />
|{{{Sep|,}}}&#32;"{{{quote}}}"<br />
}}{{{PS|}}}</span><!--<br />
<br />
=== This is a COinS tag (http://ocoins.info), which allows automated tools to parse the citation information: ===<br />
<br />
--><span<br />
class="Z3988"<br />
title="ctx_ver=Z39.88-2004&rft_val_fmt={{urlencode:info:ofi/fmt:kev:mtx:}}{{<br />
#if: {{{Periodical|}}}<br />
|journal&rft.genre=article&rft.atitle={{urlencode:{{{Title|}}}}}&rft.jtitle={{urlencode:{{{Periodical|}}}}}<br />
|book{{<br />
#if: {{{IncludedWorkTitle|}}}<br />
|&rft.genre=bookitem&rft.btitle={{urlencode:{{{IncludedWorkTitle|}}}}}&rft.atitle={{urlencode:{{{Title|}}}}}<br />
|&rft.genre=book&rft.btitle={{urlencode:{{{Title|}}}}}<br />
}}<br />
}}{{<br />
#if: {{{Surname1|}}} |&rft.aulast={{urlencode:{{{Surname1}}}}}{{<br />
#if: {{{Given1|}}} |&rft.aufirst={{urlencode:{{{Given1}}}}}<br />
}}<br />
}}{{<br />
#if: {{{Surname1|}}} |&rft.au={{urlencode:{{{Surname1}}}}}{{<br />
#if: {{{Given1|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given1}}}}}<br />
}}<br />
}}{{<br />
#if: {{{Surname2|}}} |&rft.au={{urlencode:{{{Surname2}}}}}{{<br />
#if: {{{Given2|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given2}}}}}<br />
}}<br />
}}{{<br />
#if: {{{Surname3|}}} |&rft.au={{urlencode:{{{Surname3}}}}}{{<br />
#if: {{{Given3|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given3}}}}}<br />
}}<br />
}}{{<br />
#if: {{{Surname4|}}} |&rft.au={{urlencode:{{{Surname4}}}}}{{<br />
#if: {{{Given4|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given4}}}}}<br />
}}<br />
}}{{<br />
#if: {{{Surname5|}}} |&rft.au={{urlencode:{{{Surname5}}}}}{{<br />
#if: {{{Given5|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given5}}}}}<br />
}}<br />
}}{{<br />
#if: {{{Surname6|}}} |&rft.au={{urlencode:{{{Surname6}}}}}{{<br />
#if: {{{Given6|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given6}}}}}<br />
}}<br />
}}{{<br />
#if: {{{Surname7|}}} |&rft.au={{urlencode:{{{Surname7}}}}}{{<br />
#if: {{{Given7|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given7}}}}}<br />
}}<br />
}}{{<br />
#if: {{{Surname8|}}} |&rft.au={{urlencode:{{{Surname8}}}}}{{<br />
#if: {{{Given8|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given8}}}}}<br />
}}<br />
}}{{<br />
#if: {{{Surname9|}}} |&rft.au={{urlencode:{{{Surname9}}}}}{{<br />
#if: {{{Given9|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given9}}}}}<br />
}}<br />
}}{{<br />
#if: {{{Date|}}} |&rft.date={{urlencode:{{{Date}}}}}<br />
}}{{<br />
#if: {{{Series|}}} |&rft.series={{urlencode:{{{Series}}}}}<br />
}}{{<br />
#if: {{{Volume|}}} |&rft.volume={{urlencode:{{{Volume}}}}}<br />
}}{{<br />
#if: {{{Issue|}}} |&rft.issue={{urlencode:{{{Issue}}}}}<br />
}}{{<br />
#if: {{{At|}}} |&rft.pages={{urlencode:{{{At}}}}}<br />
}}{{<br />
#if: {{{Edition|}}} |&rft.edition={{urlencode:{{{Edition}}}}}<br />
}}{{<br />
#if: {{{PublicationPlace|}}}{{{Place|}}} |&rft.place={{urlencode:{{{PublicationPlace|{{{Place}}}}}}}}<br />
}}{{<br />
#if: {{{Publisher|}}} |&rft.pub={{urlencode:{{{Publisher}}}}}<br />
}}{{<br />
#if: {{{ARXIV|}}} |&rft_id=info:arxiv/{{urlencode:{{{ARXIV}}}}}<br />
}}{{<br />
#if: {{{ASIN|}}} |&rft_id=info:asin/{{urlencode:{{{ASIN}}}}}<br />
}}{{<br />
#if: {{{BIBCODE|}}} |&rft_id=info:bibcode/{{urlencode:{{{BIBCODE}}}}}<br />
}}{{<br />
#if: {{{DOI|}}} |&rft_id=info:doi/{{urlencode:{{{DOI}}}}}<br />
}}{{<br />
#if: {{{ISBN|}}} |&rft.isbn={{urlencode:{{{ISBN}}}}}<br />
}}{{<br />
#if: {{{ISSN|}}} |&rft.issn={{urlencode:{{{ISSN}}}}}<br />
}}{{<br />
#if: {{{JFM|}}} |&rft.jfm={{urlencode:{{{JFM}}}}}<br />
}}{{<br />
#if: {{{JSTOR|}}} |&rft.jstor={{urlencode:{{{JSTOR}}}}}<br />
}}{{<br />
#if: {{{LCCN|}}} |&rft.lccn={{urlencode:{{{LCCN}}}}}<br />
}}{{<br />
#if: {{{OCLC|}}} |&rft_id=info:oclcnum/{{urlencode:{{{OCLC}}}}}<br />
}}{{<br />
#if: {{{OL|}}} |&rft_id=info:olnum/{{urlencode:{{{OL}}}}}<br />
}}{{<br />
#if: {{{OSTI|}}} |&rft_id=info:osti/{{urlencode:{{{OSTI}}}}}<br />
}}{{<br />
#if: {{{MR|}}} |&rft.mr={{urlencode:{{{MR}}}}}<br />
}}{{<br />
#if: {{{PMC|}}} |&rft_id=info:pmc/{{urlencode:{{{PMC}}}}}<br />
}}{{<br />
#if: {{{PMID|}}} |&rft_id=info:pmid/{{urlencode:{{{PMID}}}}}<br />
}}{{<br />
#if: {{{RFC|}}} |&rft_id=info:rfc/{{urlencode:{{{RFC}}}}}<br />
}}{{<br />
#if: {{{SSRN|}}} |&rft_id=info:ssrn/{{urlencode:{{{SSRN}}}}}<br />
}}{{<br />
#if: {{{ZBL|}}} |&rft_id=info:zbl/{{urlencode:{{{ZBL}}}}}<br />
}}{{<br />
#if: {{{URL|}}}{{{IncludedWorkURL|}}} |&rft_id={{urlencode:{{{URL|{{{IncludedWorkURL|}}}}}}}}<br />
}}&rfr_id=info:sid/en.wikipedia.org:{{FULLPAGENAMEE}}"><span style="display: none;">&nbsp;</span></span><noinclude><br />
{{Documentation}}<br />
</noinclude></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:)))/doc&diff=22751Template:)))/doc2012-11-01T04:18:04Z<p>Mitch Gore: Created page with "{{Documentation subpage}} <!-- Categories and interwikis go at the bottom of this page. --> {{Auxiliary template common notice}} <includeonly> <!---CATEGORIES HERE---> <!-..."</p>
<hr />
<div>{{Documentation subpage}}<br />
<!-- Categories and interwikis go at the bottom of this page. --><br />
<br />
{{Auxiliary template common notice}}<br />
<br />
<includeonly><br />
<!---CATEGORIES HERE---><br />
<br />
<br />
<!---INTERWIKIS HERE---><br />
<br />
</includeonly></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:)))&diff=22750Template:)))2012-11-01T04:17:46Z<p>Mitch Gore: Created page with "{{#if:{{{1|}}}|{{:{{FULLPAGENAME}}/{{{1}}}}}}}<noinclude> {{Documentation}} </noinclude>"</p>
<hr />
<div>{{#if:{{{1|}}}|{{:{{FULLPAGENAME}}/{{{1}}}}}}}<noinclude><br />
{{Documentation}}<br />
</noinclude></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:(((/doc&diff=22749Template:(((/doc2012-11-01T04:17:21Z<p>Mitch Gore: Created page with "{{Documentation subpage}} <!-- Categories and interwikis go at the bottom of this page. --> {{Auxiliary template common notice}} <includeonly> <!---CATEGORIES HERE---> <!-..."</p>
<hr />
<div>{{Documentation subpage}}<br />
<!-- Categories and interwikis go at the bottom of this page. --><br />
<br />
{{Auxiliary template common notice}}<br />
<br />
<includeonly><br />
<!---CATEGORIES HERE---><br />
<br />
<br />
<!---INTERWIKIS HERE---><br />
<br />
</includeonly></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:(((&diff=22748Template:(((2012-11-01T04:16:53Z<p>Mitch Gore: Created page with "{{{<noinclude> {{documentation}} </noinclude>"</p>
<hr />
<div>{{{<noinclude><br />
{{documentation}}<br />
</noinclude></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:)/doc&diff=22747Template:)/doc2012-11-01T04:16:22Z<p>Mitch Gore: Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES TO THE TRANSCLUDED DOCUMENTATION IMMEDIATELY BELOW AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{Auxiliary template comm..."</p>
<hr />
<div>{{Documentation subpage}}<br />
<!-- PLEASE ADD CATEGORIES TO THE TRANSCLUDED DOCUMENTATION IMMEDIATELY BELOW AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --><br />
{{Auxiliary template common notice}}<br />
<includeonly><br />
<!---CATEGORIES HERE---><br />
<br />
<br />
<!---INTERWIKIS HERE---><br />
<br />
</includeonly></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:)&diff=22746Template:)2012-11-01T04:16:05Z<p>Mitch Gore: Created page with "}<noinclude> {{documentation}} </noinclude>"</p>
<hr />
<div>}<noinclude><br />
{{documentation}}<br />
</noinclude></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:(/doc&diff=22745Template:(/doc2012-11-01T04:15:42Z<p>Mitch Gore: Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES TO THE TRANSCLUDED DOCUMENTATION IMMEDIATELY BELOW AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{Auxiliary template comm..."</p>
<hr />
<div>{{Documentation subpage}}<br />
<!-- PLEASE ADD CATEGORIES TO THE TRANSCLUDED DOCUMENTATION IMMEDIATELY BELOW AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --><br />
{{Auxiliary template common notice}}<br />
<includeonly><br />
<!---CATEGORIES HERE---><br />
<br />
<br />
<!---INTERWIKIS HERE---><br />
<br />
</noinclude></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:(&diff=22744Template:(2012-11-01T04:15:27Z<p>Mitch Gore: Created page with "{<noinclude> {{documentation}} </noinclude>"</p>
<hr />
<div>{<noinclude><br />
{{documentation}}<br />
</noinclude></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:))!/doc&diff=22743Template:))!/doc2012-11-01T04:15:00Z<p>Mitch Gore: Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES TO THE TRANSCLUDED DOCUMENTATION IMMEDIATELY BELOW AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{Auxiliary template comm..."</p>
<hr />
<div>{{Documentation subpage}}<br />
<!-- PLEASE ADD CATEGORIES TO THE TRANSCLUDED DOCUMENTATION IMMEDIATELY BELOW AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --><br />
{{Auxiliary template common notice}}<br />
<includeonly><br />
<!---CATEGORIES HERE---><br />
<br />
<br />
<!---INTERWIKIS HERE---><br />
<br />
</includeonly></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:))!&diff=22742Template:))!2012-11-01T04:14:48Z<p>Mitch Gore: Created page with "]]<noinclude>{{documentation}}</noinclude>"</p>
<hr />
<div>]]<noinclude>{{documentation}}</noinclude></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:!((/doc&diff=22741Template:!((/doc2012-11-01T04:14:32Z<p>Mitch Gore: Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES TO THE TRANSCLUDED DOCUMENTATION IMMEDIATELY BELOW AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{Auxiliary template comm..."</p>
<hr />
<div>{{Documentation subpage}}<br />
<!-- PLEASE ADD CATEGORIES TO THE TRANSCLUDED DOCUMENTATION IMMEDIATELY BELOW AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --><br />
{{Auxiliary template common notice}}<br />
<includeonly><br />
<!---CATEGORIES HERE---><br />
<br />
<br />
<!---INTERWIKIS HERE---><br />
<br />
</includeonly></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:!((&diff=22740Template:!((2012-11-01T04:14:18Z<p>Mitch Gore: Created page with "[[<noinclude>{{documentation}}</noinclude>"</p>
<hr />
<div>[[<noinclude>{{documentation}}</noinclude></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:))/doc&diff=22739Template:))/doc2012-11-01T04:13:58Z<p>Mitch Gore: Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES TO THE TRANSCLUDED DOCUMENTATION IMMEDIATELY BELOW AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{Auxiliary template comm..."</p>
<hr />
<div>{{Documentation subpage}}<br />
<!-- PLEASE ADD CATEGORIES TO THE TRANSCLUDED DOCUMENTATION IMMEDIATELY BELOW AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --><br />
{{Auxiliary template common notice}}<br />
<includeonly><br />
<!---CATEGORIES HERE---><br />
<br />
<br />
<!---INTERWIKIS HERE---><br />
<br />
<br />
</includeonly></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:))&diff=22738Template:))2012-11-01T04:13:25Z<p>Mitch Gore: Created page with "}}<noinclude> {{documentation}} </noinclude>"</p>
<hr />
<div>}}<noinclude><br />
{{documentation}}<br />
</noinclude></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:((/doc&diff=22737Template:((/doc2012-11-01T04:12:56Z<p>Mitch Gore: Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES TO THE TRANSCLUDED DOCUMENTATION IMMEDIATELY BELOW AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{Auxiliary template comm..."</p>
<hr />
<div>{{Documentation subpage}}<br />
<!-- PLEASE ADD CATEGORIES TO THE TRANSCLUDED DOCUMENTATION IMMEDIATELY BELOW AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --><br />
{{Auxiliary template common notice}}<br />
<includeonly><br />
<!---CATEGORIES HERE---><br />
<br />
<br />
<!---INTERWIKIS HERE---><br />
<br />
<br />
</noinclude></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:((&diff=22736Template:((2012-11-01T04:12:39Z<p>Mitch Gore: Created page with "{{<noinclude> {{documentation}} </noinclude>"</p>
<hr />
<div>{{<noinclude><br />
{{documentation}}<br />
</noinclude></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:Tlc/doc&diff=22735Template:Tlc/doc2012-11-01T04:12:07Z<p>Mitch Gore: Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This is the '''{{tlc|tlc}}''' template. This page also provides the full d..."</p>
<hr />
<div>{{Documentation subpage}}<br />
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --><br />
<br />
This is the '''{{tlc|tlc}}''' template.<br />
<br />
This page also provides the full documentation for the templates '''{{tlx|tld}}''' and '''{{tlx|tlf}}''', which work almost exactly identically.<br />
<br />
== Purpose and naming ==<br />
<br />
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using <code>&lt;nowiki&gt;&lt;/nowiki&gt;</code> tags you can write it more simply and concisely by using the {{tlc|tlc}}, {{tlc|tld}}, or {{tlc|tlf}} templates.<br />
<br />
These templates work similarly to {{tlc|tl}} and {{tlc|tlx}}, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use {{tlx|tl}} or {{tlx|tlx}}, and then use {{tlc|tlc}}, {{tlc|tld}} or {{tlc|tlf}} thereafter.<br />
<br />
{| class="wikitable"<br />
|-<br />
! Template<br />
! style="width:15em;"|[[Wikt:mnemonic|Mnemonic]]<br />
! Format differentiation<br />
|-<br />
| {{tlc|tlc}}<br />
| '''T'''emplate '''l'''ink '''c'''ode<br />
| Uses the <code><nowiki><code>...</code></nowiki></code> tags meant for showing programming code.<br />
|-<br />
| {{tlc|tld}}<br />
| '''T'''emplate '''l'''ink '''d'''ialup-host<br />
| Uses the <code><nowiki><tt>...</tt></nowiki></code> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx|tlx}}.<br />
|-<br />
| {{tlc|tlf}}<br />
| '''T'''emplate '''l'''ink '''f'''ormat-normal<br />
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlx|tlp}}.<br />
|}<br />
<br />
The three names were based on {{tlx|tl}} '''t'''emplate '''l'''ink', despite the fact that, unlike the actual {{tlc|tl}} template, these three don't include an actual link. The mnemonics for {{tlc|tld}} and {{tlc|tlf}} were invented after the fact, since the template creator used the single letters still available rather than the preferred {{tlc|tlt}} (using <nowiki><tt></nowiki>) and {{tlc|tln}} (using "normal", non-coded text style) monikers.<br />
<br />
===Basic operation===<br />
<br />
Here is how these templates look. Code is to the left; actual rendering to the right:<br />
<br />
:{{tlc|tlc|name|parameters}} = {{tlc|name|parameters}}<br />
:{{tlc|tld|name|parameters}} = {{tld|name|parameters}}<br />
:{{tlc|tlf|name|parameters}} = {{tlf|name|parameters}}<br />
<br />
===Use with editprotected templates===<br />
<br />
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. However, editors may be pointed here when attempting to deal with edit requests on pages which have been [[Wikipedia:Protection policy|protected]] in some way.<br />
<br />
Pages which have been protected can't be edited by every user, but would-be editors can request specific changes on the corresponding [[WP:Talk page|Discussion page]]. An editor requesting a change to a semi-protected page, for example, would add the {{tl|editsemiprotected}} template, followed by their request, to the Talk page. The {{tlc|editsemiprotected}} template expands to a texty notice which includes the instruction "Replace the {{tlc|editsemiprotected}} template with {{tlc|tlf|editsemiprotected}} when the request has been accepted or rejected." An empowered editor acting on the request would then change the template per this instruction.<br />
<br />
The desired effect is to replace the {{tlc|editsemiprotected}} template (with its big, eye-catching box of information) by the ''name'' of the template, merely showing that the template had been there, and acted upon. The use of the {{tlc|tlf}} template means that the template should appear in a normal, proportional font-face, as in "{{tlf|editsemiprotected}}".<br />
<br />
==Documentation==<br />
<br />
===Functional details===<br />
<br />
* This template takes another ''template-name'' and some associated [[Help:Pipe trick|pipe-tricked]] [[m:Parameter#Parameters|(numbered) parameters]] (or 'pass parameters'), and displays them as an 'example demonstration' of how the ''template-name'' template could be coded, literally. Its primary use is in instruction and documentation.<br />
*Specifics here??? <!-- Coding details, other parameters (SUBST?), other notes? Cf. [[Template:Tlx]]. --><br />
*Features of {{tlc|tlc}}, {{tlc|tld}} and {{tlc|tlf}}:<br />
** They show a template name and up to eight parameters.<br />
** They also show empty parameters. (See examples hereafter.)<br />
** They prevent [[line wrap]]s in their output.<br />
<br />
===Usage===<br />
<br />
{{tlc|Tlc|Template|first_parameter|second|third|fourth|...|eighth}} → {{Tlc|Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}<br />
<br />
{{tlc|Tld|Template|first_parameter|second|third|fourth|...|eighth}} → {{Tld|Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}<br />
<br />
{{tlc|Tlf|Template|first_parameter|second|third|fourth|...|eighth}} → {{Tlf|Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}<br />
<br />
=== Examples ===<br />
<br />
Note: Wikitables make the <code>&lt;code&gt;&lt;/code&gt;</code> tags transparent, unfortunately, so the "<code>code colouring</code>" is missing in these examples. <br />
<br />
<table class="wikitable"><br />
<tr><th>Code<th>Result<th>Comment<br />
<tr><td>{{tlc|tlc}} <td>{{tlc}} <td>Shows its own syntax.<br />
<tr><td>{{tlc|tlc|name}} <td>{{tlc|name}} <td><br />
<tr><td>{{tlc|tlc|name|one}} <td>{{tlc|name|one}} <td><br />
<tr><td>{{tlc|tlc|name|one|two}} <td>{{tlc|name|one|two}} <td><br />
<tr><td><code><nowiki>{{tlc|name|a|b|c|d|e|f|g|h|i|j}}</nowiki></code> <td>{{tlc|name|a|b|c|d|e|f|g|h|i}} <td>Shows up to eight parameters. The rest are dropped.<br />
<tr><td>{{tlc|tlc|name|||three|four}} <td>{{tlc|name|||three|four}} <td>Also shows empty parameters.<br />
<tr><td>{{tlc|tlc|name|||three||}} <td>{{tlc|name|||three||}} <td>Even shows empty parameters that come in the end.<br />
<br />
<tr><td>{{tlc|tlc|name|one{{=}}a|two{{=}}b}} <td>{{tlc|name|one=a|two=b}} <td>The use of equal signs is a problem, but there is a fix; see next row.<br />
<tr><td>{{tlc|tlc|name|one{{((}}{{=}}{{))}}a|two{{((}}{{=}}{{))}}b}} <td>{{tlc|name|one{{=}}a|two{{=}}b}} <td>Use <code><nowiki>{{=}}</nowiki></code> in place of an equal sign, so that it gets rendered properly.<br />
<br />
<tr><td>{{tlc|tlc|name|{{tlf|IPA|/tʃ/}}|two}} <td>{{tlc|tlc|name|{{IPA|/tʃ/}}|two}} <td>Nested template calls also cause problems ...<br />
<tr><td><code><nowiki>{{tlc|name|{{tlf|IPA|/tʃ/}}|two}}</nowiki></code> <td>{{tlc|tlc|name|{{tlf|IPA|/tʃ/}}|two}} <td>... but there are ways to get around this issue, also.<br />
<tr><td><code><nowiki>{{tlc|name|{{((}}IPA{{!}}/tʃ/{{))}}|two}}</nowiki></code> <td>{{tlc|tlc|name|{{tlf|IPA|/tʃ/}}|two}} <td>... another way to do the same thing, using <code><nowiki>{{((}}</nowiki></code>, <code><nowiki>{{!}}</nowiki></code> and <code><nowiki>{{))}}</nowiki></code> to insert literal <code><nowiki>{{</nowiki></code>, <code><nowiki>|</nowiki></code> and <code><nowiki>}}</nowiki></code>, respectively.<br />
</table><br />
<br />
An alternative to using constructs such as <code><nowiki>{{=}}</nowiki></code> and <code><nowiki>{{tlf|...}}</nowiki></code> to prevent characters from getting interpreted syntactically is to use <code><nowiki><code>&lt;nowiki>...&lt;/nowiki></code></nowiki></code>, which will prevent '''all''' characters from being interpreted. For example, in place of<br />
<code><nowiki>{{tlc|name|one{{=}}{{tlf|IPA|/tʃ/}}|two}}</nowiki></code><br />
you can use<br />
<code><nowiki><code>&lt;nowiki>{{name|one={{IPA|/tʃ/}}|two}}&lt;/nowiki></code></nowiki></code><br />
Both render as<br />
<code><nowiki>{{name|one={{IPA|/tʃ/}}|two}}</nowiki></code><br />
<br />
If a vertical display with parameters on their own lines is desired, this can also be laid out manually in this manner, or more rapidly done with <code><nowiki><pre>...</pre></nowiki></code>.<br />
<br />
Here are the codes to emulate {{tlc|tlf}}, {{tlc|tld}} and {{tlc|tlc}} using <code>&lt;nowiki&gt;</code>:<br />
<br />
{|<br />
! Using templates: !! Using <code>&lt;nowiki&gt;</code>: !! Rendered result: <br />
|-<br />
|style="padding-right: 50px;"| <code><nowiki>{{tlf|name|one{{=}}a|two{{=}}b}}</nowiki></code><br />
|style="padding-right: 50px;"| <code><nowiki>&lt;nowiki&gt;{{name|one=a|two=b}}&lt;/nowiki&gt;</nowiki></code><br />
|<nowiki>{{name|one=a|two=b}}</nowiki><br />
|-<br />
|style="padding-right: 50px;"| <code><nowiki>{{tld|name|one{{=}}a|two{{=}}b}}</nowiki></code><br />
|style="padding-right: 50px;"| <code><nowiki>&lt;tt&gt;&lt;nowiki&gt;{{name|one=a|two=b}}&lt;/nowiki&gt;&lt;/tt&gt;</nowiki></code><br />
|<tt><nowiki>{{name|one=a|two=b}}</nowiki></tt><br />
|-<br />
|style="padding-right: 50px;"| <code><nowiki>{{tlc|name|one{{=}}a|two{{=}}b}}</nowiki></code><br />
|style="padding-right: 50px;"| <code><nowiki>&lt;code&gt;&lt;nowiki&gt;{{name|one=a|two=b}}&lt;/nowiki&gt;&lt;/code&gt;</nowiki></code><br />
|<code><nowiki>{{name|one=a|two=b}}</nowiki></code><br />
|}<br />
<br />
=== See also ===<br />
{{Tl-nav}}<br />
<br />
<includeonly><br />
<!---CATEGORIES HERE---><br />
<br />
[[Category:Typing-aid templates|{{PAGENAME}}]]<br />
[[Category:Internal link templates|{{PAGENAME}}]]<br />
<br />
<!---INTERWIKIS HERE---><br />
<br />
<br />
</includeonly></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:Tlc&diff=22734Template:Tlc2012-11-01T04:11:43Z<p>Mitch Gore: Created page with "<span style="white-space:nowrap;"><code>&#123;&#123;{{#if:{{{1|}}}|{{{1}}}| tlc&#124;...}}<!-- -->{{#ifeq:{{{2|x}}}|{{{2|}}}| &#124;{{{2}}} | }}<!-- -->{{#ifeq:{{{3|x}}}|{{{3|..."</p>
<hr />
<div><span style="white-space:nowrap;"><code>&#123;&#123;{{#if:{{{1|}}}|{{{1}}}| tlc&#124;...}}<!--<br />
-->{{#ifeq:{{{2|x}}}|{{{2|}}}| &#124;{{{2}}} | }}<!--<br />
-->{{#ifeq:{{{3|x}}}|{{{3|}}}| &#124;{{{3}}} | }}<!--<br />
-->{{#ifeq:{{{4|x}}}|{{{4|}}}| &#124;{{{4}}} | }}<!--<br />
-->{{#ifeq:{{{5|x}}}|{{{5|}}}| &#124;{{{5}}} | }}<!--<br />
-->{{#ifeq:{{{6|x}}}|{{{6|}}}| &#124;{{{6}}} | }}<!--<br />
-->{{#ifeq:{{{7|x}}}|{{{7|}}}| &#124;{{{7}}} | }}<!--<br />
-->{{#ifeq:{{{8|x}}}|{{{8|}}}| &#124;{{{8}}} | }}<!--<br />
-->{{#ifeq:{{{9|x}}}|{{{9|}}}| &#124;{{{9}}} | }}<!--<br />
-->&#125;&#125;</code></span><noinclude><br />
<br />
{{documentation}}<br />
<!-- Add categories and interwikis to the /doc subpage, not here! --><br />
</noinclude></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:Tlp/doc&diff=22733Template:Tlp/doc2012-11-01T04:11:19Z<p>Mitch Gore: Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{high-use| 30,000+ }} This is the {{Tl|Tlp}} or '''template link with para..."</p>
<hr />
<div>{{Documentation subpage}}<br />
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --><br />
{{high-use| 30,000+ }}<br />
<br />
This is the {{Tl|Tlp}} or '''template link with parameters''' template.<br />
<br />
It can be used in documentation and talk page discussions to show how a template name would be used in code.<br />
<br />
Here is how this template looks. Code to the left and actual rendering to the right:<br />
<br />
:{{Tlc|Tlp|name|parameters}} = {{Tlp|name|parameters}}<br />
<br />
Features of {{Tlp|Tlp}}:<br />
* It shows a template name with a link to that template.<br />
* It shows up to eight parameters.<br />
* It also shows empty parameters. (See examples below.)<br />
* It prevents [[line wrap]]s in its output.<br />
* It uses normal text style. (While for instance {{Tlx|Tlx}} uses <tt>teletype</tt> text style.)<br />
<br />
This template belongs to a whole family of similar templates. See the [[#See also|see also]] section below for some of them. For instance, when writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. Then on the first occurrence of a template name use {{Tl|Tl}}, {{Tlp|Tlp}} or {{Tlx|Tlx}}, and then use {{Tlf|Tlf}}, {{Tld|Tld}} or {{Tlc|Tlc}}.<br />
<br />
=== Examples ===<br />
<br />
<table class="wikitable"><br />
<tr><th>Code<th>Result<th>Comment<br />
<tr><td>{{tlc|tlp}} <td>{{tlp}} <td>Shows its own syntax.<br />
<tr><td>{{tlc|tlp|name}} <td>{{tlp|name}} <td><br />
<tr><td>{{tlc|tlp|name|one}} <td>{{tlp|name|one}} <td><br />
<tr><td>{{tlc|tlp|name|one|two}} <td>{{tlp|name|one|two}} <td><br />
<tr><td><code><nowiki>{{tlp|name|a|b|c|d|e|f|g|h|i|j}}</nowiki></code> <td>{{tlp|name|a|b|c|d|e|f|g|h|i}} <td>Shows up to eight parameters. The rest are dropped.<br />
<tr><td>{{tlc|tlp|name|||three|four}} <td>{{tlp|name|||three|four}} <td>Also shows empty parameters.<br />
<tr><td>{{tlc|tlp|name|||three||}} <td>{{tlp|name|||three||}} <td>Even shows empty parameters that come in the end.<br />
<tr><td>{{tlc|tlp|name|3=one=a|4=two=b}} <td>{{tlp|name|one=a|two=b}} <td>Equal signs is a problem, but there is a fix.<br />
<tr><td>{{tlc|tlp|name|3=2=one=a|4=3=two=b}} <td>{{tlp|name|2=one=a|3=two=b}} <td>Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.<br />
</table><br />
<br />
If you have equal signs in your template parameters then some find it simpler to code it using <code>&lt;nowiki></code> tags, or the <code>&amp;#61;</code> or <code>&amp;#x3D;</code> character references. Here's how to do that. Code to the left and actual rendering to the right:<br />
<br />
:<code><nowiki>{{tlp|name|&lt;nowiki>one=a|two=b&lt;/nowiki>}}</nowiki></code> = {{tlp|name|<nowiki>one=a|two=b</nowiki>}}<br />
:{{tlc|tlp|name|one&amp;#61;a|two&amp;#61;b}} = {{tlp|name|one&#61;a|two&#61;b}}<br />
<br />
=== See also ===<br />
{{Tl-nav}}<br />
<br />
<includeonly><br />
<!---CATEGORIES HERE---><br />
<br />
[[Category:Typing-aid templates]]<br />
[[Category:Internal link templates]]<br />
<br />
<!---INTERWIKIS HERE---><br />
<br />
<br />
</includeonly></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:Tlp&diff=22732Template:Tlp2012-11-01T04:10:58Z<p>Mitch Gore: Created page with "<span style="white-space:nowrap;">&#123;&#123;{{#if:{{{1|}}} | {{{1}}} | tlp&#124;... }}<!-- -->{{#ifeq:{{{2|x}}}|{{{2|}}}| &#124;{{{2}}} }}<!-- --..."</p>
<hr />
<div><span style="white-space:nowrap;">&#123;&#123;{{#if:{{{1|}}}<br />
| [[{{ns:Template}}:{{{1}}}|{{{1}}}]] | tlp&#124;... }}<!--<br />
-->{{#ifeq:{{{2|x}}}|{{{2|}}}| &#124;{{{2}}} }}<!--<br />
-->{{#ifeq:{{{3|x}}}|{{{3|}}}| &#124;{{{3}}} }}<!--<br />
-->{{#ifeq:{{{4|x}}}|{{{4|}}}| &#124;{{{4}}} }}<!--<br />
-->{{#ifeq:{{{5|x}}}|{{{5|}}}| &#124;{{{5}}} }}<!--<br />
-->{{#ifeq:{{{6|x}}}|{{{6|}}}| &#124;{{{6}}} }}<!--<br />
-->{{#ifeq:{{{7|x}}}|{{{7|}}}| &#124;{{{7}}} }}<!--<br />
-->{{#ifeq:{{{8|x}}}|{{{8|}}}| &#124;{{{8}}} }}<!--<br />
-->{{#ifeq:{{{9|x}}}|{{{9|}}}| &#124;{{{9}}} }}<!--<br />
-->&#125;&#125;</span><noinclude><br />
<br />
{{documentation}}<br />
<!-- Add categories and interwikis to the /doc subpage, not here! --><br />
</noinclude></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:)!/doc&diff=22731Template:)!/doc2012-11-01T04:09:50Z<p>Mitch Gore: Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES TO THE TRANSCLUDED DOCUMENTATION IMMEDIATELY BELOW AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{Auxiliary template comm..."</p>
<hr />
<div>{{Documentation subpage}}<br />
<!-- PLEASE ADD CATEGORIES TO THE TRANSCLUDED DOCUMENTATION IMMEDIATELY BELOW AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --><br />
{{Auxiliary template common notice}}<br />
<includeonly><br />
<!---CATEGORIES HERE---><br />
<br />
<br />
<!---INTERWIKIS HERE---><br />
<br />
</includeonly><br />
<noinclude><br />
<br />
</noinclude></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:)!&diff=22730Template:)!2012-11-01T04:09:09Z<p>Mitch Gore: Created page with "]<noinclude>{{documentation}}</noinclude>"</p>
<hr />
<div>]<noinclude>{{documentation}}</noinclude></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:Auxiliary_template_common_notice&diff=22729Template:Auxiliary template common notice2012-11-01T04:08:48Z<p>Mitch Gore: Created page with "=== Usage === This template can be used in place of a literal "<includeonly>{{ </includeonly>{{BASEPAGENAME}}<includeonly> }}</includeonly>" when the latter would be interpre..."</p>
<hr />
<div>=== Usage ===<br />
<br />
This template can be used in place of a literal "<includeonly>{{ </includeonly>{{BASEPAGENAME}}<includeonly> }}</includeonly>" when the latter would be interpreted as a syntactic marker.<br />
<br />
For example, {{tlf|{{BASEPAGENAME}}}} gives "<includeonly>{{ </includeonly>{{BASEPAGENAME}}<includeonly> }}</includeonly>".<br />
<br />
=== See also ===<br />
<br />
*{{#ifeq: {{BASEPAGENAME}} | !( || [[Template:!(|!(]] }}<br />
*{{#ifeq: {{BASEPAGENAME}} | )! || [[Template:)!|)!]] }}<br />
*{{#ifeq: {{BASEPAGENAME}} | !(( || [[Template:!((|!((]] }}<br />
*{{#ifeq: {{BASEPAGENAME}} | ))! || [[Template:))!|))!]] }}<br />
*{{#ifeq: {{BASEPAGENAME}} | ( || [[Template:(|(]] }}<br />
*{{#ifeq: {{BASEPAGENAME}} | ) || [[Template:)|)]] }}<br />
*{{#ifeq: {{BASEPAGENAME}} | (( || [[Template:((|((]] }}<br />
*{{#ifeq: {{BASEPAGENAME}} | )) || [[Template:))|))]] }}<br />
*{{#ifeq: {{BASEPAGENAME}} | ((( || [[Template:(((|(((]] }}<br />
*{{#ifeq: {{BASEPAGENAME}} | ))) || [[Template:)))|)))]] }}<br />
*{{#ifeq: {{BASEPAGENAME}} | Brackets || [[Template:Brackets|Brackets]] }}<br />
*{{tl|Square bracket open}}<br />
<br />
<noinclude><br />
<!---CATEGORIES HERE---><br />
<br />
[[Category:Template namespace templates|{{PAGENAME}}]]<br />
<br />
<!---INTERWIKIS HERE---><br />
<br />
<br />
</noinclude></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:!(/doc&diff=22728Template:!(/doc2012-11-01T04:08:04Z<p>Mitch Gore: Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES TO THE TRANSCLUDED DOCUMENTATION IMMEDIATELY BELOW AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{Auxiliary template comm..."</p>
<hr />
<div>{{Documentation subpage}}<br />
<!-- PLEASE ADD CATEGORIES TO THE TRANSCLUDED DOCUMENTATION IMMEDIATELY BELOW AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --><br />
{{Auxiliary template common notice}}<br />
<includeonly><br />
<!---CATEGORIES HERE---><br />
<br />
<br />
<!---INTERWIKIS HERE---><br />
<br />
<br />
</includeonly></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:!(&diff=22727Template:!(2012-11-01T04:07:44Z<p>Mitch Gore: Created page with "[<noinclude>{{documentation}}</noinclude>"</p>
<hr />
<div>[<noinclude>{{documentation}}</noinclude></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:Tlg/doc&diff=22726Template:Tlg/doc2012-11-01T04:07:16Z<p>Mitch Gore: Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> ==Explanation== {{tlx|tlg}} ('''<u>t</u>emplate <u>l</u>ink, <u>g</u>eneral..."</p>
<hr />
<div>{{Documentation subpage}}<br />
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --><br />
<br />
==Explanation==<br />
{{tlx|tlg}} ('''<u>t</u>emplate <u>l</u>ink, <u>g</u>eneral''') is a general template for inserting a template link. It can be used to replace or implement any of the more specific <code><nowiki>{{tl*}}</nowiki></code> templates, e.g. {{tlx|tl}}, {{tlx|tlx}} or {{tlx|tlb}}. Parameters are:<br />
* {{code|bold{{=}}yes}}: '''Boldface''' the text, like for {{tlx|tlb}} and {{tlx|tlxb}}<br />
* {{code|italic{{=}}yes}}: ''Italicizes'' the parameters, like for {{tlx|tlxi}}<br />
* {{code|tt{{=}}yes}}: Use a <tt>monospaced</tt> font, like for {{tlx|tlx}} and {{tlx|tlxb}}<br />
* {{code|code{{=}}yes}}: Use the <code><nowiki><code>...</code></nowiki></code> HTML attribute (usually a monospaced font), like for {{tlx|tlc}}<br />
* {{code|nolink{{=}}yes}}: Don't insert a template link, like for {{tlx|tlf}}, {{tlx|tld}}, and {{tlx|tlc}}<br />
* {{code|anypage{{=}}yes}}: Allow linking to arbitrary page (not just template), as with {{tlx|tlu}}<br />
* {{code|braceinside{{=}}yes}}: Put braces inside the link, like for {{tlx|tn}}<br />
* {{code|subst{{=}}yes}}: Add a {{code|subst:}} prefix, like for {{tlx|tls}}<br />
* {{code|alttext{{=}}FOO}}: Specify alternative surface text for a link, like for {{tlx|tla}}<br />
<br />
== Examples ==<br />
{{#ifeq:{{SITENAME}}|Wikipedia|<!-- Skip message--->|<br />
{{#ifeq:{{SITENAME}}|Meta|<!-- No note needed --->|<!-- Other Sisters Note: ---><br />
;Note: On the source sister projects, en.wikipedia and Meta, '''X0, X1, X2,..., X9 are sandbox templates''' for experimentation on involved templates that need be in template space. An auto-cleansing software facility exists that might be used to duplicate the facility on other Sister projects.<br />
}}}}<br />
<br />
{| border="1" cellpadding="4" class="wikitable"<br />
! Code<br />
! Result<br />
! Remark<br />
|-<br />
|{{Tlx|Tlg|Abc}}<br />
|{{Tlg|Abc}}<br />
||&#160;<br />
|-<br />
|{{Tlx|Tlg|ABC}}<br />
|{{Tlg|ABC}}<br />
||&#160;<br />
|-<br />
|{{Tlx|Tlg|AbC}}<br />
|{{Tlg|AbC}}<br />
||&#160;<br />
|-<br />
|{{Tlx|Tlg|x0}}<br />
|{{Tlg|x0}}<br />
||&#160;<br />
|-<br />
|{{Tlx|Tlg|x0|bold{{=}}yes}}<br />
|{{Tlg|x0|bold=yes}}<br />
||&#160;<br />
|-<br />
|{{Tlx|Tlg|x1|one|italic{{=}}yes}}<br />
|{{Tlg|x1|one|italic=yes}}<br />
||&#160;<br />
|-<br />
|{{Tlx|Tlg|x0|code{{=}}yes}}<br />
|{{Tlg|x0|code=yes}}<br />
||&#160;<br />
|-<br />
|{{Tlx|Tlg|x0|tt{{=}}yes}}<br />
|{{Tlg|x0|tt=yes}}<br />
||&#160;<br />
|-<br />
|{{Tlx|Tlg|x0|nolink{{=}}yes}}<br />
|{{Tlg|x0|nolink=yes}}<br />
||&#160;<br />
|-<br />
|{{Tlx|Tlg|x0|subst{{=}}yes}}<br />
|{{Tlg|x0|subst=yes}}<br />
||&#160;<br />
|-<br />
|{{Tlx|Tlg|x0|braceinside{{=}}yes}}<br />
|{{Tlg|x0|braceinside=yes}}<br />
||&#160;<br />
|-<br />
|{{Tlx|Tlg|x0|alttext{{=}}Link to x0 template}}<br />
|{{Tlg|x0|alttext=Link to x0 template}}<br />
||&#160;<br />
|-<br />
|{{Tlx|Tlg|x0|anypage{{=}}yes}}<br />
|{{Tlg|x0|anypage=yes}}<br />
|Now the expression links to [[x0]] (the spaceship, genetic disease, etc.) rather than [[Template:x0]]. Mostly useful for templates in user space.<br />
|-<br />
|{{Tlx|Tlg|x0|bold{{=}}yes|tt{{=}}yes|braceinside{{=}}yes}}<br />
|{{Tlg|x0|bold=yes|tt=yes|braceinside=yes}}<br />
|No reason you can't combine multiple parameter settings.<br />
|-<br />
|{{Tlx|Tlg|x1|one}}<br />
|{{Tlg|x1|one}}<br />
||&#160;<br />
|-<br />
|{{Tlx|Tlg|x2|one|two}}<br />
|{{Tlg|x2|one|two}}<br />
||&#160;<br />
|-<br />
|{{Tlx|Tlg|x2|bold{{=}}yes|tt{{=}}yes|one|two}}<br />
|{{Tlg|x2|bold=yes|tt=yes|one|two}}<br />
|Can combine named and anonymous parameters ...<br />
|-<br />
|{{Tlx|Tlg|x2|one|two|bold{{=}}yes|tt{{=}}yes}}<br />
|{{Tlg|x2|one|two|bold=yes|tt=yes}}<br />
|... in any order … <br />
|-<br />
|{{Tlx|Tlg|x2|one|tt{{=}}yes|two|bold{{=}}yes|three}}<br />
|{{Tlg|x2|bold=yes|one|tt=yes|two|bold=yes|three}}<br />
|... even intermixed ...<br />
|-<br />
|{{Tlx|Tlg|x2|one|tt{{=}}yes|two|bold{{=}}yes|three|italic{{=}}yes}}<br />
|{{Tlg|x2|bold=yes|one|tt=yes|two|bold=yes|three|italic=yes}}<br />
|... with many different configurations. <br />
|-<br />
|{{Tlx|Tlg|x3|1|2|3|4|5|6|7|8|9&#124;10}}<br />
|{{Tlg|x3|1|2|3|4|5|6|7|8|9|10}}<br />
||&#160;<br />
|-<br />
|{{Tlx|Tlg|x4|1|2|3|4|5|6|7|8|9&#124;10&#124;11}}<br />
|{{Tlg|x4|1|2|3|4|5|6|7|8|9|10|11}}<br />
|up to 10 parameters, then ...<br />
|-<br />
|{{Tlx|Tlg|x5|1|2|3|4|5|6|7|8|9&#124;10&amp;#124;11}}<br />
|{{Tlg|x5|1|2|3|4|5|6|7|8|9|10&#124;11}}<br />
|align="right"|<tt>&amp;#124;</tt> for more<br />
|-<br />
|colspan=2| {{Tlx|Tlg|convert|<nowiki>&lt;nowiki>14|m|ftin|abbr=out|sp=us&lt;/nowiki></nowiki>}}<br />
|unlimited parameters as one nowiki string<br />
|-<br />
|{{Tlx|Tlg}}<br />
|{{Tlg}}<br />
|with no arguments, the current page name is substituted<br />
|-<br />
|{{Tlx|Tlg|x1|x&#61;u}}<br />
|{{Tlg|x1|x=u}}<br />
|'''=''' won't work<br />
|-<br />
|{{Tlx|Tlg|x1|x&amp;#61;u}}<br />
|{{Tlg|x1|x&#61;u}}<br />
|align="right"|<tt>&amp;#61;</tt> is okay<br />
|-<br />
|{{Tlx|Tlg|x1|x<nowiki>{{=}}</nowiki>u}}<br />
|{{Tlg|x1|x{{=}}u}}<br />
|align="right"|<tt><nowiki>{{=}}</nowiki></tt> is okay<br />
|-<br />
|{{Tlx|Tlg|x1|&lt;nowiki&gt;x&#61;u&lt;/nowiki&gt;}}<br />
|{{Tlg|x1|<nowiki>x=u</nowiki>}}<br />
|align="right"|sticky nowiki is okay<br />
|-<br />
|{{Tlx|Tlg|x2|&#160;|two}}<br />
|{{Tlg|x2| |two}}<br />
|empty won't work<br />
|-<br />
|{{Tlx|Tlg|x2|&amp;#32;|two}}<br />
|{{Tlg|x2|&#32;|two}}<br />
|align="right"|<tt>&amp;#32;</tt> is okay<br />
|-<br />
|{{Tlx|Tlg|x2|&amp;nbsp;|two}}<br />
|{{Tlg|x2|&nbsp;|two}}<br />
|align="right"|<tt>&amp;nbsp;</tt> is okay<br />
|-<br />
|{{Tlx|Tlg|x2| &amp;#124; two}}<br />
|{{Tlg|x2| &#124; two}}<br />
|align="right"|<tt>&amp;#124;</tt> is okay<br />
|-<br />
|| {{Tlx|Tlg|x2| {&#123;!&#125;} two}}<br />
|| {{Tlg|x2| {{!}} two}}<br />
|align="right"|{{Tlg|!}} is dubious<br />
|-<br />
|{{Tlx|Tlg|x2|<nowiki>&lt;nowiki/></nowiki>|two}}<br />
|{{Tlg|x2|<nowiki/>|two}}<br />
|empty nowiki string works<br />
|-<br />
|| {{Tlx|Tlg|x2|<nowiki>2=</nowiki>|<nowiki>3=two</nowiki>}}<br />
|| {{Tlg|x2|2=|3=two}}<br />
|empty really doesn't work<br />
|-<br />
|| {{Tlx|Tlg|x2|<nowiki>2=one</nowiki>|two}}<br />
|| {{Tlg|x2|2=one|two}}<br />
|'''two''' clobbers '''2=one'''<br />
|-<br />
|| {{Tlx|Tlg|x2|<nowiki>3=two</nowiki>|<nowiki>2=one</nowiki>}}<br />
|| {{Tlg|x2|3=two|2=one}}<br />
|align="right"|right to left okay<br />
|}<includeonly><br />
<!---CATEGORIES HERE---><br />
<br />
[[Category:Typing-aid templates]]<br />
[[Category:Internal link templates]]<br />
<br />
<!---INTERWIKIS HERE---><br />
<br />
<br />
</includeonly></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:Tlg&diff=22725Template:Tlg2012-11-01T04:06:52Z<p>Mitch Gore: Created page with "<includeonly><!-- Templates tlc, tld, tlf have the following wrapping everything; do we need it? <span style="white-space:nowrap;"> --><!-- -- begin tt style if tt=yes or c..."</p>
<hr />
<div><includeonly><!--<br />
Templates tlc, tld, tlf have the following wrapping everything; do we need it?<br />
<span style="white-space:nowrap;"><br />
--><!--<br />
-- begin tt style if tt=yes or code=yes given<br />
-->{{#if:{{{tt|}}}{{{code|}}}|<code>}}<!--<br />
-- opening brace unless braceinside=yes<br />
-->{{#if:{{{braceinside|}}}||<nowiki>{{</nowiki>}}<!--<br />
-- add subst prefix, if subst=yes given<br />
-->{{#if:{{{subst|}}}|[[Help:Substitution|subst]]:}}<!--<br />
-- begin boldface if bold=yes given<br />
-->{{#if:{{{bold|}}}|'''}}<!--<br />
-- begin link if not nolink=yes; add any LANG and SISTER prefixes<br />
-->{{#if:{{{nolink|}}}||{{!(}}{{!(}}{{{LANG|}}}{{{SISTER|}}}<!--<br />
-- specify page to link to (unless nolink=yes)<br />
-->{{#if:{{{1|}}}|{{#if:{{{anypage|}}}||{{ns:Template}}:}}{{{1|}}}|{{FULLPAGENAME}}}}{{!}}}}<!--<br />
-- opening brace if braceinside=yes<br />
-->{{#if:{{{braceinside|}}}|<nowiki>{{</nowiki>}}<!--<br />
-- surface text of link<br />
-->{{{alttext|{{{1|{{#ifeq:{{NAMESPACE}}|{{ns:Template}}|{{PAGENAME}}|{{FULLPAGENAME}}}}}}}}}}<!--<br />
-- closing brace if braceinside=yes<br />
-->{{#if:{{{braceinside|}}}|<nowiki>}}</nowiki>}}<!--<br />
-- end of link, unless nolink=yes<br />
-->{{#if:{{{nolink|}}}||]]}}<!--<br />
-- end boldface if bold=yes<br />
-->{{#if:{{{bold|}}}|'''}}<!--<br />
-->{{#if:{{{italic|}}}|<span style="font-style: italic;">}}<!--<br />
-- add the remaining parameters<br />
-->{{#if:{{{2|}}}|<br />
&#124;{{{2}}}<br />
}}<!--<br />
-->{{#if:{{{3|}}}|<br />
&#124;{{{3}}}<br />
}}<!--<br />
-->{{#if:{{{4|}}}|<br />
&#124;{{{4}}}<br />
}}<!--<br />
-->{{#if:{{{5|}}}|<br />
&#124;{{{5}}}<br />
}}<!--<br />
-->{{#if:{{{6|}}}|<br />
&#124;{{{6}}}<br />
}}<!--<br />
-->{{#if:{{{7|}}}|<br />
&#124;{{{7}}}<br />
}}<!--<br />
-->{{#if:{{{8|}}}|<br />
&#124;{{{8}}}<br />
}}<!--<br />
-->{{#if:{{{9|}}}|<br />
&#124;{{{9}}}<br />
}}<!--<br />
-->{{#if:{{{10|}}}|<br />
&#124;{{{10}}}<br />
}}<!--<br />
-->{{#if:{{{11|}}}|<br />
&#124;{{{11}}}<br />
}}<!--<br />
-->{{#if:{{{12|}}}|<br />
&#124;''...''<br />
}}<!--<br />
-->{{#if:{{{italic|}}}|</span>}}<!--<br />
-- closing brace unless braceinside=yes<br />
-->{{#if:{{{braceinside|}}}||<nowiki>}}</nowiki>}}<!--<br />
-- end code style if code=yes or tt=yes given<br />
-->{{#if:{{{code|}}}{{{tt|}}}|</code>}}<!--<br />
-- end<br />
--></includeonly><noinclude><br />
{{Documentation}}<br />
<!-- Add categories and interwikis to the /doc subpage, not here! --><br />
</noinclude></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:Tlf/doc&diff=22724Template:Tlf/doc2012-11-01T04:06:05Z<p>Mitch Gore: Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This is the {{Tlf|Tlf}} template. The template is equivalent to {{Tlp|Tlp}..."</p>
<hr />
<div>{{Documentation subpage}}<br />
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --><br />
<br />
This is the {{Tlf|Tlf}} template.<br />
<br />
The template is equivalent to {{Tlp|Tlp}}, but won't [[Hyperlink|link]] to the template.<br />
<br />
== Example == <br />
<br />
{{tlc|Tlf|Template name|parameters}} gives {{Tlf|Template name|parameters}}<br />
<br />
=== See also ===<br />
{{Tl-nav}}<br />
<br />
<includeonly><br />
<!---CATEGORIES HERE---><br />
<br />
[[Category:Typing-aid templates|{{PAGENAME}}]]<br />
<br />
<!---INTERWIKIS HERE---><br />
<br />
<br />
</includeonly></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:Tlf&diff=22723Template:Tlf2012-11-01T04:05:37Z<p>Mitch Gore: Created page with "<span style="white-space:nowrap;">&#123;&#123;{{#if:{{{1|}}}|{{{1}}}| tlf&#124;...}}<!-- -->{{#ifeq:{{{2|x}}}|{{{2|}}}| &#124;{{{2}}} | }}<!-- -->{{#ifeq:{{{3|x}}}|{{{3|}}}| &..."</p>
<hr />
<div><span style="white-space:nowrap;">&#123;&#123;{{#if:{{{1|}}}|{{{1}}}| tlf&#124;...}}<!--<br />
-->{{#ifeq:{{{2|x}}}|{{{2|}}}| &#124;{{{2}}} | }}<!--<br />
-->{{#ifeq:{{{3|x}}}|{{{3|}}}| &#124;{{{3}}} | }}<!--<br />
-->{{#ifeq:{{{4|x}}}|{{{4|}}}| &#124;{{{4}}} | }}<!--<br />
-->{{#ifeq:{{{5|x}}}|{{{5|}}}| &#124;{{{5}}} | }}<!--<br />
-->{{#ifeq:{{{6|x}}}|{{{6|}}}| &#124;{{{6}}} | }}<!--<br />
-->{{#ifeq:{{{7|x}}}|{{{7|}}}| &#124;{{{7}}} | }}<!--<br />
-->{{#ifeq:{{{8|x}}}|{{{8|}}}| &#124;{{{8}}} | }}<!--<br />
-->{{#ifeq:{{{9|x}}}|{{{9|}}}| &#124;{{{9}}} | }}<!--<br />
-->&#125;&#125;</span><noinclude><br />
<br />
{{documentation}}<br />
<!-- Add categories and interwikis to the /doc sub-page, not here! --><br />
</noinclude></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:High-use/doc&diff=22722Template:High-use/doc2012-11-01T04:05:03Z<p>Mitch Gore: Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This is the {{tl|high-use}} message box. It is meant to be put at the top ..."</p>
<hr />
<div>{{Documentation subpage}}<br />
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --><br />
<br />
This is the {{tl|high-use}} message box.<br />
<br />
It is meant to be put at the top of the documentation for templates used on 2000 - 100,000 pages.<br />
<br />
For templates used on 100,000 pages or more we instead recommend using {{tl|high-risk}} which has a stronger wording.<br />
<br />
'''Note!''' It is normal that some of the links in the message box are red. <br />
<br />
=== Usage ===<br />
<br />
The template can be used as is. But it can also take some parameters: <br />
* First parameter is the number of pages. See [[tools:~jarry/templatecount/]] to find out how many pages use your template.<br />
* Second parameter is the name of some other talk page if you want discussion to be made there instead. But a better option might be to redirect the talkpage of your template to that other talkpage.<br />
<br />
Here are some examples:<br />
<br />
<pre><br />
{{high-use| 40,000+ | Wikipedia talk:High-risk templates }}<br />
</pre><br />
<br />
{{high-use| 40,000+ | Wikipedia talk:High-risk templates }}<br />
<br />
<pre><br />
{{high-use| 40,000+ }}<br />
</pre><br />
<br />
{{high-use| 40,000+ }}<br />
<br />
<pre><br />
{{high-use| | Wikipedia talk:High-risk templates }}<br />
</pre><br />
<br />
{{high-use| | Wikipedia talk:High-risk templates }}<br />
<br />
The full code for a /doc page top can look like this:<br />
<br />
<pre><br />
{{documentation subpage}}<br />
{{high-use| 40,000+ }}<br />
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --><br />
</pre><br />
<br />
=== Technical details ===<br />
<br />
The [[/sandbox]] and [[/testcases]] links are the standard names for such subpages. If those pages are created then the green /doc box for the template will detect them and link to them in its heading. For instance see the top of this documentation.<br />
<br />
=== See also ===<br />
<br />
* {{tl|used in system}} – For templates used in the Wikipedia user interface.<br />
* {{tl|high-risk}} – For the most high-use (high-risk) templates.<br />
* {{tl|high-use}} – For the slightly less high-risk templates.<br />
* {{tl|intricate template}}<br />
* {{tl|pp-template}} – The protection template that usually is put on high-risk templates.<br />
* [[Wikipedia:Template test cases]]<br />
* [[Wikipedia:High-risk templates]]<br />
<br />
=== Template counters ===<br />
<br />
* [[tools:~jarry/templatecount/]] – Easy to use, returns current (real time) transclusion count for a template.<br />
* [[Wikipedia:Database reports/Templates with the most transclusions]] – Lists the 1000 most transcluded templates. Updated about once a month.<br />
* <span class="plainlinks">[{{fullurl:Special:MostLinkedTemplates|limit=500}} Special:MostLinkedTemplates]</span> – Currently disabled for the English Wikipedia, but still runs for other Wikipedias so might be turned on again some day.<br />
* [[tools:~dispenser/cgi-bin/embeddedincount.py]] – Seems to lack human interface, probably meant for programs to call.<br />
<br />
<includeonly><br />
<!---CATEGORIES HERE---><br />
<br />
[[Category:Template namespace templates|{{PAGENAME}}]]<br />
<br />
<!---INTERWIKIS HERE---><br />
<br />
<br />
</includeonly></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:High-use&diff=22721Template:High-use2012-11-01T04:04:34Z<p>Mitch Gore: Created page with "{{ombox | type = style | image = 40x40px | text = '''This template is used on [[Wikipedia:Database reports/Templates with the most tran..."</p>
<hr />
<div>{{ombox<br />
| type = style<br />
| image = [[File:Emblem-important-yellow.svg|40x40px]]<br />
| text = <br />
'''This template is used on [[Wikipedia:Database reports/Templates with the most transclusions|{{#if:{{{1|}}}|{{{1}}}|many}} pages]]''', and changes to it will be widely noticed. Please test any changes in the template's [[{{#ifeq:{{SUBPAGENAME}}|doc| {{SUBJECTSPACE}}:{{BASEPAGENAME}} | {{SUBJECTPAGENAME}} }}/sandbox|/sandbox]] or [[{{#ifeq:{{SUBPAGENAME}}|doc| {{SUBJECTSPACE}}:{{BASEPAGENAME}} | {{SUBJECTPAGENAME}} }}/testcases|/testcases]] subpages, or in a [[Wikipedia:Subpages#How to create user subpages|user subpage]], and consider discussing changes at {{#if:{{{2|}}}|[[{{{2}}}]]|the [[{{#ifeq:{{SUBPAGENAME}}|doc| {{TALKSPACE}}:{{BASEPAGENAME}} | {{TALKPAGENAME}} }}|talk page]]}} before implementing them.<br />
}}<noinclude><br />
<br />
{{Documentation}}<br />
<!-- Add categories and interwikis to the /doc subpage, not here! --><br />
</noinclude></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:Mbox_templates_see_also/doc&diff=22720Template:Mbox templates see also/doc2012-11-01T04:02:42Z<p>Mitch Gore: Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This is the {{tl|mbox templates see also}} template. It is used in the "Se..."</p>
<hr />
<div>{{Documentation subpage}}<br />
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --><br />
<br />
This is the {{tl|mbox templates see also}} template.<br />
<br />
It is used in the "See also" section of the documentation of templates in the mbox family, such as {{tl|ambox}}. It takes no parameters.<br />
<br />
=== See also ===<br />
<br />
* {{tl|mbox templates}} - Small navbox used at the top of the mbox documentation pages.<br />
<br />
<includeonly><br />
<!---CATEGORIES HERE---><br />
<br />
[[Category:Template namespace templates|{{PAGENAME}}]]<br />
<br />
<!---INTERWIKIS HERE---><br />
<br />
<br />
</includeonly></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:Mbox_templates_see_also&diff=22719Template:Mbox templates see also2012-11-01T04:02:23Z<p>Mitch Gore: Created page with "There are several meta-templates in the mbox family: * {{tl|ambox}} – For article message boxes. * {{tl|cmbox}} – For category message boxes. * {{tl|imbox}} – For file (..."</p>
<hr />
<div>There are several meta-templates in the mbox family:<br />
* {{tl|ambox}} – For article message boxes.<br />
* {{tl|cmbox}} – For category message boxes.<br />
* {{tl|imbox}} – For file (image) page message boxes.<br />
* {{tl|mbox}} – Has namespace detection, for message boxes that are used on several types of pages and thus need to change style depending on what page they are used on.<br />
* {{tl|ombox}} – For other pages message boxes.<br />
* {{tl|tmbox}} – For talk page message boxes.<br />
<br />
Closely related meta-templates:<br />
* {{tl|asbox}} – For article stub message boxes.<br />
* {{tl|dmbox}} – For disambiguation and set index message boxes.<br />
* {{tl|fmbox}} – For header and footer message boxes.<br />
<br />
<noinclude><br />
{{documentation}}<br />
<!-- Add categories and interwikis to the /doc subpage, not here! --><br />
</noinclude></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:Mbox_templates/doc&diff=22718Template:Mbox templates/doc2012-11-01T04:01:27Z<p>Mitch Gore: Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{mbox templates}} This is the {{tl|mbox templates}} template. It is a smal..."</p>
<hr />
<div>{{Documentation subpage}}<br />
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --><br />
{{mbox templates}}<br />
This is the {{tl|mbox templates}} template.<br />
<br />
It is a small navbox used at the top of the documentation of templates in the mbox family. It takes no parameters. <br />
<br />
To the right is an example of how it looks on a documentation page like this.<br />
<br />
=== See also ===<br />
* {{tl|mbox templates see also}} – For the "See also" section of the documentation of templates in the mbox family.<br />
<br />
<includeonly><br />
<!---CATEGORIES HERE---><br />
<br />
[[Category:Template namespace templates|{{PAGENAME}}]]<br />
<br />
<!---INTERWIKIS HERE---><br />
<br />
<br />
</includeonly></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:Mbox_templates&diff=22717Template:Mbox templates2012-11-01T04:00:43Z<p>Mitch Gore: Created page with "{{sidebar | name = mbox templates | title = Message box<br />meta-templates | titlestyle = font-size: inherit | contentstyle = text-align: left | contentclass..."</p>
<hr />
<div>{{sidebar<br />
| name = mbox templates<br />
| title = Message box<br />meta-templates<br />
| titlestyle = font-size: inherit<br />
| contentstyle = text-align: left<br />
| contentclass = plainlist<br />
| style = width: auto<br />
| content1 =<br />
*{{tlx|ambox}} ([[Template talk:ambox|t]])<br />
*{{tlx|cmbox}} ([[Template talk:cmbox|t]])<br />
*{{tlx|imbox}} ([[Template talk:imbox|t]])<br />
*{{tlx|mbox}} ([[Template talk:mbox|t]])<br />
*{{tlx|ombox}} ([[Template talk:ombox|t]])<br />
*{{tlx|tmbox}} ([[Template talk:tmbox|t]])<br />
*{{tlx|asbox}} ([[Template talk:asbox|t]])<br />
*{{tlx|dmbox}} ([[Template talk:dmbox|t]])<br />
*{{tlx|fmbox}} ([[Template talk:fmbox|t]])<br />
<br />
}}<noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! --></noinclude></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:Navigation_templates&diff=22716Template:Navigation templates2012-11-01T03:59:49Z<p>Mitch Gore: Created page with "{| class="wikitable hlist" style="margin-left: auto; margin-right: auto; width: auto; text-align: center; font-size: 90%;" |+ <span style="font-size: 130%;">Navigation templat..."</p>
<hr />
<div>{| class="wikitable hlist" style="margin-left: auto; margin-right: auto; width: auto; text-align: center; font-size: 90%;"<br />
|+ <span style="font-size: 130%;">Navigation templates comparison</span><br />
|- style="line-height: 10pt;"<br />
! style="text-align: left; padding-left: 4px; font-size: 111%;" | {{Navbar|Navigation templates|plain=1}}<br />
! Collapsible !! Header color<br />
! Image !! Groups !! Style (body) <br /> parameter/s !! Examples<br />
|-<br />
| style="text-align: left;" | {{tl|Navbox}}<br />
| collapsible || style="background: #ccf;" | navbox<br />
| Left/right of body || Yes || Yes ||<br />
* {{tl|Solar System}}<br />
* {{tl|Governance of Greater London}}<br />
|-<br />
| style="text-align: left;" | {{tl|Navbox with collapsible groups}}<br />
| collapsible || style="background: #ccf;" | navbox<br />
| Left/right of body and/or in each list || Yes || Yes ||<br />
* {{tl|Scouting}}<br />
* {{tl|University of Michigan}}<br />
|-<br />
| style="text-align: left;" | {{tl|Navbox with columns}}<br />
| collapsible || style="background: #ccf;" | navbox<br />
| Left/right of columns || No || Yes ||<br />
* {{tl|Current U.S. Senators}}<br />
* {{tl|Historical regions of the Czech Republic}}<br />
|-<br />
| style="text-align: left;" | {{tl|Navbox years}}<br />
| collapsible || style="background: #ccf;" | navbox<br />
| No || No || No ||<br />
* {{tl|Wimbledon tournaments}}<br />
|}<br />
<br />
{| class="wikitable" style="margin-left: auto; margin-right: auto; width: auto; text-align: center; font-size: 90%;"<br />
|+ <span style="font-size: 130%;">Collapsible attributes</span><br />
|- style="line-height: 10pt;"<br />
! Type !! CSS classes !! Javascript !! Collapses when !! Custom <br /> initial&nbsp;state !! Nesting<br />
|-<br />
| align="left" | [[Help:Collapsing|Collapsible tables]]<br />
| collapsible<br />
| Defined in [[MediaWiki:Common.js|Common.js]]<br />
| 2 or more autocollapse on page || Yes || Yes<br />
|}<noinclude><br />
<br />
<!---CATEGORIES HERE---><br />
<br />
[[Category:Navigational boxes| ]]<br />
<br />
<!---INTERWIKIS HERE---><br />
<br />
<br />
</noinclude></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:Navbox_suite&diff=22715Template:Navbox suite2012-11-01T03:58:25Z<p>Mitch Gore: Created page with "<onlyinclude>{{sidebar |width=auto |bodystyle = border-spacing:0; padding:2px; background:#f7f7f7 |title = Navbox suite |titlestyle = background:#ccccff |contentstyle = paddin..."</p>
<hr />
<div><onlyinclude>{{sidebar<br />
|width=auto<br />
|bodystyle = border-spacing:0; padding:2px; background:#f7f7f7<br />
|title = Navbox suite<br />
|titlestyle = background:#ccccff<br />
|contentstyle = padding:0.25em; background:#fdfdfd<br />
|contentclass = plainlist<br />
<br />
|content1 =<br />
*{{tl|Navbox}}<br />
*{{tl|Navbox subgroup}}<br />
*{{tl|Navbox with collapsible groups}}<br />
*{{tl|Navbox with columns}}<br />
*{{tl|Navboxes}}<br />
<br />
|name = Navbox suite<br />
|navbarstyle = padding:0 5px<br />
}}</onlyinclude><!--<br />
<br />
NOTE: A template MUST support all of the parameters marked with a cross in Template:Navbox/doc in order to be Navbox suite compliant. In particular, the name, state, border, and navbar parameters are especially important. <br />
<br />
--><noinclude><br />
<!---CATEGORIES HERE---><br />
<br />
[[Category:Navigational boxes| ]]<br />
<br />
<!---INTERWIKIS HERE---><br />
<br />
<br />
</noinclude></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:Navbox/doc&diff=22714Template:Navbox/doc2012-11-01T03:57:34Z<p>Mitch Gore: Created page with "{{documentation subpage}} <includeonly>{{high-risk|1,700,000+}}</includeonly> {{Navbox suite}} This template allows a [[Wikipedia:Navigation templates|navigational template]..."</p>
<hr />
<div>{{documentation subpage}}<br />
<includeonly>{{high-risk|1,700,000+}}</includeonly><br />
<br />
{{Navbox suite}}<br />
<br />
This template allows a [[Wikipedia:Navigation templates|navigational template]] to be set up relatively quickly by supplying it with one or more lists of links. It comes equipped with default styles that should work for most navigational templates. Changing the default styles is possible, but not recommended. Using this template, or one of its "Navbox suite" sister templates, is highly recommended for standardization of navigational templates, and for ease of use.<br />
<br />
== Usage ==<br />
<br />
Please remove the parameters that are left blank.<br />
<br />
<pre style="overflow: auto;">{{Navbox<br />
| name = {{subst:PAGENAME}}<br />
| listclass = hlist<br />
| state = {{{state|}}}<br />
<br />
| title =<br />
| above =<br />
| image =<br />
<br />
| group1 =<br />
| list1 =<br />
<br />
| group2 =<br />
| list2 =<br />
...<br />
| group20 =<br />
| list20 =<br />
<br />
| below =<br />
}}<br />
</pre><br />
<br />
== Parameter list ==<br />
<br />
{{Navbox<br />
| name = Navbox/doc<br />
| state = uncollapsed<br />
| title = {{{title}}}<br />
| above = {{{above}}}<br />
| image = {{{image}}}<br />
| group1 = {{{group1}}}<br />
| list1 = {{{list1}}}<br />
| group2 = {{{group2}}}<br />
| list2 = {{{list2}}}<br />
| list3 = {{{list3}}} ''without {{{group3}}}''<br />
| group4 = {{{group4}}}<br />
| list4 = {{{list4}}}<br />
| below = {{{below}}} <br /> See alternate navbox formats under: [[#Layout of table|''Layout of table'']]<br />
}}<br />
<br />
The navbox uses lowercase parameter names, as shown in the box (''at right''). The mandatory ''name'' and ''title'' will create a one-line box if other parameters are omitted.<br />
<br />
Notice "group1" (etc.) is optional, as are sections named "above/below".<br />
{{clear}}<br />
The basic and most common parameters are as follows (see [[#Parameter descriptions|below]] for the full list):<br />
<br />
: <code>name – </code>the name of the template.<br />
: <code>title – </code>text in the title bar, such as: <nowiki>[[Widget stuff]]</nowiki>.<br />
: <code>listclass – </code>a CSS class for the list cells, usually <code>hlist</code> for horizontal lists. Alternatively, use bodyclass for the whole box.<br />
: <code>state – </code>controls when a navbox is expanded or collapsed.<br />
<br />
: <code>titlestyle – </code>a CSS style for the title-bar, such as: <code>background: gray;</code><br />
: <code>groupstyle – </code>a CSS style for the group-cells, such as: <code>background: #eee;</code><br />
<br />
: <code>above – </code>text to appear above the group/list section (could be a list of overall wikilinks).<br />
<br />
: <code>image – </code>an optional right-side image, coded as the whole image. Typically it is purely decorative, so it should be coded as <code><nowiki>[[File:</nowiki><var>XX</var><nowiki>.jpg|80px|link=|alt=]]</nowiki></code>.<br />
: <code>imageleft – </code>an optional left-side image (code the same as the "image" parameter).<br />
<br />
: <code>group<sub>n</sub> – </code>the left-side text before list-n (if group-n omitted, list-n starts at left of box).<br />
: <code>list<sub>n</sub> – </code>text listing wikilinks using a wikilist format.<br />
: <code>below – </code>optional text to appear below the group/list section.<br />
<br />
== Parameter descriptions ==<br />
<br />
The following is a complete list of parameters for using {{tl|Navbox}}. In most cases, the only required parameters are <code>name</code>, <code>title</code>, and <code>list1</code>, though [[Template:Navbox/doc#Child navboxes|child navboxes]] do not even require those to be set.<br />
<br />
{{tl|Navbox}} shares numerous common parameter names with its sister templates, {{tl|Navbox with columns}} and {{tl|Navbox with collapsible groups}}, for consistency and ease of use. Parameters marked with an asterisk (*) are common to all three master templates.<br />
<br />
=== Setup parameters ===<br />
<br />
:; ''name''*<br />
:: The name of the template, which is needed for the "V&nbsp;• T&nbsp;• E" ("View&nbsp;• Talk&nbsp;• Edit") links to work properly on all pages where the template is used. You can enter <code><nowiki>{{subst:PAGENAME}}</nowiki></code> for this value as a shortcut. The name parameter is only mandatory if a <code>title</code> is specified, and the <code>border</code> parameter is not set.<br />
<br />
:; ''state''* <span style="font-weight:normal;">[<code>autocollapse, uncollapsed, collapsed, plain, off</code>]</span><br />
:* Defaults to <code>autocollapse</code>. A navbox with <code>autocollapse</code> will start out collapsed if there are two or more tables on the same page that use other collapsible tables. Otherwise, the navbox will be expanded. For the technically minded, see [[MediaWiki:Common.js]].<br />
:* If set to <code>collapsed</code>, the navbox will always start out in a collapsed state.<br />
:* If set to <code>plain</code>, the navbox will always be expanded with no [hide] link on the right, and the title will remain centered (by using padding to offset the <small>V&nbsp;• T&nbsp;• E</small> links).<br />
:* If set to <code>off</code>, the navbox will always be expanded with no [hide] link on the right, but no padding will be used to keep the title centered. This is for advanced use only; the "plain" option should suffice for most applications where the [show]/[hide] button needs to be hidden.<br />
:* If set to anything other than <code>autocollapse</code>, <code>collapsed</code>, <code>plain</code>, or <code>off</code> (such as "uncollapsed"), the navbox will always start out in an expanded state, but have the "hide" button.<br />
<br />
: To show the box when standalone (non-included) but then auto-hide contents when in an article, put "uncollapsed" inside &lt;noinclude> tags:<br />
:* <code>state = </code><nowiki><noinclude>uncollapsed</noinclude></nowiki><br />
:* That setting will force the box visible when standalone (even when followed by other boxes), displaying "[hide]" but then auto-collapse the box when stacked inside an article.<br />
<br />
: Often times, editors will want a default initial state for a navbox, which may be overridden in an article. Here is the trick to do this:<br />
:* In your intermediate template, create a parameter also named "state" as a pass-through like this:<br />
:* <code><nowiki>| state = {{{state<includeonly>|your_desired_initial_state</includeonly>}}}</nowiki></code><br />
:* The <nowiki><includeonly>|</nowiki> will make the template expanded when viewing the template page by itself.<br />
<br />
::* Example: {{tl|peso}} with autocollapse as the default initial state. [[Catalan peseta]] transcludes it and has only one navbox. So the peso navbox shows. [[Chilean peso]] has two navboxes. So the peso navbox collapses.<br />
::* Example: {{tl|Historical currencies of Hungary}} with expanded as the default initial state. All transcluding articles shows the content by default, unless there were an hypothetical article that specifies state = collapsed when transcluding.<br />
<br />
:* The template {{tl|Collapsible option}} can be added to a <nowiki><noinclude></nowiki> section after the template definition to explain how to use the <code>state</code> parameter.<br />
<br />
:; ''navbar''*<br />
:: If set to <code>plain</code>, the <span style="font-size: 88%;">V&nbsp;• T&nbsp;• E</span> links on the left side of the titlebar will not be displayed, and padding will be automatically used to keep the title centered. Use <code>off</code> to remove the <span style="font-size: 88%;">V&nbsp;• T&nbsp;• E</span> links, but not apply padding (this is for advanced use only; the "plain" option should suffice for most applications where a navbar is not desired). It is highly recommended that one not hide the navbar, in order to make it easier for users to edit the template, and to keep a standard style across pages.<br />
<br />
:; ''border''*<br />
:: ''See section hereafter on using navboxes within one another for examples and a more complete description.'' If set to <code>child</code> or <code>subgroup</code>, then the navbox can be used as a borderless child that fits snugly in another navbox. The border is hidden and there is no padding on the sides of the table, so it fits into the ''list'' area of its parent navbox. If set to <code>none</code>, then the border is hidden and padding is removed, and the navbox may be used as a child of another container (do not use the <code>none</code> option inside of another navbox; similarly, only use the <code>child</code>/<code>subgroup</code> option inside of another navbox). If set to anything else (default), then a regular navbox is displayed with a 1px border. An alternate way to specify the border to be a subgroup style is like this (i.e. use the first unnamed parameter instead of the named ''border'' parameter):<br />
::: <code><nowiki>{{Navbox|child</nowiki></code><br />
:::: <code>...<br />
::: <code><nowiki>}}</nowiki></code><br />
<br />
=== Cells ===<br />
<br />
:; ''title''*<br />
:: Text that appears centered in the top row of the table. It is usually the template's topic, i.e. a succinct description of the body contents. This should be a single line, but if a second line is needed, use <code><nowiki>{{-}}</nowiki></code> to ensure proper centering. This parameter is technically not mandatory, but using {{tl|Navbox}} is rather pointless without a title.<br />
<br />
:; ''above''*<br />
:: A full-width cell displayed between the titlebar and first group/list, i.e. ''above'' the template's body (groups, lists and image). In a template without an image, ''above'' behaves in the same way as the ''list1'' parameter without the ''group1'' parameter.<br />
<br />
:; ''group<sub>n</sub>''*<br />
:: (i.e. ''group1'', ''group2'', etc.) If specified, text appears in a header cell displayed to the left of ''list<sub>n</sub>''. If omitted, ''list<sub>n</sub>'' uses the full width of the table.<br />
<br />
:; ''list<sub>n</sub>''*<br />
:: (i.e. ''list1'', ''list2'', etc.) The body of the template, usually a list of links. Format is inline, although the text can be entered on separate lines if the entire list is enclosed within <code><nowiki><div> </div></nowiki></code>. At least one ''list'' parameter is required; each additional ''list'' is displayed in a separate row of the table. Each ''list<sub>n</sub>'' may be preceded by a corresponding ''group<sub>n</sub>'' parameter, if provided (see below).<br />
<br />
:; ''image''*<br />
:: An image to be displayed in a cell below the title and to the right of the body (the groups/lists). For the image to display properly, the ''list1'' parameter must be specified. The ''image'' parameter accepts standard wikicode for displaying an image, ''e.g.'':<br />
::: <code><nowiki>[[File:</nowiki><var>XX</var><nowiki>.jpg|80px|link=|alt=]]</nowiki></code><br />
::: nb: including "|right" will produced the usual left margin to provide separation from the list items and [[zebra striping]].<br />
<br />
:; ''imageleft''*<br />
:: An image to be displayed in a cell below the title and to the left of the body (lists). For the image to display properly, the ''list1'' parameter must be specified and no groups can be specified. It accepts the same sort of parameter that ''image'' accepts.<br />
<br />
:; ''below''*<br />
:: A full-width cell displayed ''below'' the template's body (groups, lists and image). In a template without an image, ''below'' behaves in the same way as the template's final ''list<sub>n</sub>'' parameter without a ''group<sub>n</sub>'' parameter. For an example of the ''below'' parameter in use, see {{oldid|Main Page|352612160|this}} version of {{tl|Lists of the provinces and territories of Canada}}.<br />
<br />
=== Style parameters ===<br />
<br />
Styles are generally advised against, to maintain consistency among templates and pages in Wikipedia; but the option to modify styles is given.<br />
<br />
:; ''style''*<br />
:: Specifies [[Cascading Style Sheets|CSS]] styles to apply to the template body. The parameter ''bodystyle'' also does the exact same thing and can be used in place of this ''style'' parameter. This option should be used sparingly as it can lead to visual inconsistencies. Examples:<br />
::: <code>style = background: #''nnnnnn'';</code><br />
::: <code>style = width: ''N''&nbsp;[em/%/px or width: auto];</code><br />
::: <code>style = float: [''left/right/none''];</code><br />
::: <code>style = clear: [''right/left/both/none''];</code><br />
<br />
:; ''basestyle''*<br />
:: CSS styles to apply to the ''title'', ''above'', ''below'', and ''group'' cells all at once. The styles are not applied to ''list'' cells. This is convenient for easily changing the basic color of the navbox without having to repeat the style specifications for the different parts of the navbox. Examples:<br />
::: <code>basestyle = background: lightskyblue;</code><br />
<br />
:; ''titlestyle''*<br />
:: [[Cascading Style Sheets|CSS]] styles to apply to ''title'', most often the titlebar's background color:<br />
::: <code>titlestyle = background: ''#nnnnnn'';</code><br />
::: <code>titlestyle = background: ''name'';</code><br />
<br />
:; ''groupstyle''*<br />
:: CSS styles to apply to the ''groupN'' cells. This option overrides any styles that are applied to the entire table. Examples:<br />
::: <code>groupstyle = background: #''nnnnnn'';</code><br />
::: <code>groupstyle = text-align: [''left/center/right''];</code><br />
::: <code>groupstyle = vertical-align: [''top/middle/bottom''];</code><br />
<br />
:; ''group<sub>n</sub>style''*<br />
:: CSS styles to apply to a specific group, in addition to any styles specified by the ''groupstyle'' parameter. This parameter should only be used when absolutely necessary in order to maintain standardization and simplicity. Examples:<br />
::: <code>group3style = background: red; color: white;</code><br />
<br />
:; ''groupwidth''<br />
:: A number and unit specifying a uniform width for the group cells, in cases where little content in the list cells may cause group cells to be too wide. No default. However, may be overridden by the ''group(n)style'' parameter. Examples:<br />
::: <code>groupwidth = 9em</code><br />
<br />
:; ''liststyle''*<br />
:: CSS styles to apply to all lists. Overruled by the ''oddstyle'' and ''evenstyle'' parameters (if specified) hereafter. When using backgound colors in the navbox, see the [[#Intricacies|note hereafter]].<br />
<br />
:; ''list<sub>n</sub>style''*<br />
:: CSS styles to apply to a specific list, in addition to any styles specified by the ''liststyle'' parameter. This parameter should only be used when absolutely necessary in order to maintain standardization and simplicity. Examples:<br />
::: <code>list5style = background: #ddddff;</code><br />
<br />
:; ''listpadding''*<br />
:: A number and unit specifying the padding in each ''list'' cell. The ''list'' cells come equipped with a default padding of 0.25em on the left and right, and 0 on the top and bottom. Due to complex technical reasons, simply setting "liststyle = padding: 0.5em;" (or any other padding setting) will not work. Examples:<br />
::: <code>listpadding = 0.5em 0;</code> (sets 0.5em padding for the left/right, and 0 padding for the top/bottom.)<br />
::: <code>listpadding = 0;</code> (removes all list padding.)<br />
<br />
:; ''oddstyle''<br />
:; ''evenstyle''<br />
:: Applies to odd/even list numbers. Overrules styles defined by ''liststyle''. The default behavior is to add striped colors (white and gray) to odd/even rows, respectively, in order to improve readability. These should not be changed except in extraordinary circumstances.<br />
<br />
:; ''evenodd'' <span style="font-weight: normal;"><code>[swap, even, odd, off]</code></span><br />
:: If set to <code>swap</code>, then the automatic striping of even and odd rows is reversed. Normally, even rows get a light gray background for striping; when this parameter is used, the odd rows receive the gray striping instead of the even rows. Setting to <code>even</code> or <code>odd</code> sets all rows to have that striping color. Setting to <code>off</code> disables automatic row striping. This advanced parameter should only be used to fix problems when the navbox is being used as a child of another navbox and the stripes do not match up. Examples and a further description can be found in the section on child navboxes below.<br />
<br />
:; ''abovestyle''*<br />
:; ''belowstyle''*<br />
:: CSS styles to apply to the top cell (specified via the ''above'' parameter) and bottom cell (specified via the ''below'' parameter). Typically used to set background color or text alignment:<br />
::: <code>abovestyle = background: #''nnnnnn'';</code><br />
::: <code>abovestyle = text-align: [''left/center/right''];</code><br />
::: <code>belowstyle = background: #''nnnnnn'';</code><br />
::: <code>belowstyle = text-align: [''left/center/right''];</code><br />
<br />
:; ''imagestyle''*<br />
:; ''imageleftstyle''*<br />
:: CSS styles to apply to the cells where the image/imageleft sits. These styles should only be used in exceptional circumstances, usually to fix width problems if the width of groups is set and the width of the image cell grows too large. Examples:<br />
::: <code>imagestyle = width:5em;</code><br />
<br />
===== Default styles =====<br />
<br />
The style settings listed here are those that editors using the navbox change most often. The other more complex style settings were left out of this list to keep it simple. Most styles are set in [[MediaWiki:Common.css]].<br />
<br />
: <code>bodystyle = background: #fdfdfd; width: 100%; vertical-align: middle;</code><br />
: <code>titlestyle = background: #ccccff; padding-left: 1em; padding-right: 1em; text-align: center;</code><br />
: <code>abovestyle = background: #ddddff; padding-left: 1em; padding-right: 1em; text-align: center;</code><br />
: <code>belowstyle = background: #ddddff; padding-left: 1em; padding-right: 1em; text-align: center;</code><br />
: <code>groupstyle = background: #ddddff; padding-left: 1em; padding-right: 1em; text-align: right;</code><br />
: <code>liststyle = background: transparent; text-align: left/center;</code><br />
: <code>oddstyle = background: transparent;</code><br />
: <code>evenstyle = background: #f7f7f7;</code><br />
<br />
Since ''liststyle'' and ''oddstyle'' are transparent, odd lists have the color of the ''bodystyle'', which defaults to #fdfdfd (white with a hint of gray). A list defaults to <code>text-align: left;</code> if it has a group, if not it defaults to <code>text-align: center;</code>. Since only ''bodystyle'' has a vertical-align all the others inherit its <code>vertical-align: middle;</code>.<br />
<br />
=== Advanced parameters ===<br />
<br />
:; ''bodyclass''<br />
:; ''aboveclass''<br />
:; ''groupclass''<br />
:; ''listclass''<br />
:; ''belowclass''<br />
:: This enables attaching a CSS class to group or list cells. The most common use for ''listclass'' is to give it the <code>hlist</code> class that will cause lists to render horizontally. All these parameters accept the <code>hlist</code> class, but if more than one parameter is used for <code>hlist</code>, use {{para|bodyclass|hlist}} instead.<br />
<br />
:; ''titlegroup''<br />
:: This puts a group in the title area, with the same default styles as ''group<sub>n</sub>''. It should be used only in exceptional circumstances (usually advanced meta-templates) and its use requires some knowledge of the internal code of {{tl|Navbox}}; you should be ready to manually set up CSS styles to get everything to work properly if you wish to use it. If you think you have an application for this parameter, it might be best to change your mind, or consult the talk page first.<br />
<br />
:; ''titlegroupstyle''<br />
:: The styles for the titlegroup cell.<br />
<br />
:; ''innerstyle''<br />
:: A very advanced parameter to be used ''only'' for advanced meta-templates employing the navbox. Internally, the navbox uses an outer table to draw the border, and then an inner table for everything else (title/above/groups/lists/below/images, etc.). The ''style''/''bodystyle'' parameter sets the style for the outer table, which the inner table inherits, but in advanced cases (meta-templates) it may be necessary to directly set the style for the inner table. This parameter provides access to that inner table so styles can be applied. Use at your own risk.<br />
<br />
==== Microformats ====<br />
<br />
:; ''bodyclass''<br />
:: This parameter is inserted into the "class" attribute for the navbox as a whole.<br />
<br />
:; ''titleclass''<br />
:: This parameter is inserted into the "class" attribute for the navbox's title caption.<br />
<br />
This template supports the addition of microformat information. This is done by adding "class" attributes to various data cells, indicating what kind of information is contained within. To flag a navbox as containing [[hCard]] information about a person, for example, add the following parameter:<br />
<br />
<pre><br />
| bodyclass = vcard<br />
</pre><br />
<br />
''and''<br />
<br />
<pre><br />
| titleclass = fn<br />
</pre><br />
<br />
''or'' (for example):<br />
<br />
<pre><nowiki><br />
| title = The books of <span class="fn">[[Iain Banks]]</span><br />
</nowiki></pre><br />
<br />
...and so forth.<br />
<br />
See [[Wikipedia:WikiProject Microformats]] for more information on adding microformat information to Wikipedia, and [[microformat]] for more information on microformats in general.<br />
<br />
== Layout of table ==<br />
<br />
Table generated by {{tl|Navbox}} '''without''' ''image'', ''above'' and ''below'' parameters (gray list background color added for illustration only):<br />
{{Navbox<br />
| name = Navbox/doc<br />
| state = uncollapsed<br />
| liststyle = background: silver;<br />
| title = {{{title}}}<br />
| group1 = {{{group1}}}<br />
| list1 = {{{list1}}}<br />
| group2 = {{{group2}}}<br />
| list2 = {{{list2}}}<br />
| list3 = {{{list3}}} ''without {{{group3}}}''<br />
| group4 = {{{group4}}}<br />
| list4 = {{{list4}}}<br />
}}<br />
<br />
<br />
Table generated by {{tl|Navbox}} '''with''' ''image'', ''above'' and ''below'' parameters (gray list background color added for illustration only):<br />
{{Navbox<br />
| name = Navbox/doc<br />
| state = uncollapsed<br />
| liststyle = background: silver;<br />
| image = {{{image}}}<br />
| title = {{{title}}}<br />
| above = {{{above}}}<br />
| group1 = {{{group1}}}<br />
| list1 = {{{list1}}}<br />
| group2 = {{{group2}}}<br />
| list2 = {{{list2}}}<br />
| list3 = {{{list3}}} ''without {{{group3}}}''<br />
| group4 = {{{group4}}}<br />
| list4 = {{{list4}}}<br />
| below = {{{below}}}<br />
}}<br />
<br />
<br />
Table generated by {{tl|Navbox}} '''with''' ''image'', ''imageleft'', ''lists'', and '''without''' ''groups'', ''above'', ''below'' (gray list background color added for illustration only):<br />
{{Navbox<br />
| name = Navbox/doc<br />
| state = uncollapsed<br />
| liststyle = background: silver;<br />
| image = {{{image}}}<br />
| imageleft = {{{imageleft}}}<br />
| title = {{{title}}}<br />
| list1 = {{{list1}}}<br />
| list2 = {{{list2}}}<br />
| list3 = {{{list3}}}<br />
| list4 = {{{list4}}}<br />
}}<br />
<br />
== Examples ==<br />
<br />
<!-- Please do not encourage folks to use <div> within Navboxes as (unless handled carefully) they can negate liststyles/groupstyles/etc. settings. --><br />
<br />
=== No image ===<br />
<br />
<pre style="overflow: auto;"><br />
{{Navbox<br />
| name = Navbox/doc<br />
| title = [[Multimedia Super Corridor|MSC Malaysia]]<br />
| listclass = hlist<br />
<br />
| group1 = Centre<br />
| list1 =<br />
* [[Cyberjaya]]<br />
<br />
| group2 = Area<br />
| list2 =<br />
* [[Klang Valley]]<br />
<br />
| group3 = Major landmarks<br />
| list3 =<br />
* [[Petronas Twin Towers]]<br />
* [[Kuala Lumpur Tower]]<br />
* [[Kuala Lumpur Sentral]]<br />
* [[Technology Park Malaysia]]<br />
* [[Putrajaya]]<br />
* [[Cyberjaya]]<br />
* [[Kuala Lumpur International Airport]]<br />
<br />
| group4 = Infrastructure<br />
| list4 =<br />
* [[Express Rail Link]]<br />
* [[KL-KLIA Dedicated Expressway]]<br />
<br />
| group5 = Prime applications<br />
| list5 =<br />
* [[EGovernment]]<br />
* [[MyKad]]<br />
}}<br />
</pre><br />
<br />
{{Navbox<br />
| name = Navbox/doc<br />
| state = uncollapsed<br />
| title = [[Multimedia Super Corridor|MSC Malaysia]]<br />
| listclass = hlist<br />
<br />
| group1 = Centre<br />
| list1 =<br />
* [[Cyberjaya]]<br />
<br />
| group2 = Area<br />
| list2 =<br />
* [[Klang Valley]]<br />
<br />
| group3 = Major landmarks<br />
| list3 =<br />
* [[Petronas Twin Towers]]<br />
* [[Kuala Lumpur Tower]]<br />
* [[Kuala Lumpur Sentral]]<br />
* [[Technology Park Malaysia]]<br />
* [[Putrajaya]]<br />
* [[Cyberjaya]]<br />
* [[Kuala Lumpur International Airport]]<br />
<br />
| group4 = Infrastructure<br />
| list4 =<br />
* [[Express Rail Link]]<br />
* [[KL-KLIA Dedicated Expressway]]<br />
<br />
| group5 = Prime applications<br />
| list5 =<br />
* [[EGovernment]]<br />
* [[MyKad]]<br />
}}<br />
<br />
=== With image, without groups ===<br />
<br />
<pre style="overflow: auto;"><br />
{{Navbox<br />
| name = Navbox/doc<br />
| title = [[Multimedia Super Corridor|MSC Malaysia]]<br />
| listclass = hlist<br />
| image = [[File:Flag of Malaysia.svg|80px|link=|alt=]]<br />
<br />
| list1 =<br />
* [[Petronas Twin Towers]]<br />
* [[Kuala Lumpur Tower]]<br />
* [[Kuala Lumpur Sentral]]<br />
* [[Technology Park Malaysia]]<br />
* [[Putrajaya]]<br />
* [[Cyberjaya]]<br />
* [[Kuala Lumpur International Airport]]<br />
}}<br />
</pre><br />
{{Navbox<br />
| name = Navbox/doc<br />
| title = [[Multimedia Super Corridor|MSC Malaysia]]<br />
| listclass = hlist<br />
| image = [[File:Flag of Malaysia.svg|80px|link=|alt=]]<br />
<br />
| list1 =<br />
* [[Petronas Twin Towers]]<br />
* [[Kuala Lumpur Tower]]<br />
* [[Kuala Lumpur Sentral]]<br />
* [[Technology Park Malaysia]]<br />
* [[Putrajaya]]<br />
* [[Cyberjaya]]<br />
* [[Kuala Lumpur International Airport]]<br />
}}<br />
<br />
=== With two images, without groups, multiple lists ===<br />
<br />
<pre style="overflow: auto;"><br />
{{Navbox<br />
| name = Navbox/doc<br />
| title = [[Multimedia Super Corridor|MSC Malaysia]]<br />
| listclass = hlist<br />
| image = [[File:Flag of Malaysia.svg|80px|link=|alt=]]<br />
| imageleft = [[File:Flag of Malaysia.svg|80px]]<br />
<br />
| list1 =<br />
* [[Petronas Twin Towers]]<br />
* [[Kuala Lumpur Tower]]<br />
* [[Kuala Lumpur Sentral]]<br />
<br />
| list2 =<br />
* [[Express Rail Link]]<br />
* [[KL-KLIA Dedicated Expressway]]<br />
<br />
| list3 =<br />
* [[EGovernment]]<br />
* [[MyKad]]<br />
<br />
| list4 =<br />
* [[Klang Valley]]<br />
}}<br />
</pre><br />
<br />
{{Navbox<br />
| name = Navbox/doc<br />
| title = [[Multimedia Super Corridor|MSC Malaysia]]<br />
| listclass = hlist<br />
| image = [[File:Flag of Malaysia.svg|80px|link=|alt=]]<br />
| imageleft = [[File:Flag of Malaysia.svg|80px]]<br />
<br />
| list1 =<br />
* [[Petronas Twin Towers]]<br />
* [[Kuala Lumpur Tower]]<br />
* [[Kuala Lumpur Sentral]]<br />
<br />
| list2 =<br />
* [[Express Rail Link]]<br />
* [[KL-KLIA Dedicated Expressway]]<br />
<br />
| list3 =<br />
* [[EGovernment]]<br />
* [[MyKad]]<br />
<br />
| list4 =<br />
* [[Klang Valley]]<br />
}}<br />
<br />
=== With image, groups, above, below ===<br />
<br />
<pre style="overflow: auto;"><br />
{{Navbox<br />
| name = Navbox/doc<br />
| title = [[Multimedia Super Corridor|MSC Malaysia]]<br />
| listclass = hlist<br />
| above = Above text goes here<br />
| image = [[File:Flag of Malaysia.svg|80px|link=|alt=]]<br />
<br />
| group1 = Centre<br />
| list1 =<br />
* [[Cyberjaya]]<br />
<br />
| group2 = Area<br />
| list2 =<br />
* [[Klang Valley]]<br />
<br />
| group3 = Major landmarks<br />
| list3 =<br />
* [[Petronas Twin Towers]]<br />
* [[Kuala Lumpur Tower]]<br />
* [[Kuala Lumpur Sentral]]<br />
* [[Technology Park Malaysia]]<br />
* [[Putrajaya]]<br />
* [[Cyberjaya]]<br />
<br />
| group4 = Infrastructure<br />
| list4 =<br />
* [[Express Rail Link]]<br />
* [[KL-KLIA Dedicated Expressway]]<br />
<br />
| group5 = Prime applications<br />
| list5 =<br />
* [[EGovernment]]<br />
* [[MyKad]]<br />
<br />
| below = Website: {{URL|http://www.msc.com.my/}}<br />
}}<br />
</pre><br />
<br />
{{Navbox<br />
| name = Navbox/doc<br />
| title = [[Multimedia Super Corridor|MSC Malaysia]]<br />
| listclass = hlist<br />
| above = Above text goes here<br />
| image = [[File:Flag of Malaysia.svg|80px|link=|alt=]]<br />
<br />
| group1 = Centre<br />
| list1 =<br />
* [[Cyberjaya]]<br />
<br />
| group2 = Area<br />
| list2 =<br />
* [[Klang Valley]]<br />
<br />
| group3 = Major landmarks<br />
| list3 =<br />
* [[Petronas Twin Towers]]<br />
* [[Kuala Lumpur Tower]]<br />
* [[Kuala Lumpur Sentral]]<br />
* [[Technology Park Malaysia]]<br />
* [[Putrajaya]]<br />
* [[Cyberjaya]]<br />
<br />
| group4 = Infrastructure<br />
| list4 =<br />
* [[Express Rail Link]]<br />
* [[KL-KLIA Dedicated Expressway]]<br />
<br />
| group5 = Prime applications<br />
| list5 =<br />
* [[EGovernment]]<br />
* [[MyKad]]<br />
<br />
| below = Website: {{URL|http://www.msc.com.my/}}<br />
}}<br />
<br />
== Child navboxes ==<br />
<br />
{{Selfref|For additional examples, see the [[Template:Navbox/testcases|Navbox testcases page]].}}<br />
<br />
It is possible to place multiple navboxes within a single border with the use of the ''border'' parameter, or by specifying the first parameter to be "child". The basic code for doing this is as follows (which adds a subgroup for the first group/list area):<br />
<br />
<pre style="overflow: auto;"><br />
{{Navbox<br />
| name = {{subst:PAGENAME}}<br />
| title = Title<br />
<br />
| group1 = [optional]<br />
| list1 = {{Navbox|child<br />
...child navbox parameters...<br />
}}<br />
<br />
...<br />
}}<br />
</pre><br />
<br />
=== Subgroups example ===<br />
<br />
{{main|Template:Navbox subgroup}}<br />
<br />
This example shows how subgroups can be used. It is recommended that one use {{tl|Navbox subgroup}}, but the same result can be reached by using {{tl|Navbox}} with <code>border = child</code> or the first unnamed parameter set to <code>child</code>. The ''evenodd'' parameter is used to reverse striping in some of the subgroups in order to get all of the stripes to line up properly. To remove the striping altogether, you can set <code>liststyle = background:transparent;</code> in each of the navboxes.<br />
<br />
{{Navbox<br />
| name = Navbox/doc<br />
| image = [[File:Flag of the United States.svg|100px|link=|alt=]]<br />
| state = uncollapsed<br />
| title = Multiple subgroup example<br />
| above = Above<br />
| below = Below<br />
<br />
| group1 = Group1<br />
| list1 = List1<br />
| group2 = Group2<br />
| list2 =<br />
{{Navbox|child<br />
| evenodd = swap<br />
| group1 = Group2.1<br />
| list1 = List1<br />
| group2 = Group2.2<br />
| list2 = List2<br />
| group3 = Group2.3<br />
| list3 = List3<br />
}}<br />
<br />
| group3 = Group3<br />
| list3 = List3<br />
<br />
| group4 = Group4<br />
| list4 =<br />
{{Navbox|child<br />
| evenodd = swap<br />
| group1 = Group4.1<br />
| list1 = List1<br />
| group2 = Group4.2<br />
| list2 = List2<br />
| group3 = Group4.3<br />
| list3 = List3<br />
}}<br />
}}<br />
<br />
=== Multiple show/hides in a single container ===<br />
<br />
{{main|Template:Navbox with collapsible groups}}<br />
<br />
The example below is generated using a regular navbox for the main container, then its list1, list2, and list3 parameters each contain another navbox, with <code>1 = child</code> set. The view (v), discuss (d), edit (e) navbar links are hidden using <code>navbar = plain</code> for each of them, or could be suppresed by just leaving out the ''name'' parameter (child navboxes do not require the name parameter to be set, unlike regular navboxes).<br />
<br />
{{Navbox<br />
| name = Navbox/doc<br />
| title = [[File:Blason France moderne.svg|x17px|link=|alt=]] [[File:Flag of France.svg|x17px|link=|alt=]] [[French colonial empire|Former French overseas empire]]<br />
| state = uncollapsed<br />
| list1 = {{Navbox|child<br />
| navbar = plain<br />
| title = [[French colonial empire|Former French colonies]] in [[Africa]] and the [[Indian Ocean]]<br />
| listclass = hlist<br />
<br />
| group1 = [[Mahgreb]]<br />
| list1 =<br />
* [[French rule in Algeria|Algeria]]<br />
* [[French Morocco|Morocco]] <small>([[Arguin|Arguin Island]])</small><br />
* [[History of Tunisia|Tunisia]]<br />
<br />
| group2 = [[French West Africa]]<br />
| list2 =<br />
* [[History of Côte d'Ivoire#French Period|Côte d'Ivoire]]<br />
* [[French Dahomey|Dahomey]]<br />
* [[French Sudan]]<br />
* [[French Guinea|Guinea]]<br />
* [[History of Mauritania#French colonization and post-colonial history|Mauritania]]<br />
* [[History of Niger#Colonization|Niger]]<br />
* [[History of Senegal|Senegal]]<br />
* [[French Upper Volta|Upper Volta]]<br />
* [[French Togoland]]<br />
* [[James Island (The Gambia)|James Island]]<br />
<br />
| group3 = [[French Equatorial Africa]]<br />
| list3 =<br />
* [[Colonial Chad|Chad]]<br />
* [[History of Gabon|Gabon]]<br />
* [[History of the Republic of the Congo|Middle Congo]]<br />
* [[Oubangui-Chari]]<br />
<br />
| group4 = [[Comoros]]<br />
| list4 =<br />
* [[Anjouan]]<br />
* [[Grande Comore]]<br />
* [[Mohéli]]<br />
* [[History of Djibouti#French Interest|French Somaliland (Djibouti)]]<br />
* [[History of Madagascar#French control|Madagascar]]<br />
* [[Mauritius|Ile de France]]<br />
* [[Seychelles]]<br />
}}<br />
<br />
| list2 = {{Navbox|child<br />
| navbar = plain<br />
| title = [[French colonial empire|Former French colonies]] in the [[Americas]]<br />
| listclass = hlist<br />
<br />
| list1 =<br />
* [[New France]]{{spaces|2}}<small>([[Acadia]], [[Louisiana (New France)|Louisiana]], [[Canada, New France|Canada]], [[Newfoundland (island)|Terre Neuve]]) 1655–1763 </small><br />
<br />
| list2 =<br />
* [[Inini]]<br />
* [[Berbice]]<br />
* [[Saint-Domingue]]<br />
* <small>[[Haiti]]</small><br />
* [[Tobago]]<br />
* [[History of the British Virgin Islands|Virgin Islands]]<br />
* [[France Antarctique]]<br />
* [[France Équinoxiale]]<br />
<br />
| below = [[French West India Company]]<br />
}}<br />
<br />
| list3 = {{Navbox|child<br />
| navbar = plain<br />
| title = [[French colonial empire|Former French colonies]] in [[Asia]] and [[Oceania]]<br />
| listclass = hlist<br />
<br />
| group1 = [[French India]]<br />
| list1 =<br />
* [[Chandernagor]]<br />
* [[Coromandel Coast]]<br />
* [[History of Chennai|Madras]]<br />
* [[Mahé, India|Mahé]]<br />
* [[History of Pondicherry|Pondichéry]]<br />
* [[Karaikal]]<br />
* [[Yanam (India)|Yanaon]]<br />
<br />
| group2 = [[French Indochina]]<br />
| list2 =<br />
* [[Colonial Cambodia|Cambodia]]<br />
* [[History of Laos to 1945#French Laos|Laos]]<br />
* [[French Indochina|Vietnam]] <small>([[Annam (French colony)|Annam]], [[Cochinchina]], [[Tonkin]])</small><br />
<br />
| group3 = Other Asian<br />
| list3 =<br />
* [[Alawite State|Alaouites]]<br />
* [[Republic of Hatay|Alexandretta-Hatay]]<br />
* [[Sri Lanka|Ceylon]]<br />
* [[Kwangchowan]]<br />
<br />
| group4 = [[Oceania]]<br />
| list4 =<br />
* [[New Hebrides]]<br />
** [[History of Vanuatu|Vanuatu]]<br />
<br />
| below = [[French East India Company]]<br />
}}<br />
}}<br />
<br />
== Relationship with other Navbox templates ==<br />
<br />
This navbox template is specifically designed to work in conjunction with two other sister templates: {{tl|Navbox with columns}} and {{tl|Navbox with collapsible groups}}. All three of these templates share common parameters for consistency and ease of use (such parameters are marked with an asterisk (*) in the [[#Parameter descriptions|parameter descriptions]] list hereinbefore). Most importantly, each template can be used as a child of one another (by using the {{para|border|child}} parameter, or by specifying the first unnamed parameter to be <code>child</code>. For example: <code><nowiki>{{Navbox|child ...}}</nowiki></code>, <code><nowiki>{{Navbox with columns|child ...}}</nowiki></code> or <code><nowiki>{{Navbox with collapsible groups|child ...}}</nowiki></code>.<br />
<br />
== Technical details ==<br />
<br />
* This template uses CSS classes for most of its looks, thus it is fully skinnable.<br />
* Internally this meta template uses HTML markup instead of wiki markup for the table code. That is the usual way we make meta templates since wiki markup has several drawbacks. For instance it makes it harder to use [[m:Help:ParserFunctions|parser functions]] and special characters in parameters.<br />
* For more technical details see the [[{{TALKPAGENAME}}|talk page]], the CSS classes in [[MediaWiki:Common.css]] and the collapsible table used to hide the box in [[MediaWiki:Common.js]].<br />
<br />
=== Intricacies ===<br />
<br />
* The 2px wide border between groups and lists is drawn using the border-left property of the list cell. Thus, if you wish to change the background color of the template (for example <code>bodystyle = background:purple;</code>), then you'll need to make the border-left-color match the background color (i.e. <code>liststyle = border-left-color: purple;</code>). If you wish to have a border around each list cell, then the 2px border between the list cells and group cells will disappear; you'll have to come up with your own solution.<br />
* The list cell width is initially set to 100%. Thus, if you wish to manually set the width of group cells, you'll need to also specify the liststyle to have width: auto. If you wish to set the group width and use images, it's up to you to figure out the CSS in the groupstyle, liststyle, imagestyle, and imageleftstyle parameters to get everything to work correctly. Example of setting group width:<br />
:: <code>groupstyle = width: 10em;</code><br />
:: <code>liststyle = width: auto;</code><br />
* Adjacent navboxes have only a 1 pixel border between them (except in IE 6, which doesn't support the necessary CSS). If you set the top or bottom margin of <code>style/bodystyle</code>, then this will not work.<br />
* The default margin-left and margin-right of the outer navbox table are set to "auto;". If you wish to use navbox as a float, you need to manually set the margin-left and margin-right values, because the auto margins interfere with the float option. For example, add the following code to use the navbox as a float:<br />
::<code>style = width: 22em; float: right; margin-left: 1em; margin-right: 0;</code><br />
<br />
=== Copying to other projects or wikis? ===<br />
<br />
Using this template on other wikis requires [[HTML Tidy]] to be turned on. A version that does not require Tidy can be found at [[Wikipedia:WikiProject Transwiki/Template:Navbox]]. (That version generally shouldn't be used here on the English Wikipedia.) More detailed information on copying {{tlf|Navbox}} to other wikis can be found on the [[Template talk:Navbox|talk page]].<br />
<br />
=== Known issues ===<br />
<br />
# If the heading of the navbox spans more than one line, the second line will be displayed to the right of center. This can be avoided by hard-coding linebreaks with {{tag|br|single|params=clear="all"}}.<br />
# In Internet Explorer 8 and 9, there is a bug when using <code>hlist</code>; navbox will fail to wrap the list to the next line if the list items start with an image, causing navbox to extend its width outside the screen. This can be fixed by adding <code>&amp;nbsp;</code> in front of the images.<br />
# Excessive use of the '''unsubstituted''' {{tlx|•}} template as a delimiter, can in extreme cases cause the wiki page rendering to fail&nbsp;— there is a limit to the number of templates that can be used on a page (example [[Ketamine]] where the inclusion of eleven Navboxes with hundreds of bullets caused the page load not to complete, only the substitution of the bullets in those navboxes cured the problem). Use of the <code>hlist</code> class avoids the delimiter transclusion issue altogether, as the delimiters are rendered via CSS.<br />
<br />
== See also ==<br />
<br />
* {{tl|Navbar}} – Used for the navigation links in navbox.<br />
* {{tl|Nobold}} – To display text at normal font-weight within a context where the default font-weight is bold, e.g. header cells in tables.<br />
* {{tl|Sidebar}} – Vertically-aligned navigation (navbox) templates.<br />
* [[Template:Navbox/testcases]] – For additional examples of template code.<br />
* [[Wikipedia:Line break handling]] – The how-to guide about how to handle word wraps (line breaks) on Wikipedia, such as the wrapping of the link lists used in navboxes.<br />
* {{tl|Nowrap begin}}, {{tl|·}} and {{tl|•}} are '''deprecated''' in favor of the <code>hlist</code> class for formatting lists. See [[Template:Flatlist#Technical details|Flatlist]] for a technical explanation of how <code>hlist</code> works.<br />
<br />
{{Navigation templates}}<br />
<br />
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||<br />
<br />
<!---CATEGORIES HERE---><br />
<br />
[[Category:Navigational boxes| ]]<br />
[[Category:Templates generating microformats]]<br />
[[Category:Metatemplates]]<br />
[[Category:Exclude in print]]<br />
<br />
<!---INTERWIKIS HERE---><br />
<br />
<br />
}}</includeonly></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:Navbox&diff=22713Template:Navbox2012-11-01T03:56:46Z<p>Mitch Gore: Created page with "<!-- Please do not edit without discussion first as this is a VERY complex template. -->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table cellspaci..."</p>
<hr />
<div><!--<br />
<br />
Please do not edit without discussion first as this is a VERY complex template.<br />
<br />
-->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table cellspacing="0" <!--<br />
-->class="navbox" style="border-spacing:0;{{{bodystyle|}}};{{{style|}}}"><tr><td style="padding:2px;">}}<!--<br />
<br />
--><table cellspacing="0" class="nowraplinks {{{bodyclass|}}} {{#if:{{{title|}}}|{{#switch:{{{state|}}}|<!--<br />
-->plain|off=|#default=collapsible {{#if:{{{state|}}}|{{{state}}}|autocollapse}}}}}} {{#switch:{{{border|{{{1|}}}}}}|<!--<br />
-->subgroup|child|none=navbox-subgroup" style="border-spacing:0;{{{bodystyle|}}};{{{style|}}}|<!--<br />
-->#default=navbox-inner" style="border-spacing:0;background:transparent;color:inherit}};{{{innerstyle|}}};"><!--<br />
<br />
<br />
---Title and Navbar---<br />
-->{{#if:{{{title|}}}|<tr>{{#if:{{{titlegroup|}}}|<!--<br />
--><th scope="row" class="navbox-group {{{titlegroupclass|}}}" <!--<br />
-->style="{{{basestyle|}}};{{{groupstyle|}}};{{{titlegroupstyle|}}}"><!--<br />
-->{{{titlegroup|}}}</th><th scope="col" style="border-left:2px solid #fdfdfd;width:100%;|<!--<br />
--><th scope="col" style="}}{{{basestyle|}}};{{{titlestyle|}}}" class="navbox-title" <!--<br />
-->colspan={{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}{{#if:{{{titlegroup|}}}|-1}}}}><!--<br />
<br />
-->{{#if:{{#switch:{{{navbar|}}}|plain|off=1}}<!--<br />
-->{{#if:{{{name|}}}||{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=1}}}}|<!--<br />
-->{{#ifeq:{{{navbar|}}}|off|{{#ifeq:{{{state|}}}|plain|<span style="float:right;width:6em;">&nbsp;</span>}}|<!--<br />
-->{{#ifeq:{{{state|}}}|plain||<span style="float:left;width:6em;">&nbsp;</span>}}}}|<!--<br />
-->{{#if:{{{name|}}}|{{Navbar|{{{name}}}|mini=1|<!--<br />
-->fontstyle={{{basestyle|}}};{{{titlestyle|}}};background:none transparent;border:none;}}|<!--<br />
--><span class="error" style="float:left;white-space:nowrap;">Error: No name provided</span>}}<!--<br />
-->{{#ifeq:{{{state|}}}|plain|<span style="float:right;width:6em;">&nbsp;</span>}}}}<!--<br />
<br />
--><div class="{{{titleclass|}}}" style="font-size:110%;"><br />
{{{title}}}</div></th></tr>}}<!--<br />
<br />
<br />
---Above---<br />
-->{{#if:{{{above|}}}|<!--<br />
-->{{#if:{{{title|}}}|<tr style="height:2px;"><td></td></tr>}}<!--<br />
--><tr><td class="navbox-abovebelow {{{aboveclass|}}}" style="{{{basestyle|}}};{{{abovestyle|}}}" <!--<br />
-->colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}"><div><br />
{{{above}}}</div></td></tr>}}<!--<br />
<br />
<br />
---Body---<br />
<br />
---First group/list and images---<br />
-->{{#if:{{{list1|}}}|{{#if:{{{title|}}}{{{above|}}}|<tr style="height:2px;"><td></td></tr>}}<tr><!--<br />
<br />
-->{{#if:{{{imageleft|}}}|<!--<br />
--><td class="navbox-image {{{imageclass|}}}" style="width:0%;padding:0px 2px 0px 0px;{{{imageleftstyle|}}}" <!--<br />
-->rowspan={{#expr:1{{#if:{{{list2|}}}|+2}}{{#if:{{{list3|}}}|+2}}{{#if:{{{list4|}}}|+2}}<!--<br />
-->{{#if:{{{list5|}}}|+2}}{{#if:{{{list6|}}}|+2}}{{#if:{{{list7|}}}|+2}}{{#if:{{{list8|}}}|+2}}<!--<br />
-->{{#if:{{{list9|}}}|+2}}{{#if:{{{list10|}}}|+2}}{{#if:{{{list11|}}}|+2}}{{#if:{{{list12|}}}|+2}}<!--<br />
-->{{#if:{{{list13|}}}|+2}}{{#if:{{{list14|}}}|+2}}{{#if:{{{list15|}}}|+2}}{{#if:{{{list16|}}}|+2}}<!--<br />
-->{{#if:{{{list17|}}}|+2}}{{#if:{{{list18|}}}|+2}}{{#if:{{{list19|}}}|+2}}{{#if:{{{list20|}}}|+2}}}}><div><br />
{{{imageleft}}}</div></td>}}<!--<br />
<br />
-->{{#if:{{{group1|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--<br />
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group1style|}}}"><!--<br />
-->{{{group1}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--<br />
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list1style|}}}" <!--<br />
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!--<br />
--><div style="padding:{{{list1padding|{{{listpadding|0em 0.25em}}}}}}"><br />
{{{list1}}}</div></td><!--<br />
<br />
-->{{#if:{{{image|}}}|<!--<br />
--><td class="navbox-image {{{imageclass|}}}" style="width:0%;padding:0px 0px 0px 2px;{{{imagestyle|}}}" <!--<br />
-->rowspan={{#expr:1{{#if:{{{list2|}}}|+2}}{{#if:{{{list3|}}}|+2}}{{#if:{{{list4|}}}|+2}}<!--<br />
-->{{#if:{{{list5|}}}|+2}}{{#if:{{{list6|}}}|+2}}{{#if:{{{list7|}}}|+2}}{{#if:{{{list8|}}}|+2}}<!--<br />
-->{{#if:{{{list9|}}}|+2}}{{#if:{{{list10|}}}|+2}}{{#if:{{{list11|}}}|+2}}{{#if:{{{list12|}}}|+2}}<!--<br />
-->{{#if:{{{list13|}}}|+2}}{{#if:{{{list14|}}}|+2}}{{#if:{{{list15|}}}|+2}}{{#if:{{{list16|}}}|+2}}<!--<br />
-->{{#if:{{{list17|}}}|+2}}{{#if:{{{list18|}}}|+2}}{{#if:{{{list19|}}}|+2}}{{#if:{{{list20|}}}|+2}}}}><div><br />
{{{image}}}</div></td>}}<!--<br />
<br />
--></tr>}}<!--<br />
<br />
<br />
---Remaining groups/lists---<br />
<br />
-->{{#if:{{{list2|}}}|<!--<br />
-->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}|<tr style="height:2px"><td></td></tr>}}<tr><!--<br />
-->{{#if:{{{group2|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--<br />
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group2style|}}}"><!--<br />
-->{{{group2}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--<br />
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list2style|}}}" <!--<br />
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!--<br />
--><div style="padding:{{{listpadding|0em 0.25em}}}"><br />
{{{list2}}}</div></td></tr>}}<!--<br />
<br />
-->{{#if:{{{list3|}}}|<!--<br />
-->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}|<tr style="height:2px"><td></td></tr>}}<tr><!--<br />
-->{{#if:{{{group3|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--<br />
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group3style|}}}"><!--<br />
-->{{{group3}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--<br />
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list3style|}}}" <!--<br />
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!--<br />
--><div style="padding:{{{listpadding|0em 0.25em}}}"><br />
{{{list3}}}</div></td></tr>}}<!--<br />
<br />
-->{{#if:{{{list4|}}}|<!--<br />
--><tr style="height:2px"><td></td></tr><tr><!--<br />
-->{{#if:{{{group4|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--<br />
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group4style|}}}"><!--<br />
-->{{{group4}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--<br />
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list4style|}}}" <!--<br />
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!--<br />
--><div style="padding:{{{listpadding|0em 0.25em}}}"><br />
{{{list4}}}</div></td></tr>}}<!--<br />
<br />
-->{{#if:{{{list5|}}}|<!--<br />
--><tr style="height:2px"><td></td></tr><tr><!--<br />
-->{{#if:{{{group5|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--<br />
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group5style|}}}"><!--<br />
-->{{{group5}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--<br />
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list5style|}}}" <!--<br />
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!--<br />
--><div style="padding:{{{listpadding|0em 0.25em}}}"><br />
{{{list5}}}</div></td></tr>}}<!--<br />
<br />
-->{{#if:{{{list6|}}}|<!--<br />
--><tr style="height:2px"><td></td></tr><tr><!--<br />
-->{{#if:{{{group6|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--<br />
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group6style|}}}"><!--<br />
-->{{{group6}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--<br />
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list6style|}}}" <!--<br />
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!--<br />
--><div style="padding:{{{listpadding|0em 0.25em}}}"><br />
{{{list6}}}</div></td></tr>}}<!--<br />
<br />
-->{{#if:{{{list7|}}}|<!--<br />
--><tr style="height:2px"><td></td></tr><tr><!--<br />
-->{{#if:{{{group7|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--<br />
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group7style|}}}"><!--<br />
-->{{{group7}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--<br />
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list7style|}}}" <!--<br />
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!--<br />
--><div style="padding:{{{listpadding|0em 0.25em}}}"><br />
{{{list7}}}</div></td></tr>}}<!--<br />
<br />
-->{{#if:{{{list8|}}}|<!--<br />
--><tr style="height:2px"><td></td></tr><tr><!--<br />
-->{{#if:{{{group8|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--<br />
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group8style|}}}"><!--<br />
-->{{{group8}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--<br />
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list8style|}}}" <!--<br />
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!--<br />
--><div style="padding:{{{listpadding|0em 0.25em}}}"><br />
{{{list8}}}</div></td></tr>}}<!--<br />
<br />
-->{{#if:{{{list9|}}}|<!--<br />
--><tr style="height:2px"><td></td></tr><tr><!--<br />
-->{{#if:{{{group9|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--<br />
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group9style|}}}"><!--<br />
-->{{{group9}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--<br />
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list9style|}}}" <!--<br />
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!--<br />
--><div style="padding:{{{listpadding|0em 0.25em}}}"><br />
{{{list9}}}</div></td></tr>}}<!--<br />
<br />
-->{{#if:{{{list10|}}}|<!--<br />
--><tr style="height:2px"><td></td></tr><tr><!--<br />
-->{{#if:{{{group10|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--<br />
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group10style|}}}"><!--<br />
-->{{{group10}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--<br />
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list10style|}}}" <!--<br />
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!--<br />
--><div style="padding:{{{listpadding|0em 0.25em}}}"><br />
{{{list10}}}</div></td></tr>}}<!--<br />
<br />
-->{{#if:{{{list11|}}}|<!--<br />
--><tr style="height:2px"><td></td></tr><tr><!--<br />
-->{{#if:{{{group11|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--<br />
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group11style|}}}"><!--<br />
-->{{{group11}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--<br />
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list11style|}}}" <!--<br />
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!--<br />
--><div style="padding:{{{listpadding|0em 0.25em}}}"><br />
{{{list11}}}</div></td></tr>}}<!--<br />
<br />
-->{{#if:{{{list12|}}}|<!--<br />
--><tr style="height:2px"><td></td></tr><tr><!--<br />
-->{{#if:{{{group12|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--<br />
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group12style|}}}"><!--<br />
-->{{{group12}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--<br />
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list12style|}}}" <!--<br />
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!--<br />
--><div style="padding:{{{listpadding|0em 0.25em}}}"><br />
{{{list12}}}</div></td></tr>}}<!--<br />
<br />
-->{{#if:{{{list13|}}}|<!--<br />
--><tr style="height:2px"><td></td></tr><tr><!--<br />
-->{{#if:{{{group13|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--<br />
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group13style|}}}"><!--<br />
-->{{{group13}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--<br />
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list13style|}}}" <!--<br />
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!--<br />
--><div style="padding:{{{listpadding|0em 0.25em}}}"><br />
{{{list13}}}</div></td></tr>}}<!--<br />
<br />
-->{{#if:{{{list14|}}}|<!--<br />
--><tr style="height:2px"><td></td></tr><tr><!--<br />
-->{{#if:{{{group14|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--<br />
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group14style|}}}"><!--<br />
-->{{{group14}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--<br />
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list14style|}}}" <!--<br />
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!--<br />
--><div style="padding:{{{listpadding|0em 0.25em}}}"><br />
{{{list14}}}</div></td></tr>}}<!--<br />
<br />
-->{{#if:{{{list15|}}}|<!--<br />
--><tr style="height:2px"><td></td></tr><tr><!--<br />
-->{{#if:{{{group15|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--<br />
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group15style|}}}"><!--<br />
-->{{{group15}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--<br />
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list15style|}}}" <!--<br />
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!--<br />
--><div style="padding:{{{listpadding|0em 0.25em}}}"><br />
{{{list15}}}</div></td></tr>}}<!--<br />
<br />
-->{{#if:{{{list16|}}}|<!--<br />
--><tr style="height:2px"><td></td></tr><tr><!--<br />
-->{{#if:{{{group16|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--<br />
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group16style|}}}"><!--<br />
-->{{{group16}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--<br />
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list16style|}}}" <!--<br />
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!--<br />
--><div style="padding:{{{listpadding|0em 0.25em}}}"><br />
{{{list16}}}</div></td></tr>}}<!--<br />
<br />
-->{{#if:{{{list17|}}}|<!--<br />
--><tr style="height:2px"><td></td></tr><tr><!--<br />
-->{{#if:{{{group17|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--<br />
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group17style|}}}"><!--<br />
-->{{{group17}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--<br />
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list17style|}}}" <!--<br />
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!--<br />
--><div style="padding:{{{listpadding|0em 0.25em}}}"><br />
{{{list17}}}</div></td></tr>}}<!--<br />
<br />
-->{{#if:{{{list18|}}}|<!--<br />
--><tr style="height:2px"><td></td></tr><tr><!--<br />
-->{{#if:{{{group18|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--<br />
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group18style|}}}"><!--<br />
-->{{{group18}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--<br />
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list18style|}}}" <!--<br />
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!--<br />
--><div style="padding:{{{listpadding|0em 0.25em}}}"><br />
{{{list18}}}</div></td></tr>}}<!--<br />
<br />
-->{{#if:{{{list19|}}}|<!--<br />
--><tr style="height:2px"><td></td></tr><tr><!--<br />
-->{{#if:{{{group19|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--<br />
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group19style|}}}"><!--<br />
-->{{{group19}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--<br />
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list19style|}}}" <!--<br />
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!--<br />
--><div style="padding:{{{listpadding|0em 0.25em}}}"><br />
{{{list19}}}</div></td></tr>}}<!--<br />
<br />
-->{{#if:{{{list20|}}}|<!--<br />
--><tr style="height:2px"><td></td></tr><tr><!--<br />
-->{{#if:{{{group20|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--<br />
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group20style|}}}"><!--<br />
-->{{{group20}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--<br />
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list20style|}}}" <!--<br />
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!--<br />
--><div style="padding:{{{listpadding|0em 0.25em}}}"><br />
{{{list20}}}</div></td></tr>}}<!--<br />
<br />
<br />
---Below---<br />
-->{{#if:{{{below|}}}|<!--<br />
-->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}{{{list3|}}}|<tr style="height:2px;"><td></td></tr>}}<!--<br />
--><tr><td class="navbox-abovebelow {{{belowclass|}}}" style="{{{basestyle|}}};{{{belowstyle|}}}" <!--<br />
-->colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}"><div><br />
{{{below}}}</div></td></tr>}}<!--<br />
<br />
<br />
--></table>{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=<div>|none=|#default=</td></tr></table>}}<!--<br />
<br />
-->{{#ifeq:{{NAMESPACE}}|{{ns:10}}|{{#ifeq:{{{border|{{{1|}}}}}}|child||{{#ifeq:{{{border|{{{1|}}}}}}|subgroup||{{#switch:{{lc:{{SUBPAGENAME}}}}<br />
|doc<br />
|sandbox<br />
|testcases =<br />
|#default = {{#switch:{{{bodyclass|}}}<br />
|plainlist<br />
|hlist<br />
|hlist hnum<br />
|hlist vcard<br />
|vcard hlist = <br />
|#default = {{#switch:{{{listclass|}}}<br />
|plainlist<br />
|hlist<br />
|hlist hnum<br />
|hlist vcard<br />
|vcard hlist = <br />
|#default = {{#ifeq:{{{tracking|}}}|no||[[Category:Navigational boxes without horizontal lists]]}}<br />
}}<br />
}}<br />
}}<br />
}}}}}}<!--<br />
<br />
-->{{#ifeq:{{NAMESPACE}}|{{ns:10}}|{{#switch:{{lc:{{SUBPAGENAME}}}}<br />
|sandbox<br />
|testcases =<br />
|#default = {{#switch:{{{liststyle|}}}<br />
|padding: 0.25em 0; line-height: 1.3em;<br />
|padding:0.25em 0; line-height:1.4em; width:auto;<br />
|padding:0.4em 0; line-height:1.4em; = [[Category:Navigational boxes with custom list spacing]]<br />
|#default = <br />
}}<br />
}}}}<includeonly>{{template other|{{#if:{{{titlestyle|}}}{{{groupstyle|}}}|[[Category:Navboxes using background colours]]}}}}</includeonly><noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc sub-page --></noinclude></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:Sidebar/doc&diff=22712Template:Sidebar/doc2012-11-01T03:56:13Z<p>Mitch Gore: Created page with "{{documentation subpage}} This template is intended as a metatemplate for sidebar templates (vertically-aligned navigation (navbox) templat..."</p>
<hr />
<div>{{documentation subpage}}<br />
<br />
This template is intended as a metatemplate for sidebar templates (vertically-aligned [[Wikipedia:Navigation templates|navigation (navbox)]] templates usually positioned on the right-hand sides of pages) in the same spirit as {{tl|Infobox}} for [[Wikipedia:Manual of Style/Infoboxes|infobox]] templates and {{tl|Navbox}} for navbox templates.<br />
<br />
{{tl|Sidebar with collapsible lists}} adds collapsibility to a Sidebar's sections, i.e. the means to show or hide sections by clicking links beside their headings.<br />
<br />
== Usage ==<br />
{{sidebar<br />
| name = {{PAGENAME}}<br />
| outertitle = {{{outertitle}}}<br />
| topimage = {{{topimage}}}<br />
| topcaption = {{{topcaption}}}<br />
| pretitle = {{{pretitle}}}<br />
| title = {{{title}}}<br />
| image = {{{image}}}<br />
<br />
| above = {{{above}}}<br />
| heading1 = {{{heading1}}}<br />
| content1 = {{{content1}}}<br />
| heading2 = {{{heading2}}}<br />
| content2 = {{{content2}}}<br />
| heading3 = {{{heading3}}}<br />
| content3 = {{{content3}}}<br />
| content4 = ................<br />
| heading35 = {{{heading35}}}<br />
| content35 = {{{content35}}}<br />
| below = {{{below}}}<br />
<br />
}}<br />
<br />
Parameters with infrequent use omitted.<br />
<pre style="overflow: auto;"><br />
{{sidebar<br />
| name = {{subst:PAGENAME}}<br />
| outertitle = <br />
| topimage = <br />
| pretitle = <br />
| title = <br />
| image = <br />
<br />
| headingstyle = <br />
| contentstyle = <br />
<br />
| heading1 = <br />
| content1 = <br />
<br />
| heading2 = <br />
| content2 = <br />
<br />
| heading3 = <br />
| content3 = <br />
<br />
...<br />
<br />
| heading35 = <br />
| content35 = <br />
<br />
}}<br />
</pre><br />
<br />
== Parameters ==<br />
No parameters are required unless {{tl|navbar}} links ({{small|V - T - E}}) are to appear at the bottom of the sidebar, in which case the {{para|name}} parameter is needed (see entry in the table immediately below).<br />
<br />
=== Principal ===<br />
{| class="wikitable" style="line-height: 1.4em;"<br />
! style="width: 7.0em;" | Parameter !! Explanation<br />
|- style="vertical-align: top;"<br />
| {{para|name}}<br />
| The sidebar's name, i.e., the name following "Template:" in the page's name. Required for the {{tl|navbar}} links at the bottom of the sidebar to function correctly, unless these are omitted (see {{para|navbar}} at the bottom of this table). It is recommended to use ''<nowiki>{{subst:PAGENAME}}</nowiki>'' for this field.<br />
|- style="vertical-align: top;"<br />
| {{para|outertitle}}<br />
| Use to place a title for the sidebar immediately above the sidebar.<br />
|- style="vertical-align: top;"<br />
| {{para|topimage}}<br />
| Use to place an image at the top of the sidebar, i.e., above any {{para|title}} included.<br /><br />
Full wikisyntax expected (i.e., <code><nowiki>[[File:...]]</nowiki></code>).<br /><br />
To add a caption below the image, use {{para|topcaption}}.<br />
|- style="vertical-align: top;"<br />
| {{para|pretitle}}<br />
| Use to place a line such as "Part of the ''X'' series on" before the title.<br />
|- style="vertical-align: top;"<br />
| {{para|title}}<br />
| Use to place a title for the sidebar at the top of the sidebar (immediately below the {{para|topimage}}, if used).<br />
|- style="vertical-align: top;"<br />
| {{para|image}}<br />
| Use to place an image between the {{para|title}} (if used) and first section.<br /><br />
As with {{para|topimage}}, full wikisyntax expected (i.e., <code><nowiki>[[File:...]]</nowiki></code>).<br /><br />
To add a caption below the image, use {{para|caption}}.<br />
|- style="vertical-align: top;"<br />
| {{para|headingstyle}}<br />
| Use to alter the default [[Help:Cascading Style Sheets|CSS]] styling set for section headings.<br /><br />
To alter the CSS styling for a specific section's heading, use {{para|heading<sub>n</sub>style}}, where ''n'' is the number of the section.<br />
|- style="vertical-align: top;"<br />
| {{para|contentstyle}}<br />
| Use to alter the default CSS styling set for section content.<br /><br />
To alter the CSS styling for a particular section's content, use {{para|content<sub>n</sub>style}}, where ''n'' is the number of the section.<br />
|- style="vertical-align: top;"<br />
| {{para|heading1}} || First section's heading (if needed).<br />
|-<br />
| {{para|'''content1'''}} || First section's content (required).<br />
|- style="vertical-align: top;"<br />
| {{para|heading2}} || Second section's heading (if needed).<br />
|-<br />
| {{para|content2}} || Second section's content (if needed).<br />
|- style="vertical-align: top;"<br />
| {{para|heading3}} || Third section's heading (if needed).<br />
|-<br />
| {{para|content3}} || Third section's content (if needed).<br />
|-<br />
| colspan="2" | ...... etc ......<br />
|-<br />
| {{para|heading35}} || rowspan="2" | Currently, the last possible section heading and/or content (if needed).<br />
|-<br />
| {{para|content35}}<br />
|}<br />
<br />
=== Other parameters ===<br />
{| class="wikitable plainlist" style="line-height: 1.4em;"<br />
! style="width: 10.0em;" | Parameter !! Explanation<br />
|- style="vertical-align: top;"<br />
| {{para|above}}<br />
| Corresponds to {{para|above}} offered by {{tl|Navbox}}.<br />
|-<br />
|<br />
*{{para|bodyclass}} (or {{para|class}})<br />
*{{para|outertitleclass}}<br />
*{{para|topimageclass}}<br />
*{{para|pretitleclass}}<br />
*{{para|titleclass}}<br />
*{{para|imageclass}}<br />
*{{para|aboveclass}}<br />
*{{para|headingclass}}<br />
*{{para|contentclass}}<br />
*{{para|belowclass}}<br />
|<br />
[[Wikipedia:WikiProject Microformats#What are microformats?|Microformat]] classes for the corresponding parameters.<br /><br />
({{para|bodyclass}} (or {{para|class}}) applies to the sidebar as a whole.)<br />
|- style="vertical-align: top;"<br />
| {{para|below}}<br />
| Use to, e.g., add one or more portal links to the bottom of the template (by default in bold).<br />
|-<br />
|<br />
*{{para|bodystyle}} (or {{para|style}})<br />
*{{para|outertitlestyle}}<br />
*{{para|topimagestyle}}<br />
*{{para|topcaptionstyle}}<br />
*{{para|pretitlestyle}}<br />
*{{para|titlestyle}}<br />
*{{para|imagestyle}}<br />
*{{para|captionstyle}}<br />
*{{para|abovestyle}}<br />
*{{para|headingstyle}}<br />
*{{para|heading<sub>n</sub>style}}<br />
*{{para|contentstyle}}<br />
*{{para|content<sub>n</sub>style}}<br />
*{{para|belowstyle}}<br />
*{{para|navbarstyle}} (or {{para|tnavbarstyle}})<br />
|<br />
Use to alter default [[Help:Cascading Style Sheets|CSS]] styling for the corresponding parameters.<br /><br />
({{para|bodystyle}} (or {{para|style}}) applies to the sidebar as a whole.)<br />
|- style="vertical-align: top;"<br />
| {{para|cellspacing}}<br />
| Use to amend the default cellspacing set for the infobox-class table with which the sidebar is built.<br />
|- style="vertical-align: top;"<br />
| {{para|cellpadding}}<br />
| Ditto the default cellpadding.<br />
|- style="vertical-align: top;"<br />
| {{para|navbar}} (or {{para|tnavbar}})<br />
| Set to "none" (without the quotes) to remove the {{tl|navbar}} links appearing at the bottom of the sidebar.<br />
|- style="vertical-align: top;"<br />
| {{para|navbarfontstyle}} (or {{para|tnavbarfontstyle}})<br />
| Use to specify the font style used by the navbar at the bottom of the sidebar (see {{tl|navbar}} for options available).<br />
|}<br />
<br />
== Handling long links ==<br />
{{tl|Normalwraplink}} may be used to handle links that should wrap within the sidebar or otherwise need to be made to wrap in order to prevent the sidebar becoming too wide. Use {{tlx|Normalwraplink|''longlinkname''}}, where {{para||''longlinkname''}} is the long link without its square brackets.<br />
<br />
Use the {{para|wraplinks|true}} parameter to turn link wrapping off for the whole template.<br />
<br />
== Full blank syntax ==<br />
(omitting sections 4 to penultimate)<br />
<br />
<pre style="overflow: auto;"><br />
{{Sidebar<br />
| name = {{subst:PAGENAME}}<br />
| bodyclass = <!--or class--><br />
| bodystyle = <!--or style--><br />
| width = <br />
| cellspacing = <br />
| cellpadding = <br />
<br />
| outertitle = <br />
| outertitleclass = <br />
| outertitlestyle = <br />
<br />
| topimage = <br />
| topimageclass = <br />
| topimagestyle = <br />
| topcaption = <br />
| topcaptionstyle = <br />
<br />
| pretitle = <br />
| pretitleclass = <br />
| pretitlestyle = <br />
| title = <br />
| titleclass = <br />
<br />
| image = <br />
| imageclass = <br />
| imagestyle = <br />
| caption = <br />
| captionstyle = <br />
<br />
| above = <br />
| aboveclass = <br />
| abovestyle = <br />
<br />
| headingclass = <br />
| headingstyle = <br />
| contentclass = <br />
| contentstyle = <br />
<br />
| heading1style = <br />
| heading1 = <br />
| content1style = <br />
| content1 = <br />
<br />
| heading2style = <br />
| heading2 = <br />
| content2style = <br />
| content2 = <br />
<br />
| heading3style = <br />
| heading3 = <br />
| content3style = <br />
| content3 = <br />
<br />
<!--etc.--><br />
<br />
| heading35style = <br />
| heading35 = <br />
| content35style = <br />
| content35 = <br />
<br />
| below = <br />
| belowclass = <br />
| belowstyle = <br />
<br />
| navbar = <!--or tnavbar--><br />
| navbarstyle = <!--or tnavbarstyle--><br />
| navbarfontstyle = <!--or tnavbarfontstyle--><br />
<br />
| wraplinks = true/false<br />
}}<br />
</pre><br />
<br />
== See also ==<br />
* {{tl|Sidebar with collapsible lists}}<br />
* {{tl|Infobox}}<br />
* [[Wikipedia:UBLIST]] – for help in using unbulleted lists in fields<br />
<br />
<includeonly>{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}|<br />
<!---CATEGORIES HERE---><br />
<br />
[[Category:Exclude in print]]<br />
[[Category:Wikipedia metatemplates]]<br />
<br />
<!---INTERWIKIS HERE---><br />
<br />
<br />
}}</includeonly></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:Sidebar&diff=22711Template:Sidebar2012-11-01T03:54:44Z<p>Mitch Gore: Created page with "<table class="vertical-navbox {{#if: {{{wraplinks|}}}|{{#ifeq: {{{wraplinks|}}}|true||nowraplinks}}|nowraplinks}} {{{bodyclass|{{{class|}}}}}}" cellspacing="{{#if:{{{cellspaci..."</p>
<hr />
<div><table class="vertical-navbox {{#if: {{{wraplinks|}}}|{{#ifeq: {{{wraplinks|}}}|true||nowraplinks}}|nowraplinks}} {{{bodyclass|{{{class|}}}}}}" cellspacing="{{#if:{{{cellspacing|}}}|{{{cellspacing}}}|5}}" style="float: {{#if:{{{float|}}}|{{{float}}}|right}}; clear: {{#ifeq:{{{float|}}}|none|both|{{#if:{{{float|}}}|{{{float}}}|right}}}}; background-color: #f9f9f9; border: 1px solid #aaa; width:{{#if:{{{width|}}}|{{{width}}}|22em}}; {{#switch:{{{float|}}}|left = margin: 0 1em 1em 0;| none | right | #default = margin: 0 0 1em 1em;}} padding: 0.2em; border-spacing: 0.4em 0; text-align: center; line-height: 1.4em; font-size: 88%; {{{bodystyle|{{{style|}}}}}}" cellpadding="{{#if:{{{cellpadding|}}}|{{{cellpadding}}}|0}}">{{#if: {{{outertitle|}}}|<caption class="{{{outertitleclass|}}}" style="padding-bottom: 0.2em; font-size: 125%; line-height: 1.2em; font-weight: bold; {{{outertitlestyle|}}}">{{{outertitle}}}</caption><br />
}}{{#if: {{{topimage|}}}|<br />
<tr><br />
<td class="{{{topimageclass|}}}" style="padding: 0.4em 0; {{{topimagestyle|}}}">{{{topimage}}}{{#if: {{{topcaption|}}}|<br />
<div style="padding-top: 0.2em; line-height: 1.2em; {{{topcaptionstyle|}}}"><br />
{{{topcaption}}}</div>}}</td><br />
</tr><br />
}}{{#if: {{{pretitle|}}}|<br />
<tr><br />
<td class="{{{pretitleclass|}}}" style="{{#if: {{{topimage|}}}|padding-top: 0.2em; |padding-top: 0.4em;}} line-height: 1.2em; {{{pretitlestyle|}}}">{{{pretitle}}}</td><br />
</tr><br />
}}{{#if: {{{title|}}}|<br />
<tr><br />
<th class="{{{titleclass|}}}" style="padding: 0.2em 0.4em 0.2em; {{#if: {{{pretitle|}}}|padding-top: 0;}} font-size: 145%; line-height: 1.2em; {{{titlestyle|}}}">{{{title}}}</th><br />
</tr><br />
}}{{#if: {{{image|}}}|<br />
<tr><br />
<td class="{{{imageclass|}}}" style="padding: 0.2em 0 0.4em; {{{imagestyle|}}}">{{{image}}}{{#if: {{{caption|}}}|<br />
<div style="padding-top: 0.2em; line-height: 1.2em; {{{captionstyle|}}}"><br />
{{{caption}}}</div>}}</td><br />
</tr><br />
}}{{#if: {{{above|}}}|<br />
<tr><br />
<td class="{{{aboveclass|}}}" style="padding: 0.3em 0.4em 0.3em; font-weight: bold; {{{abovestyle|}}}"><!-- newline required for bullets to work --><br />
{{{above}}}</td><br />
}}{{#if: {{{heading1|}}}|<br />
<tr><br />
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{#if: {{{image|}}}|padding-top: 0.4em;}} {{{headingstyle|}}};{{{heading1style|}}}">{{{heading1}}}</th><br />
</tr><br />
}}{{#if:<br />
{{{content1|}}}|<br />
<tr><br />
<td class="{{{contentclass|}}}" style="{{#if: {{{heading1|{{{heading|}}}}}}||padding-top: 0.2em;}} padding-bottom: 0.2em; {{{contentstyle|}}};{{{content1style|}}}"><!-- newline required before contents# for bullets to work --><br />
{{{content1}}}</td><br />
</tr><br />
}}{{#if: {{{heading2|}}}|<br />
<tr><br />
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading2style|}}}">{{{heading2}}}</th><br />
</tr><br />
}}{{#if:<br />
{{{content2|}}}|<br />
<tr><br />
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content2style|}}}"><br />
{{{content2}}}</td><br />
</tr><br />
}}{{#if: {{{heading3|}}}|<br />
<tr><br />
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading3style|}}}">{{{heading3}}}</th><br />
</tr><br />
}}{{#if:<br />
{{{content3|}}}|<br />
<tr><br />
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content3style|}}}"><br />
{{{content3}}}</td><br />
</tr><br />
}}{{#if: {{{heading4|}}}|<br />
<tr><br />
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading4style|}}}">{{{heading4}}}</th><br />
</tr><br />
}}{{#if:<br />
{{{content4|}}}|<br />
<tr><br />
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content4style|}}}"><br />
{{{content4|}}}</td><br />
</tr><br />
}}{{#if: {{{heading5|}}}|<br />
<tr><br />
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading5style|}}}">{{{heading5}}}</th><br />
</tr><br />
}}{{#if:<br />
{{{content5|}}}|<br />
<tr><br />
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content5style|}}}"><br />
{{{content5}}}</td><br />
</tr><br />
}}{{#if: {{{heading6|}}}|<br />
<tr><br />
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading6style|}}}">{{{heading6}}}</th><br />
</tr><br />
}}{{#if:<br />
{{{content6|}}}|<br />
<tr><br />
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content6style|}}}"><br />
{{{content6}}}</td><br />
</tr><br />
}}{{#if: {{{heading7|}}}|<br />
<tr><br />
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading7style|}}}">{{{heading7}}}</th><br />
</tr><br />
}}{{#if:<br />
{{{content7|}}}|<br />
<tr><br />
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content7style|}}}"><br />
{{{content7}}}</td><br />
</tr><br />
}}{{#if: {{{heading8|}}}|<br />
<tr><br />
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading8style|}}}">{{{heading8}}}</th><br />
</tr><br />
}}{{#if:<br />
{{{content8|}}}|<br />
<tr><br />
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content8style|}}}"><br />
{{{content8}}}</td><br />
</tr><br />
}}{{#if: {{{heading9|}}}|<br />
<tr><br />
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading9style|}}}">{{{heading9}}}</th><br />
</tr><br />
}}{{#if:<br />
{{{content9|}}}|<br />
<tr><br />
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content9style|}}}"><br />
{{{content9}}}</td><br />
</tr><br />
}}{{#if: {{{heading10|}}}|<br />
<tr><br />
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading10style|}}}">{{{heading10}}}</th><br />
</tr><br />
}}{{#if:<br />
{{{content10|}}}|<br />
<tr><br />
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content10style|}}}"><br />
{{{content10}}}</td><br />
</tr><br />
}}{{#if: {{{heading11|}}}|<br />
<tr><br />
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading11style|}}}">{{{heading11}}}</th><br />
</tr><br />
}}{{#if:<br />
{{{content11|}}}|<br />
<tr><br />
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content11style|}}}"><br />
{{{content11}}}</td><br />
</tr><br />
}}{{#if: {{{heading12|}}}|<br />
<tr><br />
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading12style|}}}">{{{heading12}}}</th><br />
</tr><br />
}}{{#if:<br />
{{{content12|}}}|<br />
<tr><br />
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content12style|}}}"><br />
{{{content12}}}</td><br />
</tr><br />
}}{{#if: {{{heading13|}}}|<br />
<tr><br />
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading13style|}}}">{{{heading13}}}</th><br />
</tr><br />
}}{{#if:<br />
{{{content13|}}}|<br />
<tr><br />
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content13style|}}}"><br />
{{{content13}}}</td><br />
</tr><br />
}}{{#if: {{{heading14|}}}|<br />
<tr><br />
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading14style|}}}">{{{heading14}}}</th><br />
</tr><br />
}}{{#if:<br />
{{{content14|}}}|<br />
<tr><br />
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content14style|}}}"><br />
{{{content14}}}</td><br />
</tr><br />
}}{{#if: {{{heading15|}}}|<br />
<tr><br />
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading15style|}}}">{{{heading15}}}</th><br />
</tr><br />
}}{{#if:<br />
{{{content15|}}}|<br />
<tr><br />
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content15style|}}}"><br />
{{{content15}}}</td><br />
</tr><br />
}}{{#if: {{{heading16|}}}|<br />
<tr><br />
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading16style|}}}">{{{heading16}}}</th><br />
</tr><br />
}}{{#if:<br />
{{{content16|}}}|<br />
<tr><br />
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content16style|}}}"><br />
{{{content16}}}</td><br />
</tr><br />
}}{{#if: {{{heading17|}}}|<br />
<tr><br />
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading17style|}}}">{{{heading17}}}</th><br />
</tr><br />
}}{{#if:<br />
{{{content17|}}}|<br />
<tr><br />
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content17style|}}}"><br />
{{{content17}}}</td><br />
</tr><br />
}}{{#if: {{{heading18|}}}|<br />
<tr><br />
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading18style|}}}">{{{heading18}}}</th><br />
</tr><br />
}}{{#if:<br />
{{{content18|}}}|<br />
<tr><br />
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content18style|}}}"><br />
{{{content18}}}</td><br />
</tr><br />
}}{{#if: {{{heading19|}}}|<br />
<tr><br />
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading19style|}}}">{{{heading19}}}</th><br />
</tr><br />
}}{{#if:<br />
{{{content19|}}}|<br />
<tr><br />
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content19style|}}}"><br />
{{{content19}}}</td><br />
</tr><br />
}}{{#if: {{{heading20|}}}|<br />
<tr><br />
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading20style|}}}">{{{heading20}}}</th><br />
</tr><br />
}}{{#if:<br />
{{{content20|}}}|<br />
<tr><br />
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content20style|}}}"><br />
{{{content20}}}</td><br />
</tr><br />
}}{{#if: {{{heading21|}}}|<br />
<tr><br />
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading21style|}}}">{{{heading21}}}</th><br />
</tr><br />
}}{{#if:<br />
{{{content21|}}}|<br />
<tr><br />
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content21style|}}}"><br />
{{{content21}}}</td><br />
</tr><br />
}}{{#if: {{{heading22|}}}|<br />
<tr><br />
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading22style|}}}">{{{heading22}}}</th><br />
</tr><br />
}}{{#if:<br />
{{{content22|}}}|<br />
<tr><br />
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content22style|}}}"><br />
{{{content22}}}</td><br />
</tr><br />
}}{{#if: {{{heading23|}}}|<br />
<tr><br />
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading23style|}}}">{{{heading23}}}</th><br />
</tr><br />
}}{{#if:<br />
{{{content23|}}}|<br />
<tr><br />
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content23style|}}}"><br />
{{{content23}}}</td><br />
</tr><br />
}}{{#if: {{{heading24|}}}|<br />
<tr><br />
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading24style|}}}">{{{heading24}}}</th><br />
</tr><br />
}}{{#if:<br />
{{{content24|}}}|<br />
<tr><br />
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content24style|}}}"><br />
{{{content24}}}</td><br />
</tr><br />
}}{{#if: {{{heading25|}}}|<br />
<tr><br />
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading25style|}}}">{{{heading25}}}</th><br />
</tr><br />
}}{{#if:<br />
{{{content25|}}}|<br />
<tr><br />
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content25style|}}}"><br />
{{{content25}}}</td><br />
</tr><br />
}}{{#if: {{{heading26|}}}|<br />
<tr><br />
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading26style|}}}">{{{heading26}}}</th><br />
</tr><br />
}}{{#if:<br />
{{{content26|}}}|<br />
<tr><br />
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content26style|}}}"><br />
{{{content26}}}</td><br />
</tr><br />
}}{{#if: {{{heading27|}}}|<br />
<tr><br />
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading27style|}}}">{{{heading27}}}</th><br />
</tr><br />
}}{{#if:<br />
{{{content27|}}}|<br />
<tr><br />
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content27style|}}}"><br />
{{{content27}}}</td><br />
</tr><br />
}}{{#if: {{{heading28|}}}|<br />
<tr><br />
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading28style|}}}">{{{heading28}}}</th><br />
</tr><br />
}}{{#if:<br />
{{{content28|}}}|<br />
<tr><br />
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content28style|}}}"><br />
{{{content28}}}</td><br />
</tr><br />
}}{{#if: {{{heading29|}}}|<br />
<tr><br />
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading29style|}}}">{{{heading29}}}</th><br />
</tr><br />
}}{{#if:<br />
{{{content29|}}}|<br />
<tr><br />
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content29style|}}}"><br />
{{{content29}}}</td><br />
</tr><br />
}}{{#if: {{{heading30|}}}|<br />
<tr><br />
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading30style|}}}">{{{heading30}}}</th><br />
</tr><br />
}}{{#if:<br />
{{{content30|}}}|<br />
<tr><br />
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content30style|}}}"><br />
{{{content30}}}</td><br />
</tr><br />
}}{{#if: {{{heading31|}}}|<br />
<tr><br />
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading31style|}}}">{{{heading31}}}</th><br />
</tr><br />
}}{{#if:<br />
{{{content31|}}}|<br />
<tr><br />
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content31style|}}}"><br />
{{{content31}}}</td><br />
</tr><br />
}}{{#if: {{{heading32|}}}|<br />
<tr><br />
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading32style|}}}">{{{heading32}}}</th><br />
</tr><br />
}}{{#if:<br />
{{{content32|}}}|<br />
<tr><br />
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content32style|}}}"><br />
{{{content32}}}</td><br />
</tr><br />
}}{{#if: {{{heading33|}}}|<br />
<tr><br />
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading33style|}}}">{{{heading33}}}</th><br />
</tr><br />
}}{{#if:<br />
{{{content33|}}}|<br />
<tr><br />
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content33style|}}}"><br />
{{{content33}}}</td><br />
</tr><br />
}}{{#if: {{{heading34|}}}|<br />
<tr><br />
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading34style|}}}">{{{heading34}}}</th><br />
</tr><br />
}}{{#if:<br />
{{{content34|}}}|<br />
<tr><br />
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content34style|}}}"><br />
{{{content34}}}</td><br />
</tr><br />
}}{{#if: {{{heading35|}}}|<br />
<tr><br />
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading35style|}}}">{{{heading35}}}</th><br />
</tr><br />
}}{{#if:<br />
{{{content35|}}}|<br />
<tr><br />
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content35style|}}}"><br />
{{{content35}}}</td><br />
</tr><br />
}}{{#if: {{{below|}}}|<br />
<tr><br />
<td class="{{{belowclass|}}}" style="padding: 0.3em 0.4em 0.3em; font-weight: bold; {{{belowstyle|}}}"><br />
{{{below}}}</td><br />
</tr><br />
}}{{#switch: {{{navbar|{{{tnavbar|<noinclude>off</noinclude>}}}}}}<br />
|none |off=<br />
|#default=<tr><br />
<td style="text-align: right; font-size: 115%; {{{navbarstyle|{{{tnavbarstyle|}}}}}}">{{navbar|{{{name|{{PAGENAME}}}}}|mini=1|fontstyle={{{navbarfontstyle|{{{tnavbarfontstyle|}}}}}}}}</td><br />
</tr>}}<br />
</table><noinclude>{{documentation}}<!-- Please add categories and interwikis to the bottom of Template: Sidebar/doc, not here --></noinclude></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:Citation_Style_documentation&diff=22710Template:Citation Style documentation2012-11-01T03:46:32Z<p>Mitch Gore: Created page with "{{Documentation subpage}} {{template shortcut|csdoc}} {{notice|When updating this template keep in mind that it is used on a number of template documentation pages. If the par..."</p>
<hr />
<div>{{Documentation subpage}}<br />
{{template shortcut|csdoc}}<br />
{{notice|When updating this template keep in mind that it is used on a number of template documentation pages. If the parameters in question are unique to a template, then either add it manually to the template documentation or create a new section here for transclusion.}}<br />
<br />
==Usage==<br />
This template is used to build consistent documentation pages for {{cs1}} templates.<br />
<br />
:For example: {{tlx|Citation Style documentation|author}} will show the author documentation.<br />
<br />
Where a particular section of documentation is not appropriate for a certain template, simply add the text manually or create a new subtemplate.<br />
<br />
Each module of text is a subtemplate that can be edited using the link.<br />
<br />
==Parameters==<br />
<br />
===syntax===<br />
{{Citation Style documentation/edit|syntax}}<br />
<br />
===coins===<br />
{{Citation Style documentation/edit|coins}}<br />
<br />
===sep_period===<br />
{{Citation Style documentation/edit|sep_period}}<br />
<br />
===sep_comma===<br />
{{Citation Style documentation/edit|sep_comma}}<br />
<br />
===required===<br />
{{Citation Style documentation/edit|required}}<br />
<br />
===deprecated===<br />
{{Citation Style documentation/edit|deprecated}}<br />
{{Citation Style documentation/opt|1=<br />
*{{para|date2|yes}} adds:<br />
** date2<br />
** month2<br />
** year2}}<br />
<br />
===author===<br />
{{Citation Style documentation/edit|author}}<br />
{{Citation Style documentation/opt|1=<br />
*{{para|coauthors|yes}} adds "'''coauthors''': (deprecated) Names of of coauthors. Use the same format as the authors."<br />
*{{para|others|yes}} adds "'''others''': To record other contributors to the work, such as "Illustrated by Smith" or "Trans. Smith"."<br />
*{{para|aliases}} add aliases for '''last'''.<br />
}}<br />
<br />
===editor===<br />
{{Citation Style documentation/edit|editor}}<br />
<br />
===title===<br />
{{Citation Style documentation/edit|title}}<br />
<br />
{{Citation Style documentation/opt|1=<br /><br />
'''title_format''' sets the display format:<br />
* '''quotes''' = Displays in quotes.<br />
* '''work''' = If '''work''' is defined, then '''title''' is displayed in quotes, else displays in italics.<br />
* default = Displays in italics.<br />
<br />
'''title_title''' sets the display title:<br />
* '''encyclopedia''' = encyclopedia<br />
* default = title}}<br />
<br />
===web===<br />
{{Citation Style documentation/edit|web}}<br />
<br />
===chapter===<br />
{{Citation Style documentation/edit|chapter}}<br />
{{Citation Style documentation/opt|1=<br /><br />
'''title_format''' sets the display format:<br />
*'''italics''' = Displays in italics.<br />
* '''work''' = If '''work''' is defined, then '''title''' is displayed in quotes, else displays in italics.<br />
* default = Displays in quotes.<br />
'''title_title''' sets the display title:<br />
* '''booktitle''' = booktitle<br />
* default = chapter}}<br />
<br />
===type===<br />
{{Citation Style documentation/edit|type}}<br />
{{Citation Style documentation/opt|<br />
* '''type_default''': Adds "Defaults to '''type_default'''"}}<br />
<br />
===journal===<br />
{{Citation Style documentation/edit|journal}}<br />
{{Citation Style documentation/opt|1=<br />
* '''department''' adds:<br />
:* '''department''': Regular department within the periodical. Displays after '''work''' and is in plain text.<br />
}}<br />
<br />
===edition===<br />
{{Citation Style documentation/edit|edition}}<br />
<br />
===series===<br />
{{Citation Style documentation/edit|series}}<br />
<br />
===series_episode===<br />
{{Citation Style documentation/edit|series_episode}}<br />
<br />
===event===<br />
{{Citation Style documentation/edit|event}}<br />
<br />
===agency===<br />
{{Citation Style documentation/edit|agency}}<br />
<br />
===volume===<br />
{{Citation Style documentation/edit|volume}}<br />
<br />
===date===<br />
{{Citation Style documentation/edit|date}}<br />
{{Citation Style documentation/opt|1=<br />
* '''aliases''' includes aliases for '''date'''<br />
* '''began''' adds:<br />
:* OR: '''began''': Full date the first part of the program or episode aired.<br />
:** AND: '''ended''': Full date the last part of the program or episode aired.}}<br />
<br />
===publisher===<br />
{{Citation Style documentation/edit|publisher}}<br />
{{Citation Style documentation/opt|1=<br />
*{{para|work|no}} suppresses "; if '''work''' is defined, then '''publisher''' and '''location''' are enclosed in parentheses"<br />
*{{para|map|yes}} changes:<br />
** '''publisher''': Name of publisher. Displays before title. Do not wikilink—use publisher-link instead.<br />
** '''publisher-link''': Title of existing Wikipedia article about the publisher—not the publisher's website; do not wikilink.<br />
}}<br />
<br />
===newsgroup===<br />
{{Citation Style documentation/edit|newsgroup}}<br />
<br />
===language===<br />
{{Citation Style documentation/edit|language}}<br />
<br />
===pages===<br />
{{Citation Style documentation/edit|pages}}<br />
{{Citation Style documentation/opt|1=<br />
* '''work''' adds "or '''work''' is defined"}}<br />
<br />
===time===<br />
{{Citation Style documentation/edit|time}}<br />
<br />
===id1===<br />
{{Citation Style documentation/edit|id1}}<br />
<br />
===id2===<br />
{{Citation Style documentation/edit|id2}}<br />
<br />
===url===<br />
{{Citation Style documentation/edit|url}}<br />
{{Citation Style documentation/opt|<br />
* '''pmc''' adds:<br />
<br />
" If '''url''' is not defined but '''pmc''' is, then '''url''' is set to the '''pmc''' link.<br />
:* '''Embargo''': Date that '''pmc''' goes live; if this is in the future, then then '''url''' is not set to the '''pmc''' link until that date."}}<br />
<br />
===chapterurl===<br />
{{Citation Style documentation/edit|chapterurl}}<br />
<br />
===lay===<br />
{{Citation Style documentation/edit|lay}}<br />
<br />
===quote===<br />
{{Citation Style documentation/edit|quote}}<br />
{{Citation Style documentation/opt|1=<br />
* {{para|cs2|yes}} suppresses "When supplied, the citation terminator (a period by default) is suppressed, so the quote needs to include terminating punctuation."}}<br />
<br />
===ref===<br />
{{Citation Style documentation/edit|ref}}<br />
<br />
===ref2===<br />
{{Citation Style documentation/edit|ref2}}<br />
<br />
===display===<br />
{{Citation Style documentation/edit|display}}<br />
{{Citation Style documentation/opt|<br />
* '''cs2''': When set, changes:<br />
**'''postscript''' to "defaults to none"<br />
** '''separator''' to "Defaults to a comma (,)"}}<br />
<br />
===map_series===<br />
{{Citation Style documentation/edit|map_series}}<br />
<br />
===map_id===<br />
{{Citation Style documentation/edit|map_id}}<br />
<br />
===map_pages===<br />
{{Citation Style documentation/edit|map_pages}}<br />
<br />
===interview_id===<br />
{{Citation Style documentation/edit|interview_id}}<br />
<br />
===interview_author===<br />
{{Citation Style documentation/edit|interview_author}}<br />
<br />
===interview_interviewer===<br />
{{Citation Style documentation/edit|interview_interviewer}}<br />
<br />
===DVD-notes_date===<br />
{{Citation Style documentation/edit|DVD-notes_date}}<br />
<br />
===album_name===<br />
{{Citation Style documentation/edit|album_name}}<br />
<br />
===album_artist===<br />
{{Citation Style documentation/edit|album_artist}}<br />
<br />
===season===<br />
{{Citation Style documentation/edit|season}}<br />
<br />
===network===<br />
{{Citation Style documentation/edit|network}}<br />
<br />
===transcript===<br />
{{Citation Style documentation/edit|transcript}}<br />
<br />
===notestitle===<br />
{{Citation Style documentation/edit|notestitle}}<br />
<br />
===conference===<br />
{{Citation Style documentation/edit|conference}}<br />
<br />
==See also==<br />
<br />
{{Citation Style 1}}<br />
<br />
<includeonly><br />
<!---CATEGORIES HERE---><br />
<br />
[[Category:Documentation assistance templates]]<br />
<br />
<!---INTERWIKIS HERE---><br />
<br />
</includeonly></div>Mitch Gorehttps://portlandwiki.org/index.php?title=Template:Mbox/doc&diff=22709Template:Mbox/doc2012-11-01T03:45:39Z<p>Mitch Gore: Created page with "{{Documentation subpage}} {{high-risk|180,000+}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{mbox templates}} This is the {{tl|mbox}} or '''mult..."</p>
<hr />
<div>{{Documentation subpage}}<br />
{{high-risk|180,000+}}<br />
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --><br />
{{mbox templates}}<br />
This is the {{tl|mbox}} or '''multi namespace message box''' meta-template.<br />
<br />
This meta-template is used to build message box templates that are used on several types of pages and thus need to change style depending on what page they are used on. Based on page type detected it uses one of <br />
{{tl|ambox}}, {{tl|tmbox}}, {{tl|imbox}}, {{tl|cmbox}} and {{tl|ombox}}.<br />
<br />
Note that this template should only be used for message boxes that really need to adapt their style. Most message boxes do not need this and should use one of {{tl|ambox}}, {{tl|tmbox}}, {{tl|imbox}}, {{tl|cmbox}} or {{tl|ombox}} directly. Using those templates directly means that your template will look the same on its template page and at any other place you show it, which makes it clear on what kind of pages it is supposed to be used. It also gives you access to any extra features those templates offer, and it saves some server load.<br />
<br />
=== Usage ===<br />
This template takes the same parameters as {{tl|ambox}} and {{tl|imbox}} etc. See full documentation there. <br />
<br />
Some of the boxes this template calls only handles images of max 52px width, thus that limitation also applies to this template or you will get ugly padding problems.<br />
<br />
=== Demospace ===<br />
This template optionally takes the "demospace" parameter as described at {{tl|namespace detect}}. That parameter is only for testing and demonstration purposes. If you want to lock your message box to one style then instead use one of the other mboxes directly.<br />
<br />
Namespace "Image:" was renamed to "File:" on 11 December 2008. This template was updated to understand both names well before that, thus it still works fine. For backwards compatibility it still understands "demospace = image" which means the same thing as "demospace = file". But using "demospace = image" is now deprecated.<br />
<br />
Namespace "Book:" was added to the English Wikipedia on 28 December 2009. This template uses the {{tl|ombox}} style on "Book:" pages or when "demospace=book". And it uses the {{tl|tmbox}} style on "Book talk:" pages or when "demospace=talk". Note that "demospace=talk" means any talk space, there is no "demospace=book talk".<br />
<br />
=== Parameters ===<br />
List of all parameters:<br />
<br />
<pre><br />
{{mbox<br />
| demospace = {{{demospace|}}} / main / talk / file / category / other<br />
| type = speedy / delete / content / style / notice / move / protection<br />
| image = none / [[Image:Some image.svg|40px]]<br />
| imageright = [[Image:Some image.svg|40px]]<br />
| style = CSS values<br />
| textstyle = CSS values<br />
| text = The message body text. <br />
| small = {{{small|}}} / left / yes<br />
| smallimage = none / [[Image:Some image.svg|30px]]<br />
| smallimageright = none / [[Image:Some image.svg|30px]]<br />
| smalltext = A shorter message body text.<br />
}}<br />
</pre><br />
<br />
Note: The small parameters only have effect when the template is on an article, talk page or an "other" page. For documentation on the small parameters see {{tl|ambox}}, {{tl|tmbox}} and {{tl|ombox}}. Using the small parameters when they are not valid has no effect, but also does no harm.<br />
<br />
=== See also ===<br />
{{Mbox templates see also}}<br />
<br />
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||<br />
<!---CATEGORIES HERE---><br />
<br />
[[Category:Wikipedia metatemplates|{{PAGENAME}}]]<br />
[[Category:Exclude in print|{{PAGENAME}}]]<br />
<br />
<!---INTERWIKIS HERE---><br />
<br />
<br />
}}</includeonly></div>Mitch Gore