Difference between revisions of "Template:For"
Jump to navigation
Jump to search
Joelmartin (talk | contribs) m (Text replacement - "<!--T:(.*)-->" to "") |
Joelmartin (talk | contribs) m (Text replacement - "</>" to "") |
||
Line 3: | Line 3: | ||
</noinclude>{{#switch: | </noinclude>{{#switch: | ||
| = | | = | ||
− | {{Hatnote|1= For {{<tvar|1>#if:{{{1|}}}|{{{1}}} | + | {{Hatnote|1= For {{<tvar|1>#if:{{{1|}}}|{{{1}}}|other uses}}, see: [[:{{{2|{{PAGENAME}} (disambiguation)}}}]]<!-- |
-->{{#if:{{{3|}}}|{{#if:{{{4|}}}|{{int|comma-separator}}|<nowiki/>{{int|and}}{{int|word-separator}}}} [[:{{{3}}}]] | -->{{#if:{{{3|}}}|{{#if:{{{4|}}}|{{int|comma-separator}}|<nowiki/>{{int|and}}{{int|word-separator}}}} [[:{{{3}}}]] | ||
}}{{#if:{{{4|}}}|{{#if:{{{5|}}}|{{int|comma-separator}}|<nowiki/>{{int|and}}{{int|word-separator}}}} [[:{{{4}}}]] | }}{{#if:{{{4|}}}|{{#if:{{{5|}}}|{{int|comma-separator}}|<nowiki/>{{int|and}}{{int|word-separator}}}} [[:{{{4}}}]] |
Revision as of 15:56, 21 December 2019
For {{<tvar|1>#if:|{{{1}}}|other uses}}, see: For (disambiguation)
Usage
This template is used to display a note directing users to a related page
Parameter | Description | Type | Status | |
---|---|---|---|---|
Target description | 1 | Used as sentence part in "For [target description], see [target]."
| String | suggested |
Target page | 2 | Page name of related article | Page | required |
Examples
Wikitext | Output |
---|---|
{{for|an example|Example}} | 1>#if:an example|an example|other uses}}, see: Example |
{{for|2=Example}} | 1>#if:|{{{1}}}|other uses}}, see: Example |
{{for|2=Example|3=Example2}} | 1>#if:|{{{1}}}|other uses}}, see: Example and Example2 |
{{for|2=Example|3=Example2|4=Example3|5=Example4}} | 1>#if:|{{{1}}}|other uses}}, see: Example, Example2, Example3 and Example4 |
See also