Diferencia entre revisiones de «Plantilla:Alternate Language/doc»
De GeoGebra Manual
m (1 revisión) |
|||
(No se muestran 5 ediciones intermedias de 2 usuarios) | |||
Línea 3: | Línea 3: | ||
</noinclude> | </noinclude> | ||
Indicate current region and include alternate text for other regions. | Indicate current region and include alternate text for other regions. | ||
− | == | + | == Uso == |
<nowiki>{{Alternate Language|page_type=Command|US_version=Center|non-US_version=Centre}}</nowiki> | <nowiki>{{Alternate Language|page_type=Command|US_version=Center|non-US_version=Centre}}</nowiki> | ||
produces | produces | ||
− | + | {{Alternate Language|region=US|page_type=Command |US_version=Center|UK_version=Centre|Aus_version=Centre}} | |
− | {{Alternate Language|page_type=Command|US_version=Center| | + | ==Ejemplo== |
− | + | (applied to US version of Center Command): | |
− | == | ||
− | (applied to US version of | ||
* <nowiki> | * <nowiki> | ||
− | + | [[Centre Command|US_version=Center non-US_version=Centre Aus_version=Centre]] | |
</nowiki> | </nowiki> | ||
* <nowiki> | * <nowiki> | ||
− | + | [[Centre Command|US_version=Center non-US_version=Centre Aus_version=Centre]] | |
</nowiki> | </nowiki> | ||
'''Parameters''' (page_type, *_version): | '''Parameters''' (page_type, *_version): | ||
* page_type = {"Command", "Tool"}: suffix of PAGENAME | * page_type = {"Command", "Tool"}: suffix of PAGENAME | ||
* US_version, etc = regional NAME of command or tool (NAME + page_type = PAGENAME) | * US_version, etc = regional NAME of command or tool (NAME + page_type = PAGENAME) | ||
− | == | + | == Comentarios== |
<nowiki>{{NAMESPACE}}</nowiki> is used to adjust link in template to match current page (public vs official). | <nowiki>{{NAMESPACE}}</nowiki> is used to adjust link in template to match current page (public vs official). | ||
<includeonly> | <includeonly> | ||
<!-- PUT HERE THE CATEGORIES OF THE TEMPLATE --> | <!-- PUT HERE THE CATEGORIES OF THE TEMPLATE --> | ||
</includeonly> | </includeonly> |
Revisión actual del 10:43 21 jul 2015
This is a documentation Help:Subpages subpage] for Plantilla:Alternate Language (see that page for the plantilla itself). It contains usage information, Help:Categories categories], interlanguage links and other content that is not part of the original plantilla page. |
[[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
Las variantes del nombre del comando en español son: |
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).