Šablon:Alternate Language/doc
Izvor: GeoGebra Manual
This is a documentation subpage for Šablon:Alternate Language (see that page for the šablon itself). It contains usage information, categories, interlanguage links and other content that is not part of the original šablon page. |
[[Template:{{{PAGENAME}}}]]
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 page differs among variants of English: |
Example
(applied to US version of "Center Command"):
- {{Alternate Language|page_type=Command|US_version=Center|non-US_version=Centre}}
- {{Alternate Language|page_type=Command|US_version=Center|UK_version=Centre|Aus_version=Centre}}
Parameters (page_type, *_version):
- page_type = {"Command", "Tool"}: suffix of PAGENAME
- US_version, etc = regional NAME of command or tool (NAME + page_type = PAGENAME)
Comments
{{NAMESPACE}} is used to adjust link in template to match current page (public vs official).