Difference between revisions of "Template:Gamemode link"

From Team Fortress Wiki
Jump to: navigation, search
(Gamemode link)
 
m
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>[[{{{1}}}{{if lang}}|{{common string|{{{1}}}}}]]</includeonly><noinclude>{{doc begin}}
+
[[{{#switch: {{lc:{{{1}}}}}
{{tl|Gamemode link}} is a template that outputs an automatically-translated link to a game mode page. For just the name, use {{tl|Mode name}} or {{tl|Gamemode name}}.
+
  | control point = Control Point (game mode)
 +
  | special delivery = Special Delivery (game mode)
 +
  | boot camp = Boot Camp (Mann vs. Machine)
 +
  | #default = {{dictionary/common strings/{{lc:{{{1|error}}}}}|lang=en}}
 +
}}{{if lang}}|{{dictionary/common strings/{{#switch: {{lc:{{{1}}}}}
 +
  | versus saxton hale = versus saxton hale (community)
 +
  | zombie infection = zombie infection (community)
 +
  | #default = {{lc:{{{1|error}}}}}
 +
}}}}]]<noinclude>
 +
{{doc begin}}
 +
{{tl|gamemode link}} is a template that outputs an automatically-translated link to a game mode page. For just the name, use {{tl|gamemode name}}.
  
 
=== Syntax ===
 
=== Syntax ===
  <nowiki>{{Gamemode link|Degreaser}}</nowiki>
+
  <nowiki>{{gamemode link|Payload}}</nowiki>
{{Note|{{tl|Mode link}} also works!}}
 
  
 
;Argument 1: The '''English''' name of the game mode to link to.
 
;Argument 1: The '''English''' name of the game mode to link to.
  
 +
=== See also ===
 +
* {{tl|Map link}}
 +
* {{tl|Update link}}
 +
* {{tl|Quality link}}
 +
* {{tl|Item link}}
 +
 +
[[Category:Link insertion templates|Gamemode link]]
 
[[Category:Language templates|Gamemode link]]</noinclude>
 
[[Category:Language templates|Gamemode link]]</noinclude>

Latest revision as of 17:34, 4 July 2024

[[error ('common_strings')'|error ('common_strings')']]

Documentation for Gamemode link

{{gamemode link}} is a template that outputs an automatically-translated link to a game mode page. For just the name, use {{gamemode name}}.

Syntax

{{gamemode link|Payload}}
Argument 1
The English name of the game mode to link to.

See also