Difference between revisions of "Template:Lang/choices"
From Kerbal Space Program Wiki
(Created page with "<includeonly>{{#if: {{{1|}}}|{{{1}}}|{{#if: {{{2|}}}|{{{2}}}|{{#if: {{{3|}}}|{{{3}}}|{{{4}}}}}}}}}</includeonly><noinclude>Selects the first set parameter. It allows four numb...") |
m (Move doc) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#if: {{{1|}}}|{{{1}}}|{{#if: {{{2|}}}|{{{2}}}|{{#if: {{{3|}}}|{{{3}}}|{{{4}}}}}}}}}</includeonly><noinclude> | + | <includeonly>{{#if: {{{1|}}}|{{{1}}}|{{#if: {{{2|}}}|{{{2}}}|{{#if: {{{3|}}}|{{{3}}}|{{{4}}}}}}}}}</includeonly><noinclude> |
− | + | {{Documentation}} | |
− | + | </noinclude> | |
− | |||
− | |||
− | |||
− |
Latest revision as of 10:21, 28 February 2020
Error creating thumbnail: /bin/bash: rsvg-convert: command not found |
This template is used on many pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please consider discussing changes on the talk page before implementing them. |
This template is used by {{Lang}} to display the correct translation on the page.
Usage
{{Lang/choices|{{{1}}}|{{{2}}}|{{{3}}}|{{{4}}}}}
Parameters
# | Optional | Description | Default |
---|---|---|---|
1 | Yes | Shows the translated text. If not set, defaults to {{{2}}} | {{{2}}} |
2 | Yes | Shows the default text. If not set, defaults to {{{3}}} | {{{3}}} |
3 | Yes | Shows the English text. If not set, defaults to {{{4}}} | {{{4}}} |
4 | No | Shows the original text. |
The above documentation is transcluded from Template:Lang/choices/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. |