Difference between revisions of "Template:Languages"
From Worms Knowledge Base
Explorer09 (Talk | contribs) (removed tables; changed title text to "In other languages:") |
Explorer09 (Talk | contribs) (added an edit link) |
||
Line 9: | Line 9: | ||
-->{{#if:{{{15|}}}| • [[{{{16}}}|{{#language:{{{15}}}}}]] <small>({{{15}}})</small>}}<!-- | -->{{#if:{{{15|}}}| • [[{{{16}}}|{{#language:{{{15}}}}}]] <small>({{{15}}})</small>}}<!-- | ||
-->{{#if:{{{17|}}}| • [[{{{18}}}|{{#language:{{{17}}}}}]] <small>({{{17}}})</small>}}<!-- | -->{{#if:{{{17|}}}| • [[{{{18}}}|{{#language:{{{17}}}}}]] <small>({{{17}}})</small>}}<!-- | ||
− | -->{{#if:{{{19|}}}| • [[{{{20}}}|{{#language:{{{19}}}}}]] <small>({{{19}}})</small>}} | + | -->{{#if:{{{19|}}}| • [[{{{20}}}|{{#language:{{{19}}}}}]] <small>({{{19}}})</small>}}<!-- |
− | </div><noinclude> | + | --> • <span class="plainlinks">[{{fullurl:{{{pagename|{{FULLPAGENAME}}}}}|action=edit}} +/-]</span></div><noinclude> |
---- | ---- | ||
==Usage== | ==Usage== | ||
<nowiki>{{Languages|language code|link to the page|language code2|link2|...|...}}</nowiki> | <nowiki>{{Languages|language code|link to the page|language code2|link2|...|...}}</nowiki> | ||
− | + | ;Optional parameters | |
+ | :'''title''': The text at the table header. | ||
+ | :'''pagename''': Which page the edit link "+/-" links to. Defaults to the current page <nowiki>({{FULLPAGENAME}})</nowiki>. | ||
+ | |||
===Example=== | ===Example=== | ||
Example 1 | Example 1 |
Revision as of 14:13, 22 August 2010
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)}}