Difference between revisions of "Template:For"

From RobotX
Jump to navigation Jump to search
(TFD closed as no consensus (XFDcloser))
 
m (1 revision imported)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{#invoke:For|For}}</includeonly><noinclude>
+
<noinclude>
 +
<languages />
 +
</noinclude>{{#switch:
 +
| =
 +
{{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:{{{4|}}}|{{#if:{{{5|}}}|{{int|comma-separator}}|<nowiki/>{{int|and}}{{int|word-separator}}}} [[:{{{4}}}]]
 +
}}{{#if:{{{5|}}}|<nowiki/>{{int|and}}{{int|word-separator}}[[:{{{5}}}]]
 +
}}}}
 +
| #default=
 +
  {{#invoke:Template translation|renderTranslatedTemplate|template=Template:For|noshift=1}}
 +
}}<noinclude>
 +
 
 
{{Documentation}}
 
{{Documentation}}
 +
 
</noinclude>
 
</noinclude>

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"