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

De GeoGebra Manual
Saltar a: navegación, buscar
(Deshecha la revisión 47691 de Fvitabar (disc.))
 
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|non-UY_version=nPr|UY_version=NúmeroArreglos}}</nowiki>
+
<nowiki>{{Alternate Language|page_type=Command|US_version=Center|non-US_version=Centre}}</nowiki>
 
produces
 
produces
{{Alternate Language|region=US|page_type=Command |non-UY_version=nPr|UY_version=NúmeroArreglos}}
+
{{Alternate Language|region=US|page_type=Command |US_version=Center|UK_version=Centre|Aus_version=Centre}}
 
 
 
==Ejemplo==
 
==Ejemplo==
 
  (applied to US version of Center Command):  
 
  (applied to US version of Center Command):  

Revisión actual del 09:43 21 jul 2015

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

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).

© 2021 International GeoGebra Institute