Difference between revisions of "Template:If lang/Detection"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Move doc)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{#switch:{{{suffix}}}
 
{{#switch:{{{suffix}}}
| ar|cs|da|de|es|fi|fr|he|hu|it|ja|ko|nl|no|pl|pt|pt-br|ro|ru|sv|tr|zh-cn|zh-tw = {{#if: {{{2}}}|{{{2}}}|{{{prefix}}}{{{suffix}}}}}
+
| ar|cs|da|de|es|fi|fr|he|hr|hu|it|ja|ko|nl|no|pl|pt|pt-br|ro|ru|sv|th|tr|zh-cn|zh-tw = {{#if: {{{2}}}|{{{2}}}|{{{prefix}}}{{{suffix}}}}}
| Data|Box|RefFrame = {{#if: {{{data enabled}}}|{{#if: {{{3}}}|{{{3}}}|{{{prefix}}}{{{suffix}}}}}|{{{1}}}}}
+
| Param|Data|Box|RefFrame = {{#if: {{{data enabled}}}|{{#if: {{{3}}}|{{{3}}}|{{{prefix}}}{{{suffix}}}}}|{{{1}}}}}
 
| #default = {{{1}}}
 
| #default = {{{1}}}
}}<noinclude>[[Category:Templates]]</noinclude>
+
}}<noinclude>
 +
{{Documentation}}
 +
</noinclude>

Latest revision as of 10:35, 1 March 2020

{{{1}}}

Documentation icon Template documentation[view] [edit] [history] [purge]Pages that link to Template:If lang/Detection

Detects the language code from the pagename