Difference between revisions of "Template:Map link"

From Team Fortress Wiki
Jump to: navigation, search
m (Nah. Gave up.)
m (https://www.youtube.com/watch?v=KxGRhd_iWuE)
Line 1: Line 1:
{{delete|I guess it doesn't work as expected. Codes are below here if someone actually wants to improve this.}}
+
<includeonly>[[{{common string|map name {{lc:{{{1}}}}}|lang=en}}{{if lang}}|{{common string|map name {{lc:{{{1}}}}}}}]]</includeonly><noinclude>
<!-- (mostly copied from item link template.)
 
<includeonly>[[{{{link|{{{1}}}}}}{{if lang}}|{{dictionary/common_strings/{{lc:{{{name|{{{1|error}}}}}}}}}}]]</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 update names. Translations can be edited at '''[[Template:Dictionary/common strings#map names]]'''.
Line 9: Line 7:
 
* {{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}}]]
  
You need to use both uppercase and lowercase or it won't work.
 
 
=== See also ===
 
=== See also ===
 
* {{tl|Item link}}
 
* {{tl|Item link}}
Line 16: Line 13:
 
[[:Category:Link insertion templates|Map link]]
 
[[:Category:Link insertion templates|Map link]]
 
</noinclude>
 
</noinclude>
-->
 

Revision as of 06:08, 11 February 2023

Documentation for Map link

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

Usage

See also

Map link