Template:Country data Japan
Appearance

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.
![]() | This template is within the scope of WikiProject Flag Template, a collaborative effort to maintain flag templates on Wikipedia. A more thorough discussion of the flag template system, including parameters not described here, can be found on the project page. |

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 above right) |
Flag variants
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}} → [[Image:Template:Country flag alias Japan|border|25x20px|Template:Country alias Japanの旗]]
This template includes an air force ensign flag variant that can be used with Template:Air force:
- {{air force|Japan}} →
Japan Air Self-Defense Force
- {{flagicon|Japan|air force}} → [[Image:Template:Country flag alias Japan|border|25x20px|Template:Country alias Japanの旗]]
This template includes an army ensign flag variant that can be used with Template:Army:
- {{army|Japan}} → Template:Army/core
- {{flagicon|Japan|army}} → [[Image:Template:Country flag alias Japan|border|25x20px|Template:Country alias Japanの旗]]
Redirect aliases
Alias name | {{flag|alias}} output | {{flagcountry|alias}} output |
---|---|---|
JPN (view) | ![]() | ![]() |
Example usage
- {{flag|Japan}} →
Japan
- {{flagicon|Japan}} → [[Image:Template:Country flag alias Japan|border|25x20px|Template:Country alias Japanの旗]]
Using a flag variant
- {{flag|Japan|1870}} →
Japan
- {{flagicon|Japan|1870}} → [[Image:Template:Country flag alias Japan|border|25x20px|Template:Country alias Japanの旗]]
Using a redirect alias
Related templates
Please see the following related country_data templates: