Difference between revisions of "Template:Language table"

From RRU Knowledge Base
Line 155: Line 155:
This template lists the different names of a product, work, object, location, or character across different regions and languages. Use this template by placing <code><nowiki>{{Langtable|xx=name}}</nowiki></code> under an "In other languages" section, with <code>xx</code> being an ISO code and <code>name</code> being the name in that language.
This template lists the different names of a product, work, object, location, or character across different regions and languages. Use this template by placing <code><nowiki>{{Langtable|xx=name}}</nowiki></code> under an "In other languages" section, with <code>xx</code> being an ISO code and <code>name</code> being the name in that language.


The following table is a list of usable codes to designate regions and languages. To enable English-speaking regions, add <code>en_va=yes</code>.
The following table is a list of usable codes to designate regions and languages. Setting English regions is broken right now and I don't know if any other I've added need regional variations yet (there definitely are many for some currently added, but whether there's any releases of material covered on this wiki determines if a region is added).
{{Langtable
{{Langtable
|cs=cs
|cs=cs

Revision as of 00:32, 9 October 2017

Usage instructions

This template lists the different names of a product, work, object, location, or character across different regions and languages. Use this template by placing {{Langtable|xx=name}} under an "In other languages" section, with xx being an ISO code and name being the name in that language.

The following table is a list of usable codes to designate regions and languages. Setting English regions is broken right now and I don't know if any other I've added need regional variations yet (there definitely are many for some currently added, but whether there's any releases of material covered on this wiki determines if a region is added).

Language Name
20px Czech cs
20px Danish da
20px Dutch nl
20px English en
English 20px Australia en_au
English 20px Canada en_ca
English 20px New Zealand en_nz
English 20px North America en_na
English 20px United Kingdom en_uk
English 20px United States en_us
20px French fr
20px German de
20px Hebrew he
20px Italian it
20px Japanese ja
20px Norwegian no
20px Polish pl
20px Portuguese pt
20px Russian ru
20px Spanish es
20px Swedish sv
footnote

Currently only languages and regions confirmed to be relevant have been added, will add more when needed.

To do: should probably make en versions for other countries since some stuff gets changed between uk, us, and nz at least, if not canada and australia too