Template:Maplink: Difference between revisions

From TF2 Classic Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>[[{{{1}}} ({{gamemode|{{{2}}}|force=en}}){{#ifeq: {{{force|{{PAGELANGUAGE}}}}}|en|{{#if: {{{nogm|}}}|{{!}}{{{1}}}}}|/{{{force|{{PAGELANGUAGE}}}}}{{!}}{{{1}}} {{#if: {{{nogm|}}}||({{gamemode|{{{2}}}|force={{{force|}}}}})}}}}]]</includeonly><noinclude> This template is used to get a correct link to a map, no matter the language. <pre> {{maplink|Gorge|cp}} {{maplink|Gorge|cp|nogm=1}} </pre> Example: * {{maplink|Gorge|cp}} * {{maplink|Gorge|cp|nogm=1}} In French...")
 
No edit summary
Line 1: Line 1:
<includeonly>[[{{{1}}} ({{gamemode|{{{2}}}|force=en}}){{#ifeq: {{{force|{{PAGELANGUAGE}}}}}|en|{{#if: {{{nogm|}}}|{{!}}{{{1}}}}}|/{{{force|{{PAGELANGUAGE}}}}}{{!}}{{{1}}} {{#if: {{{nogm|}}}||({{gamemode|{{{2}}}|force={{{force|}}}}})}}}}]]</includeonly><noinclude>
<includeonly>[[{{#if:{{{2|}}}|{{{1}}} ({{gamemode|{{{2}}}|force=en}})|{{{1}}}}}{{#ifeq: {{{force|{{PAGELANGUAGE}}}}}|en|{{#if: {{{nogm|}}}|{{!}}{{{1}}}}}|/{{{force|{{PAGELANGUAGE}}}}}{{!}}{{{1}}} {{#if: {{{nogm|}}}||{{#if:{{{2|}}}|({{gamemode|{{{2}}}|force={{{force|}}}}})}}}}}}]]</includeonly><noinclude>
This template is used to get a correct link to a map, no matter the language.
This template is used to get a correct link to a map, no matter the language.
<pre>
<pre>
{{maplink|Gorge|cp}}
{{maplink|Gorge|cp}}
{{maplink|Gorge|cp|nogm=1}}
{{maplink|Gorge|cp|nogm=1}}
{{maplink|Dustbowl}}
{{maplink|Dustbowl|nogm=1}}
</pre>
</pre>
Example:
Example:
* {{maplink|Gorge|cp}}
* {{maplink|Gorge|cp}}
* {{maplink|Gorge|cp|nogm=1}}
* {{maplink|Gorge|cp|nogm=1}}
* {{maplink|Dustbowl}}
* {{maplink|Dustbowl|nogm=1}}
In French:
In French:
* {{maplink|Gorge|cp|force=fr}}
* {{maplink|Gorge|cp|force=fr}}
* {{maplink|Gorge|cp|nogm=1|force=fr}}
* {{maplink|Gorge|cp|nogm=1|force=fr}}
* {{maplink|Dustbowl|force=fr}}
* {{maplink|Dustbowl|nogm=1|force=fr}}
</noinclude>
</noinclude>

Revision as of 15:49, 2 October 2022

This template is used to get a correct link to a map, no matter the language.

{{maplink|Gorge|cp}}
{{maplink|Gorge|cp|nogm=1}}
{{maplink|Dustbowl}}
{{maplink|Dustbowl|nogm=1}}

Example:

In French: