Difference between revisions of "Template:Languages"
Javitonino (talk | contribs) |
|||
(25 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | <div style="border-top: 1px solid #6C83B0; border-bottom: 1px solid #6C83B0; text-align: center; margin-bottom: | + | <div style="border-top: 1px solid #6C83B0; border-bottom: 1px solid #6C83B0; text-align: center; margin-bottom: 5px; padding: 0px;"> |
− | Languages: [[{{{1}}}| | + | Languages: {{#ifexist:{{BASEPAGENAME}}/Deutsch|[[{{{1}}}/Deutsch|Deutsch]] — |}}[[{{{1}}}/English|English]]{{#ifexist:{{BASEPAGENAME}}/Español| — [[{{{1}}}/Español|Español]]|}}{{#ifexist:{{BASEPAGENAME}}/Francais| — [[{{{1}}}/Francais|Français]]|}}{{#ifexist:{{BASEPAGENAME}}/Italiano| — [[{{{1}}}/Italiano|Italiano]]|}}{{#ifexist:{{BASEPAGENAME}}/Japanese| — [[{{{1}}}/Japanese|Japanese]]|}}{{#ifexist:{{BASEPAGENAME}}/Polish| — [[{{{1}}}/Polish|Polish]]|}} |
− | </div> | + | </div><noinclude> |
+ | == What is this template for? == | ||
+ | This template will add a top bar to select the language you want to read the article in. For this to work, articles in other languages must be named like the english one but replacing "/English" with the corresponding language: | ||
+ | |||
+ | */Deutsch | ||
+ | */Español | ||
+ | */Français | ||
+ | */Polish | ||
+ | |||
+ | == How do I use it? == | ||
+ | To include that template, add the following to the article you are editing: | ||
+ | <nowiki>{{Languages|Name of page without language tag}}</nowiki> | ||
+ | |||
+ | == Example == | ||
+ | Look at the [[ACL_and_Groups/English|ACL and Groups]] page. It is using the template right now. | ||
+ | |||
+ | [[Category:Templates]] | ||
+ | </noinclude> |
Latest revision as of 02:44, 17 December 2010
Languages: [[{{{1}}}/English|English]]
What is this template for?
This template will add a top bar to select the language you want to read the article in. For this to work, articles in other languages must be named like the english one but replacing "/English" with the corresponding language:
- /Deutsch
- /Español
- /Français
- /Polish
How do I use it?
To include that template, add the following to the article you are editing:
{{Languages|Name of page without language tag}}
Example
Look at the ACL and Groups page. It is using the template right now.