Difference between revisions of "Template:Languages"

From Mumble Wiki
Jump to: navigation, search
m (fix)
(added Polish language)
Line 1: Line 1:
 
<div style="border-top: 1px solid #6C83B0; border-bottom: 1px solid #6C83B0; text-align: center; margin-bottom: 5px; padding: 0px;">
 
<div style="border-top: 1px solid #6C83B0; border-bottom: 1px solid #6C83B0; text-align: center; margin-bottom: 5px; padding: 0px;">
Languages: {{#ifexist:{{BASEPAGENAME}}/Deutsch|[[{{{1}}}/Deutsch|Deutsch]] —&nbsp;|}}[[{{{1}}}/English|English]]{{#ifexist:{{BASEPAGENAME}}/Español|&nbsp;— [[{{{1}}}/Español|Español]]|}}{{#ifexist:{{BASEPAGENAME}}/Francais|&nbsp;— [[{{{1}}}/Francais|Français]]|}}{{#ifexist:{{BASEPAGENAME}}/Italiano|&nbsp;— [[{{{1}}}/Italiano|Italiano]]|}}{{#ifexist:{{BASEPAGENAME}}/Japanese|&nbsp;— [[{{{1}}}/Japanese|Japanese]]|}}
+
Languages: {{#ifexist:{{BASEPAGENAME}}/Deutsch|[[{{{1}}}/Deutsch|Deutsch]] —&nbsp;|}}[[{{{1}}}/English|English]]{{#ifexist:{{BASEPAGENAME}}/Español|&nbsp;— [[{{{1}}}/Español|Español]]|}}{{#ifexist:{{BASEPAGENAME}}/Francais|&nbsp;— [[{{{1}}}/Francais|Français]]|}}{{#ifexist:{{BASEPAGENAME}}/Italiano|&nbsp;— [[{{{1}}}/Italiano|Italiano]]|}}{{#ifexist:{{BASEPAGENAME}}/Japanese|&nbsp;— [[{{{1}}}/Japanese|Japanese]]|}}{{#ifexist:{{BASEPAGENAME}}/Polish|&nbsp;— [[{{{1}}}/Polish|Polish]]|}}
 
</div><noinclude>
 
</div><noinclude>
 
== What is this template for? ==
 
== What is this template for? ==
Line 8: Line 8:
 
*/Español
 
*/Español
 
*/Français
 
*/Français
 +
*/Polish
  
 
== How do I use it? ==
 
== How do I use it? ==

Revision as of 09:17, 20 February 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.