Template:Lang/choices/doc
< Template:Lang | choices
|
|
This is a documentation subpage for Template:Lang/choices. It contains usage information, categories and other content that is not part of the original template page. |
|
|
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. |