Template:Country data Japan
| This template is used on approximately 250,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
Template:Country data Japan is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag, flag icon, 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 on right) |
Flag variants
Redirect aliases
| Alias name | {{flag|alias}} output | {{flag country|alias}} output |
|---|---|---|
JPN (view) | Template:Flag | Template:Country data JPN |
See What links here for a full list of redirects.
Example usage
{{flag|Japan}}→ Template:Flag{{flag icon|Japan}}→
Using a flag variant
{{flag|Japan|1870}}→ Template:Flag{{flag icon|Japan|1870}}→
Using a redirect alias
{{flag icon|JPN}}→ Template:Country data JPNTemplate:Namespace detect showall{{flag country|JPN}}→ Template:Country data JPN{{flag|JPN}}→ Template:Flag
Military ensigns
This template includes a naval flag variant that can be used with Template:Naval:
{{naval|Japan}}→ Template:Naval{{flag icon|Japan|naval}}→
Template:Break
This template includes an air force ensign flag variant that can be used with Template:Air force:
{{air force|Japan}}→ Template:Air force{{flag icon|Japan|air force}}→
Template:Break
This template includes a marine ensign flag variant that can be used with Template:Marines:
{{marines|Japan}}→ Template:Marines{{flag icon|Japan|marines}}→
Template:Break
This template includes a marine ensign flag variant that can be used with Template:Armed forces:
{{Armed forces|Japan}}→ Template:Armed forces{{flag icon|Japan|military}}→
Template:Break
This template includes an ensign flag variant that can be used with Template:Navy:
{{navy|Japan}}→ Template:Navy{{flag icon|Japan|navy}}→
Template:Break
This template includes a coast guard ensign flag variant that can be used with Template:Coast guard:
{{coast guard|Japan}}→ Template:Coast guard{{flag icon|Japan|coast guard}}→
Template:Break
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|Japan}}→ Template:Army{{flag icon|Japan|army}}→
Related templates
Please see the following related country_data templates:
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:Flag icon. 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 | ||||||