Difference between revisions of "Template:Languages"

From Mumble Wiki
Jump to: navigation, search
(Updating template, will not display non-existent pages)
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| — [[{{{1}}}/Español|Español]]|}} — [[{{{1}}}/Francais|Français]] — [[{{{1}}}/Italiano|Italiano]] — [[{{{1}}}/Deutsch|Deutsch]]
+
Languages: [[{{{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}}/Deutsch — [[{{{1}}}/Deutsch|Deutsch]]|}}
 
</div><noinclude>
 
</div><noinclude>
 
== What is this template for? ==
 
== What is this template for? ==

Revision as of 19:37, 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.