Difference between revisions of "Template:Map link"
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 | + | 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| | + | * {{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]] |
</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
{{map link|Sawmill (Capture the Flag)}}
produces Sawmill (Capture the Flag){{map link|Sawmill (Capture the Flag)}}
on Page/ru produces Sawmill (Захват флага){{map link|Sawmill|Sawmill (Capture the Flag)}}
produces Sawmill
Syntax
{{map link|map|map link}}
- map
- The name of the map.
- map link
- (optional) The link of the map.
See also
{{Item link}}
{{update link}}