Template:ChangeLanguage View history

No edit summary
No edit summary
Line 7: Line 7:
   }} <!--
   }} <!--
-->{{#if: {{{spanish|}}}  
-->{{#if: {{{spanish|}}}  
     | <includeonly>[[Category:Traducción]]</includeonly>
     | {{#ifeq: {{{spanish|}}} | *
      {{#ifeq: {{{spanish|}}} | *
         | '''Español''' <includeonly>[[Category:Traducción]]</includeonly>
         | '''Español'''
         | [[{{{spanish}}}|Español]]
         | [[{{{spanish}}}|Español]]
       }}
       }}
   }} <!--
   }} <!--
-->{{#if: {{{french|}}}  
-->{{#if: {{{french|}}}  
     | <includeonly>[[Category:Traduction]]</includeonly>
     | {{#ifeq: {{{french|}}} | *
      {{#ifeq: {{{french|}}} | *
         | '''Français''' <includeonly>[[Category:Traduction]]</includeonly>
         | '''Français'''
         | [[{{{french}}}|Français]]
         | [[{{{french}}}|Français]]
       }}
       }}

Revision as of 19:37, 20 June 2014

Change Language:

Documentation icon Template documentation[view] [edit] [history] [purge]

This template is added to pages that are translated from English Wiki.

Usage

Place {{ChangeLanguage}} at the top of a new page.

The following optional variables can be used to define multiple languange translations:

{{ChangeLanguage
| english = WikiURL or *
| spanish = WikiURL or *
| french  = WikiURL or *
}}

Parameters

english

Optional WikiURL parameter. Do not include the descriptor field of the URL, meaning only send the valid URL text without the extra space followed by a description of the URL. If English is the display language put an * character.

spanish

Optional WikiURL parameter. Do not include the descriptor field of the URL, meaning only send the valid URL text without the extra space followed by a description of the URL. If Spanish is the display language put * character.

spanish

Optional WikiURL parameter. Do not include the descriptor field of the URL, meaning only send the valid URL text without the extra space followed by a description of the URL. If Frehch is the display language put * character.

Examples

Review the page Template:ChangeLanguage/Examples for how some of the parameter combinations will look on a page.

Where used

Editors can find all occurrences of this template with the link to what links here for the ChangeLanguage template.

Category added

The parameter |spanish=* will add Category:Traducción and |french=* will add Category:Traduction

See also

The above documentation is transcluded from Template:ChangeLanguage/doc.
Please add categories to the /doc subpage.
Subpages of this template.