Diferencia entre revisiones de «Plantilla:Alternate Language/doc»

De GeoGebra Manual
Saltar a: navegación, buscar
Línea 4: Línea 4:
 
Indicate current region and include alternate text for other regions.
 
Indicate current region and include alternate text for other regions.
 
== Uso ==
 
== Uso ==
<nowiki>{{Alternate Language|page_type=Command|US_version=Center|non-US_version=Centre}}</nowiki>
+
<nowiki>{{Alternate Language|page_type=Command|non-UY_version=nPr|UY_version=NúmeroArreglos}}</nowiki>
 
produces
 
produces
{{Alternate Language|region=US|page_type=Command |US_version=Center|UK_version=Centre|Aus_version=Centre}}
+
{{Alternate Language|region=US|page_type=Command |non-UY_version=nPr|UY_version=NúmeroArreglos}}
 +
 
 
==Ejemplo==
 
==Ejemplo==
 
  (applied to US version of Center Command):  
 
  (applied to US version of Center Command):  

Revisión del 09:39 21 jul 2015

[[Template:{{{PAGENAME}}}]]

Indicate current region and include alternate text for other regions.

Uso

{{Alternate Language|page_type=Command|non-UY_version=nPr|UY_version=NúmeroArreglos}} 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