Diferencia entre revisiones de «Plantilla:Alternate Language»

De GeoGebra Manual
Saltar a: navegación, buscar
(Updated to match Spanish variants)
Línea 1: Línea 1:
{{mbox|text=This tool has different names in different variants of Spanish: <!--
+
{{mbox|text=This command has different names in different variants of Spanish: <!--
 
-->{{#if:{{{UY_version|}}}|* {{{US_version}}} (Uruguay)|&nbsp;}}<!--
 
-->{{#if:{{{UY_version|}}}|* {{{US_version}}} (Uruguay)|&nbsp;}}<!--
 
-->{{#if:{{{ES_version|}}}|* {{{UK_version}}} (Spain)|&nbsp;}}<!--
 
-->{{#if:{{{ES_version|}}}|* {{{UK_version}}} (Spain)|&nbsp;}}<!--

Revisión del 15:02 16 dic 2013

[edit] [purge] Template documentation

Indicate current region and include alternate text for other regions.

Uso

{{Alternate Language|page_type=Command|US_version=Center|non-US_version=Centre}} produces

Ejemplo

(applied to US version of Center Command): 
  • [[Centre Command|US_version=Center non-US_version=Centre Aus_version=Centre]]
  • [[Centre Command|US_version=Center non-US_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)

Comentarios

{{NAMESPACE}} is used to adjust link in template to match current page (public vs official).

© 2024 International GeoGebra Institute