Difference between revisions of "Template:For"

1,091 bytes added ,  2 years ago
add documentation
m (+usage)
(add documentation)
 
(2 intermediate revisions by one other user not shown)
<div class=navaid>{{#if:{{{pre|}}}|{{{pre}}}.&nbsp;}}For {{{2|more information}}}, see [[{{{1}}}|{{{3|{{{1}}}|}}}]].{{#if:{{{post|}}}|&nbsp;{{{post}}}|}}</div><noinclude>
 
Use this template when you have a ''similar'' topic that should be prominently linked to somewhereanother article, either for more information or to avoid confusion between similarly-named elsearticles.
 
It generally takes one unnamed parameter, <code>{{{1}}}</code>, as input. By default, it returns "For more information, see <code>{{{1}}}</code>", where <code>{{{1}}}</code> is a link to the referenced article. A second unnamed parameter will replace "more information" and a third will replace the text which refers to the linked article. For example, <code><nowiki>{{for|cosmere|oodles of information|this page about the cosmere}}</nowiki></code> produces:
: {{for|cosmere|oodles of information|this page about the cosmere}}
 
The template is intended to be brief, but additional optional parameters <code>|pre=</code> and <code>|post=</code> allow you to add additional explanatory text at the beginning or end of the displayed text, if necessary. For example, <code><nowiki>{{for|Wulfden the First|the first Wyrn named Wulfden|pre='Wulfden' redirects here}}</nowiki></code> produces:
: {{for|Wulfden the First|the first Wyrn named Wulfden|pre='Wulfden' redirects here}}
 
[[Category:Navigation aids]]
</noinclude>
 
== Articles using Template ==
<div class="navaid">This list is limited to 100 articles. For a full listing see [[Special: WhatLinksHere/{{FULLPAGENAME}}|here]].</div>
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages}}
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}
Editors, Keepers
4,456

edits