Template:Languages: Difference between revisions

From Fab Lab Wiki - by NMÍ Kvikan
Jump to navigation Jump to search
Martin (talk | contribs)
Simplified and added a link to the ISO 3166-1 alpha-2 standard
No edit summary
 
(4 intermediate revisions by 3 users not shown)
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}}}}}/fr|{{#language:fr}}]] • 
[[{{{1|:{{NAMESPACE}}:{{BASEPAGENAME}}}}}/es|{{#language:es}}]] • 
[[{{{1|:{{NAMESPACE}}:{{BASEPAGENAME}}}}}/es|{{#language:es}}]] • 
[[{{{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}}}}}/gl|{{#language:gl}}]] • 
[[{{{1|:{{NAMESPACE}}:{{BASEPAGENAME}}}}}/fo|{{#language:fo}}]] • 
[[{{{1|:{{NAMESPACE}}:{{BASEPAGENAME}}}}}/tr|{{#language:tr}}]] •
[[{{{1|:{{NAMESPACE}}:{{BASEPAGENAME}}}}}/tr|{{#language:tr}}]] •
</div></includeonly><noinclude>
</div></includeonly><noinclude>
Line 15: Line 15:
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.

Latest revision as of 21:08, 23 June 2017


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.