Template:Alternate Language

From GeoGebra Manual
Revision as of 15:33, 31 October 2009 by K Voss (talk | contribs) (test use of Template:AL Shared Text)
Jump to: navigation, search
Accessories dictionary.png
Template:AL Shared Text


This {{{page_type}}} is different in UK English. See [[:Template:{{{UK_version}}} {{{page_type}}}|{{{UK_version}}} {{{page_type}}}]].
This {{{page_type}}} is different in Australian English. See [[:Template:{{{Aus_version}}} {{{page_type}}}|{{{Aus_version}}} {{{page_type}}}]].

Usage

Indicate current region and include alternate text for other regions.

Example (applied to US version of "Center Command"):

  • {{Alternate Language|region=US|page_type=Command| US_version=Center|UK_version=Centre|Aus_version=Centre}}

Parameters (region, page_type, *_version):

  • region = {US, UK, Aus}: regional language of current page; template will exclude references to current region
  • region = {non-US, non-UK, non-Aus}: regional language excluded from current page; template will only include references to excluded region
  • 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).

© 2024 International GeoGebra Institute