This template is protected from editing.

Difference between revisions of "Template:Item link"

From Team Fortress Wiki
Jump to: navigation, search
m (Vil dis vork?)
m (+doc)
Line 1: Line 1:
<includeonly>[[{{#ifexist:{{{1}}}{{if lang}}|{{{1}}}{{if lang}}|{{{1}}}}}|{{Item name|{{{1}}}}}]]</includeonly><noinclude>
+
<includeonly>[[{{#ifexist:{{{1}}}{{if lang}}|{{{1}}}{{if lang}}|{{{1}}}}}|{{Item name|{{{1}}}}}]]</includeonly><noinclude>{{doc begin}}
{{Item link|Degreaser}}</noinclude>
+
{{tl|Item link}} is a template that outputs an automatically-translated link to an item page.
 +
 
 +
The link will go to the translated page in the correct language, if there is one. Otherwise, it will go to the English version of the page.
 +
 
 +
=== Syntax ===
 +
<nowiki>{{Item link|Degreaser}}</nowiki>
 +
 
 +
;Argument 1: The '''english''' name of the item to link to.
 +
 
 +
 
 +
[[Category:Language templates|Item link]]</noinclude>

Revision as of 20:26, 8 February 2011

Documentation for Item link

{{Item link}} is a template that outputs an automatically-translated link to an item page.

The link will go to the translated page in the correct language, if there is one. Otherwise, it will go to the English version of the page.

Syntax

{{Item link|Degreaser}}
Argument 1
The english name of the item to link to.