Difference between revisions of "Template:Gamemode link"

From Team Fortress Wiki
Jump to: navigation, search
(lol)
m
 
(5 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)
 +
  | tug of war = tug of war (community)
 +
  | #default = {{lc:{{{1|error}}}}}
 +
}}}}]]<noinclude>{{Doc begin}}
 +
<code><nowiki>{{gamemode link}}</nowiki></code> 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|Payload}}</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.
  
[[Category:Language templates|Gamemode link]]</noinclude>
+
{{Translation templates}}
 +
[[Category:Link insertion templates|Gamemode link]]
 +
[[Category:Language templates|Gamemode link]]
 +
[[Category:Templates]]
 +
</noinclude>

Latest revision as of 19:57, 1 December 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

Link templates
Other