Difference between revisions of "Template:Languages"

From Mumble Wiki
Jump to: navigation, search
(Fix bug and spaces)
(added japanese)
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: [[{{{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}}/Deutsch|&nbsp;— [[{{{1}}}/Deutsch|Deutsch]]|}}
+
Languages: [[{{{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}}/Deutsch|&nbsp;— [[{{{1}}}/Deutsch|Deutsch]]|}}{{#ifexist:{{BASEPAGENAME}}/Japanese|&nbsp;— [[{{{1}}}/Japanese|Japanese]]|}}
 
</div><noinclude>
 
</div><noinclude>
 
== What is this template for? ==
 
== What is this template for? ==

Revision as of 23:29, 12 February 2009

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

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.