Template:Region: Difference between revisions
mNo edit summary |
(Adding Netherlands region) |
||
Line 16: | Line 16: | ||
| ge = [[File:Flag-Germany.png|22px|Germany|link=]]{{#vardefine:language|{{Tt|German|Deutsch}}}}{{#vardefine:region|Germany}} | | ge = [[File:Flag-Germany.png|22px|Germany|link=]]{{#vardefine:language|{{Tt|German|Deutsch}}}}{{#vardefine:region|Germany}} | ||
| 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}} | ||
| nl = [[File:Flag-Netherlands.png|22px|Netherlands|link=]]{{#vardefine:language|{{Tt|Dutch|Nederlands}}}}{{#vardefine:region|Netherlands}} | |||
| 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 = <span title="worldwide">🌎</span>{{#vardefine:language|English}}{{#vardefine:region|Worldwide}} | | ww = <span title="worldwide">🌎</span>{{#vardefine:language|English}}{{#vardefine:region|Worldwide}} |
Latest revision as of 07:22, June 17, 2023
[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 |