Difference between revisions of "Template:For"

From RobotX
Jump to navigation Jump to search
m (Text replacement - "</translate>" to "")
m (1 revision imported)
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
</noinclude>{{#switch:
 
</noinclude>{{#switch:
 
| =
 
| =
{{Hatnote|1=<!--T:1--> For {{<tvar|1>#if:{{{1|}}}|{{{1}}}</>|other uses}}, see: [[:{{{2|{{PAGENAME}} (disambiguation)}}}]]<!--
+
{{Hatnote|1= For {{#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}}}]]

Latest revision as of 05:04, 27 February 2020


Template documentation[view] [edit] [history] [purge]

Usage

This template is used to display a note directing users to a related page

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Target description1

Used as sentence part in "For [target description], see [target]."

Default
other uses
Stringsuggested
Target page2

Page name of related article

Pagerequired

Examples

Wikitext Output
{{for|an example|Example}}
{{for|2=Example}}
{{for|2=Example|3=Example2}}
{{for|2=Example|3=Example2|4=Example3|5=Example4}}

See also

  • {{Main}} to create hatnote with: "Main article: Example. "
  • {{See}} to create a hatnote with: "Further information: Example"
  • {{See also}} to create a hatnote with: "See also: Example"