Difference between revisions of "Template:Languages"
From Worms Knowledge Base
Explorer09 (Talk | contribs) (new parameter: title) |
Explorer09 (Talk | contribs) (removed tables; changed title text to "In other languages:") |
||
Line 1: | Line 1: | ||
− | + | <div style="font-size: 85%; clear: both;">'''{{{title|In other languages:}}}''' <!-- | |
− | + | ||
− | + | ||
-->{{#if:{{{1|}}}|[[{{{2}}}|{{#language:{{{1}}}}}]] <small>({{{1}}})</small>}}<!-- | -->{{#if:{{{1|}}}|[[{{{2}}}|{{#language:{{{1}}}}}]] <small>({{{1}}})</small>}}<!-- | ||
-->{{#if:{{{3|}}}| • [[{{{4}}}|{{#language:{{{3}}}}}]] <small>({{{3}}})</small>}}<!-- | -->{{#if:{{{3|}}}| • [[{{{4}}}|{{#language:{{{3}}}}}]] <small>({{{3}}})</small>}}<!-- | ||
Line 12: | Line 10: | ||
-->{{#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> | |
---- | ---- | ||
==Usage== | ==Usage== |
Revision as of 15:52, 11 February 2010
In other languages:
Usage
{{Languages|language code|link to the page|language code2|link2|...|...}}
An optional parameter title can change the text at the table header.
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)}}