Difference between revisions of "Template:Alternate Language"
From GeoGebra Manual
(Simplified version for commands) |
|||
Line 1: | Line 1: | ||
− | + | {{mbox|text=This command differs among variants of English: <!-- | |
− | + | -->{{#if:{{{US_version|}}}|* {{{US_version}}} (US)| }}<!-- | |
− | + | -->{{#if:{{{UK_version|}}}|* {{{UK_version}}} (UK)| }}<!-- | |
− | + | -->{{#if:{{{Aus_version|}}}|* {{{Aus_version}}} (Aus)| }}<!-- | |
− | + | -->{{#if:{{{non-US_version|}}}|* {{{non-US_version}}} (UK + Aus)| }}<!-- | |
− | + | -->{{#if:{{{non-UK_version|}}}|* {{{non-UK_version}}} (US + Aus)| }}<!-- | |
− | + | -->{{#if:{{{non-Aus_version|}}}|* {{{non-Aus_version}}} (UK + US)| }}| | |
− | {{mbox|text=This | + | image=[[Image:English_flags.png]]}} |
− | -->{{#if:{{{US_version|}}}|* | ||
− | -->{{#if:{{{UK_version|}}}|* | ||
− | -->{{#if:{{{Aus_version|}}}|* | ||
− | -->{{#if:{{{non-US_version|}}}|* | ||
− | -->{{#if:{{{non-UK_version|}}}|* | ||
− | -->{{#if:{{{non-Aus_version|}}}|* | ||
− | image=[[Image: | ||
<noinclude>{{documentation}}</noinclude><noinclude>[[Category:Exclude in print]]</noinclude> | <noinclude>{{documentation}}</noinclude><noinclude>[[Category:Exclude in print]]</noinclude> |
Revision as of 23:54, 3 December 2013
This command differs among variants of English: |
[edit] [ ] Template documentation
Indicate current region and include alternate text for other regions.
Usage
{{Alternate Language|page_type=Command|US_version=Center|non-US_version=Centre}} produces
This command differs among variants of English:
|
Example
(applied to US version of "Center Command"):
- {{Alternate Language|US_version=Center|non-US_version=Centre}}
- {{Alternate Language|US_version=Center|UK_version=Centre|Aus_version=Centre}}
Parameters (page_type, *_version):
- US_version, etc = regional name of command
Comments
{{NAMESPACE}} is used to adjust link in template to match current page (public vs official).
The above documentation is transcluded from Template:Alternate Language/doc. (edit | history) Editors can experiment in Sandbox.Please add categories and interwikis to the /doc subpage. Subpages of this template. |