This template is protected from editing.

Difference between revisions of "Template:Item link"

From Team Fortress Wiki
Jump to: navigation, search
m (+doc)
m
 
(5 intermediate revisions by 2 users not shown)
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 ===
 
  <nowiki>{{Item link|Degreaser}}</nowiki>
 
  <nowiki>{{Item link|Degreaser}}</nowiki>
  
;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>

Latest revision as of 13:41, 24 September 2022

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.