Difference between revisions of "Template:If lang/Detection"
From Kerbal Space Program Wiki
m (+Croatian; *more specific category;) |
m (Move doc) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{#switch:{{{suffix}}} | {{#switch:{{{suffix}}} | ||
− | | ar|cs|da|de|es|fi|fr|he|hr|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}}}}} |
| Param|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> | + | }}<noinclude> |
+ | {{Documentation}} | ||
+ | </noinclude> |
Latest revision as of 10:35, 1 March 2020
{{{1}}}
Detects the language code from the pagename
The above documentation is transcluded from Template:If lang/Detection/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |