Difference between revisions of "Template:Languages"
From Worms Knowledge Base
Explorer09 (Talk | contribs) (added an edit link) |
Explorer09 (Talk | contribs) (+note about sub-templates) |
||
Line 28: | Line 28: | ||
|en|Worms Armageddon ReadMe (English)|fr|Worms Armageddon ReadMe (French)|es|Worms Armageddon ReadMe (Spanish)}}</nowiki></pre> | |en|Worms Armageddon ReadMe (English)|fr|Worms Armageddon ReadMe (French)|es|Worms Armageddon ReadMe (Spanish)}}</nowiki></pre> | ||
{{Languages|title=Idioma:|en|Worms Armageddon ReadMe (English)|fr|Worms Armageddon ReadMe (French)|es|Worms Armageddon ReadMe (Spanish)}} | {{Languages|title=Idioma:|en|Worms Armageddon ReadMe (English)|fr|Worms Armageddon ReadMe (French)|es|Worms Armageddon ReadMe (Spanish)}} | ||
− | - | + | |
+ | ==Notes== | ||
+ | If a page has been translated in too many languages, it is recommended to make a sub-template for it. | ||
+ | |||
+ | [{{fullurl:Special:PrefixIndex|prefix=Languages/&namespace=10}} Examples can be found here] | ||
+ | |||
</noinclude> | </noinclude> |
Latest revision as of 11:26, 31 August 2011
In other languages: • +/-
Usage
{{Languages|language code|link to the page|language code2|link2|...|...}}
- Optional parameters
- title: The text at the table header.
- pagename: Which page the edit link "+/-" links to. Defaults to the current page ({{FULLPAGENAME}}).
Example
Example 1
{{Languages |en|Worms Armageddon ReadMe (English)|fr|Worms Armageddon ReadMe (French)|es|Worms Armageddon ReadMe (Spanish)}}
Example 2 (for Spanish articles)
{{Languages|title=Idioma: |en|Worms Armageddon ReadMe (English)|fr|Worms Armageddon ReadMe (French)|es|Worms Armageddon ReadMe (Spanish)}}
Notes
If a page has been translated in too many languages, it is recommended to make a sub-template for it.