Difference between revisions of "Template:Languages"

From Fab Lab Wiki - by NMÍ Kvikan
Jump to: navigation, search
(Simplified and added a link to the ISO 3166-1 alpha-2 standard)
(Update list of languages that actually have any pages which transclude this template.)
Line 2: Line 2:
 
[[{{{1|:{{NAMESPACE}}:{{BASEPAGENAME}}}}}|{{#language:en}}]] • 
 
[[{{{1|:{{NAMESPACE}}:{{BASEPAGENAME}}}}}|{{#language:en}}]] • 
 
[[{{{1|:{{NAMESPACE}}:{{BASEPAGENAME}}}}}/de|{{#language:de}}]] • 
 
[[{{{1|:{{NAMESPACE}}:{{BASEPAGENAME}}}}}/de|{{#language:de}}]] • 
[[{{{1|:{{NAMESPACE}}:{{BASEPAGENAME}}}}}/es|{{#language:es}}]] • 
 
 
[[{{{1|:{{NAMESPACE}}:{{BASEPAGENAME}}}}}/fr|{{#language:fr}}]] • 
 
[[{{{1|:{{NAMESPACE}}:{{BASEPAGENAME}}}}}/fr|{{#language:fr}}]] • 
 
[[{{{1|:{{NAMESPACE}}:{{BASEPAGENAME}}}}}/is|{{#language:is}}]] • 
 
[[{{{1|:{{NAMESPACE}}:{{BASEPAGENAME}}}}}/is|{{#language:is}}]] • 
[[{{{1|:{{NAMESPACE}}:{{BASEPAGENAME}}}}}/it|{{#language:it}}]] • 
 
 
[[{{{1|:{{NAMESPACE}}:{{BASEPAGENAME}}}}}/ja|{{#language:ja}}]] • 
 
[[{{{1|:{{NAMESPACE}}:{{BASEPAGENAME}}}}}/ja|{{#language:ja}}]] • 
 
[[{{{1|:{{NAMESPACE}}:{{BASEPAGENAME}}}}}/nl|{{#language:nl}}]] • 
 
[[{{{1|:{{NAMESPACE}}:{{BASEPAGENAME}}}}}/nl|{{#language:nl}}]] • 
 
[[{{{1|:{{NAMESPACE}}:{{BASEPAGENAME}}}}}/no|{{#language:no}}]] • 
 
[[{{{1|:{{NAMESPACE}}:{{BASEPAGENAME}}}}}/no|{{#language:no}}]] • 
[[{{{1|:{{NAMESPACE}}:{{BASEPAGENAME}}}}}/pl|{{#language:pl}}]] • 
 
 
[[{{{1|:{{NAMESPACE}}:{{BASEPAGENAME}}}}}/tr|{{#language:tr}}]] •
 
[[{{{1|:{{NAMESPACE}}:{{BASEPAGENAME}}}}}/tr|{{#language:tr}}]] •
 
</div></includeonly><noinclude>
 
</div></includeonly><noinclude>
Line 15: Line 12:
 
Include this template by placing <nowiki>{{languages}}</nowiki> where the language navigation bar should appear. It should appear like so:
 
Include this template by placing <nowiki>{{languages}}</nowiki> where the language navigation bar should appear. It should appear like so:
 
{{languages}}
 
{{languages}}
<!-- EDITORS: Note that you'll have to save this page twice for the included template to appear correctly. -->
+
<!-- EDITORS: Note that you'll have to save this page twice for the transcluded template to appear correctly. -->
  
 
To add a language, copy a line in the code above and replace the two letter country code with that of the new language. Please use the [http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 ISO 3166-1 alpha-2] codes.
 
To add a language, copy a line in the code above and replace the two letter country code with that of the new language. Please use the [http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 ISO 3166-1 alpha-2] codes.

Revision as of 09:43, 3 March 2015


Include this template by placing {{languages}} where the language navigation bar should appear. It should appear like so:

To add a language, copy a line in the code above and replace the two letter country code with that of the new language. Please use the ISO 3166-1 alpha-2 codes.