Difference between revisions of "Template:Map link"

From Team Fortress Wiki
Jump to: navigation, search
m
m (oops)
Line 1: Line 1:
 
<includeonly>[[{{{2|{{common string|map name {{lc:{{{1}}}}}|lang=en}}}}}{{if lang}}|{{common string|map name {{lc:{{{1}}}}}}}]]</includeonly><noinclude>
 
<includeonly>[[{{{2|{{common string|map name {{lc:{{{1}}}}}|lang=en}}}}}{{if lang}}|{{common string|map name {{lc:{{{1}}}}}}}]]</includeonly><noinclude>
 
{{doc begin}}
 
{{doc begin}}
Auto-translation template for update names. Translations can be edited at '''[[Template:Dictionary/common strings#map names]]'''.
+
Auto-translation template for map names. Translations can be edited at '''[[Template:Dictionary/common strings#map_names]]'''.
  
 
=== Usage ===
 
=== Usage ===
 
* {{tlx|map link|Sawmill (Capture the Flag)}} produces {{map link|Sawmill (Capture the Flag)}}
 
* {{tlx|map link|Sawmill (Capture the Flag)}} produces {{map link|Sawmill (Capture the Flag)}}
 
* {{tlx|map link|Sawmill (Capture the Flag)}} on [[Page/ru]] produces [[Sawmill (Capture the Flag)/ru|{{common string|Sawmill (Capture the Flag)|lang=ru}}]]
 
* {{tlx|map link|Sawmill (Capture the Flag)}} on [[Page/ru]] produces [[Sawmill (Capture the Flag)/ru|{{common string|Sawmill (Capture the Flag)|lang=ru}}]]
* {{tlx|map link|Badlands (competitive)|Badlands}} produces {{map link|Badlands (competitive)|Badlands}}
+
* {{tlx|map link|Sawmill|Sawmill (Capture the Flag)}} produces {{map link|Sawmill|Sawmill (Capture the Flag)}}
 +
 
 +
=== Syntax ===
 +
<code><nowiki>{{map link|map|map link}}</nowiki></code>
 +
 
 +
;map: The name of the map.
 +
;map link: (optional) The link of the map.
 +
 
 
=== See also ===
 
=== See also ===
 
* {{tl|Item link}}
 
* {{tl|Item link}}
 
* {{tl|update link}}
 
* {{tl|update link}}
  
[[:Category:Link insertion templates|Map link]]
+
[[Category:Link insertion templates|Map link]]
 
</noinclude>
 
</noinclude>

Revision as of 06:22, 11 February 2023

Documentation for Map link

Auto-translation template for map names. Translations can be edited at Template:Dictionary/common strings#map_names.

Usage

Syntax

{{map link|map|map link}}

map
The name of the map.
map link
(optional) The link of the map.

See also