Difference between revisions of "Template:Map link"

From Team Fortress Wiki
Jump to: navigation, search
m (https://www.youtube.com/watch?v=KxGRhd_iWuE)
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>[[{{common string|map name {{lc:{{{1}}}}}|lang=en}}{{if lang}}|{{common string|map name {{lc:{{{1}}}}}}}]]</includeonly><noinclude>
+
<includeonly>[[{{{2|{{dictionary/common_strings/map name {{lc:{{{1}}}}}|lang=en}}}}}{{if lang}}|{{dictionary/common_strings/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|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 ===
Line 11: Line 18:
 
* {{tl|update link}}
 
* {{tl|update link}}
  
[[:Category:Link insertion templates|Map link]]
+
[[Category:Link insertion templates|Map link]]
 
</noinclude>
 
</noinclude>

Latest revision as of 15:15, 21 October 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