This template is protected from editing.

Difference between revisions of "Template:Item link"

From Team Fortress Wiki
Jump to: navigation, search
m (+doc)
(remove ifexist functionality to help pull pages out of Category:Pages with too many expensive parser function calls.)
Line 1: Line 1:
<includeonly>[[{{#ifexist:{{{1}}}{{if lang}}|{{{1}}}{{if lang}}|{{{1}}}}}|{{Item name|{{{1}}}}}]]</includeonly><noinclude>{{doc begin}}
+
<includeonly>[[{{{1}}}{{if lang}}|{{Item name|{{{1}}}}}]]</includeonly><noinclude>{{doc begin}}
 
{{tl|Item link}} is a template that outputs an automatically-translated link to an item page.
 
{{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 ===
 
=== Syntax ===
Line 8: Line 6:
  
 
;Argument 1: The '''english''' name of the item to link to.
 
;Argument 1: The '''english''' name of the item to link to.
 
  
 
[[Category:Language templates|Item link]]</noinclude>
 
[[Category:Language templates|Item link]]</noinclude>

Revision as of 02:35, 27 February 2011

Documentation for Item link

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

Syntax

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