This template is used on approximately 121,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. |
Notice | 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 on right) |
Flag variants
Label | Flag image (40px) | Image name |
---|---|---|
1870 | File:Flag of Japan (1870-1999).svg | Flag of Japan (1870-1999).svg |
1945 | File:Flag of Allied Occupied Japan.svg | Flag of Allied Occupied Japan.svg |
1947 | File:Flag of Japan (1870-1999).svg | Flag of Japan (1870-1999).svg |
ryukyu | File:Flag of US Occupied Ryukyu Islands.svg | Flag of US Occupied Ryukyu Islands.svg |
naval | Naval Ensign of Japan.svg | |
marines | File:Flag of JSDF.svg | Flag of JSDF.svg |
military | File:Flag of the Japan Self-Defense Forces.svg | Flag of the Japan Self-Defense Forces.svg |
coast guard | File:Ensign of the Japanese Coast Guard.svg | Ensign of the Japanese Coast Guard.svg |
navy | Naval Ensign of Japan.svg | |
air force | Flag of the Japan Air Self-Defense Force.svg | |
army | File:Flag of JSDF.svg | Flag of JSDF.svg |
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) | JPN | Japan |
See What links here for a full list of redirects.
Example usage
{{flag|Japan}}
→ Japan{{flagicon|Japan}}
→ [[Japan|]]
Using a flag variant
{{flag|Japan|1870}}
→ File:Flag of Japan (1870-1999).svg Japan{{flagicon|Japan|1870}}
→ File:Flag of Japan (1870-1999).svg [[Japan|]]
Using a redirect alias
Military ensigns
This template includes a naval flag variant that can be used with Template:Naval:
{{naval|Japan}}
→ Japan Maritime Self-Defense Force{{flagicon|Japan|naval}}
→ [[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}}
→ [[Japan|]]
This template includes a marine ensign flag variant that can be used with Template:Marines:
{{marines|Japan}}
→ File:Flag of JSDF.svg Japanese Amphibious Rapid Deployment Brigade{{flagicon|Japan|marines}}
→ File:Flag of JSDF.svg [[Japan|]]
This template includes a marine ensign flag variant that can be used with Template:Armed forces:
{{Armed forces|Japan}}
→ File:Flag of the Japan Self-Defense Forces.svg Japan Self-Defense Forces{{flagicon|Japan|military}}
→ File:Flag of the Japan Self-Defense Forces.svg [[Japan|]]
This template includes an ensign flag variant that can be used with Template:Navy:
{{navy|Japan}}
→ Japan Maritime Self-Defense Force{{flagicon|Japan|navy}}
→ [[Japan|]]
This template includes a coast guard ensign flag variant that can be used with Template:Coast guard:
{{coast guard|Japan}}
→ Template:Coast guard{{flagicon|Japan|coast guard}}
→ File:Ensign of the Japanese Coast Guard.svg [[Japan|]]
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|Japan}}
→ File:Flag of JSDF.svg Japan Ground Self-Defense Force{{flagicon|Japan|army}}
→ File:Flag of JSDF.svg [[Japan|]]
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: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 |