Diferencia entre revisiones de «Plantilla:Alternate Language»

De GeoGebra Manual
Saltar a: navegación, buscar
Línea 3: Línea 3:
 
-->{{#if:{{{ES_version|}}}|* {{{ES_version}}} (España)|&nbsp;}}<!--
 
-->{{#if:{{{ES_version|}}}|* {{{ES_version}}} (España)|&nbsp;}}<!--
 
-->{{#if:{{{LATAM_version|}}}|* {{{LATAM_version}}} (Latinoamérica excepto Uruguay)|&nbsp;}}<!--
 
-->{{#if:{{{LATAM_version|}}}|* {{{LATAM_version}}} (Latinoamérica excepto Uruguay)|&nbsp;}}<!--
-->{{#if:{{{non-UY_version|}}}|* {{{non-UY_version}}} (España y Latinoamérica excepto Uruguay)|&nbsp;}}<!--
+
-->{{#if:{{{non-UY_version|}}}|* {{{non-UY_version}}} (Latinoamérica (excepto Uruguay) y España|&nbsp;}}<!--
 
-->{{#if:{{{non-ES_version|}}}|* {{{non-ES_version}}} (Latinoamérica)|&nbsp;}}<!--
 
-->{{#if:{{{non-ES_version|}}}|* {{{non-ES_version}}} (Latinoamérica)|&nbsp;}}<!--
 
-->{{#if:{{{non-LATAM_version|}}}|* {{{non-LATAM_version}}} (Uruguay y España)|&nbsp;}}|
 
-->{{#if:{{{non-LATAM_version|}}}|* {{{non-LATAM_version}}} (Uruguay y España)|&nbsp;}}|
 
image=[[Image:Globe.png|64px]]}}
 
image=[[Image:Globe.png|64px]]}}
 
<noinclude>{{documentation}}</noinclude>
 
<noinclude>{{documentation}}</noinclude>

Revisión del 16:48 21 jul 2015

[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