Template:Region: Difference between revisions
m (Added Chinese regions for language stuuuff) |
No edit summary |
||
Line 17: | Line 17: | ||
| it = [[File:Flag-Italy.png|22px|Italy|link=]]{{#vardefine:language|{{Tt|Italian|Italiana}}}}{{#vardefine:region|Italy}} | | it = [[File:Flag-Italy.png|22px|Italy|link=]]{{#vardefine:language|{{Tt|Italian|Italiana}}}}{{#vardefine:region|Italy}} | ||
| ru = [[File:Flag-Russia.png|22px|Russia|link=]]{{#vardefine:language|{{Tt|Russian|Русский}}}}{{#vardefine:region|Russia}} | | ru = [[File:Flag-Russia.png|22px|Russia|link=]]{{#vardefine:language|{{Tt|Russian|Русский}}}}{{#vardefine:region|Russia}} | ||
| ww = 🌎{{#vardefine:language|English}}{{#vardefine:region|Worldwide}} | |||
}} {{#switch: {{lc:{{{m|}}}}} | }} {{#switch: {{lc:{{{m|}}}}} | ||
| 1 | jan | january = January | | 1 | jan | january = January |
Revision as of 20:03, July 20, 2020
[Edit Documentation] This is an all-purpose template for identifying various regions, countries, and languages. It is also used to represent release dates for these regions in a consistent format.
Usage
Region
To identify a region with the region's name and its flag:
{{Region| region }}
- region — One of the region codes in the table below.
Example: {{Region|jp}}
→ Japan
Language
To identify a region's language similarly to above, add "language" as an additional argument.
{{Region| region | language }}
- region — One of the region codes in the table below.
- language — "language" tells the template to display the name of that region's language.
Example: {{Region|jp|language}}
→ 日本語
Release Date
For release dates, specify the year, month, and day like so:
{{Region| region | y= | m= | d= }}
- region — One of the region codes in the table below. (Optional.)
- y, m, d — Year, Month, and Day, respectively. (Optional.)
Example: {{Region|jp|y=2013|m=1|d=29}}
→ January 29, 2013
Other
To display just the flag alongside other information, place that other information in the template.
{{Region| region | information }}
- region — One of the region codes in the table below.
- information — Information pertaining to that region.
Example: {{Region|jp|Japan-specific information}}
→ Japan-specific information
Region Codes
Region | Abbreviation |
---|---|
Japan | jp |
North America | na |
Europe | eu |
Australia | au |
Greater China | gc |
Taiwan, Hong Kong, and Macao | tw |
China | cn |
Korea | kr |
United States | us |
United Kingdom | uk |
Spain | sp |
Latin America | la |
France | fr |
Canada | ca |
Germany | ge |
Italy | it |
Netherlands | nl |
Russia | ru |
Worldwide | ww |