Template:Country data Japan: Difference between revisions
meta>Andrwsc m Reverted edits by R9tgokunks (talk) to last version by Andrwsc |
meta>Andrwsc naval variant auto documented using AWB |
||
Line 12: | Line 12: | ||
| variant = {{{variant|}}} | | variant = {{{variant|}}} | ||
<noinclude> | <noinclude> | ||
| var1 = | | var1 = alt | ||
| var2 = | | var2 = 1945 | ||
| var3 | | var3 = ryukyu | ||
| redir1 = JPN | | redir1 = JPN | ||
| related1 = Empire of Japan | | related1 = Empire of Japan |
Revision as of 22:22, 3 October 2007
Template:Country data Japan is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as {{Flag}}, {{Flagicon}}
and others.
Standard parameters
Parameter name | Value | Meaning |
---|---|---|
alias |
Japan |
Main article name (Japan) |
flag alias |
Flag of Japan.svg |
Image name (File:Flag of Japan.svg, shown on right) |
Flag variants
Label | Flag image (40px) | Image name |
---|---|---|
alt | File:Flag of Japan - variant.svg | Flag of Japan - variant.svg |
1945 | Flag of Allied Occupied Japan.svg | |
ryukyu | Flag of US Occupied Ryukyu Islands.svg | |
naval | Naval Ensign of Japan.svg |
Military ensigns
This template includes a naval ensign flag variant that can be used with Template:Navy:
{{Navy|Japan}}
→ Japan Maritime Self-Defense Force{{Flagicon|Japan|naval}}
→
Redirect aliases
This template can also be used via an alias name (implemented as a redirect to this template):
Alias name | {{Flag|alias}} output | {{Flagcountry|alias}} output |
---|---|---|
JPN (view) | File:Flag of Japan.svg JPN | File:Flag of Japan.svg Japan |
See What links here for a full list of redirects.
Example usage
{{Flag|Japan}}
→ File:Flag of Japan.svg Japan{{Flagicon|Japan}}
→ Japan
Using a flag variant
{{Flag|Japan|alt}}
→ File:Flag of Japan - variant.svg Japan{{Flagicon|Japan|alt}}
→ Japan
Using a redirect alias
{{Flagicon|JPN}}
→ Japan{{Flagcountry|JPN}}
→ File:Flag of Japan.svg Japan{{Flag|JPN}}
→ File:Flag of Japan.svg JPN
Related templates
Please see the following related country_data
templates:
- Template:Country data Empire of JapanFile:Merchant flag of Japan (1870).svg Empire of Japan
- Template:Country data Ryūkyū Kingdom Ryūkyū Kingdom
Other information
Country_data templates are also available for each of the prefectures of Japan:
TemplateData
TemplateData for Country data Japan
This template should not be used directly. It is used indirectly by flag templates such as Template:Flag and Template:Flagicon. See Category:Flag template system for a full list of flag templates and Wikipedia:WikiProject Flag Template for further documentation.
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |