Template:Country data Japan: Difference between revisions
m (no longer required - High use template is now in the documentation) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 02:42, 15 February 2024
Warning | This template is used on approximately 235,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. |
File:Exclamationdiamond.svg | 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. |
File:Information icon4.svg | 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 | File:Naval Ensign of Japan.svg | 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 | File:Naval Ensign of Japan.svg | Naval Ensign of Japan.svg |
air force | File:Flag of the Japan Air Self-Defense Force.svg | 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) | Template:Country data JPN | Template:Country data JPN |
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|1870}}
→ File:Flag of Japan (1870-1999).svg Japan{{flagicon|Japan|1870}}
→ Japan
Using a redirect alias
{{flagicon|JPN}}
→ Template:Country data JPN{{flagcountry|JPN}}
→ Template:Country data JPN{{flag|JPN}}
→ Template:Country data JPN
Military ensigns
This template includes a naval flag variant that can be used with Template:Naval:
{{naval|Japan}}
→ Template:Naval{{flagicon|Japan|naval}}
→ Japan
This template includes an air force ensign flag variant that can be used with Template:Air force:
{{air force|Japan}}
→ File:Flag of the Japan Air Self-Defense Force.svg 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}}
→ Template:Marines{{flagicon|Japan|marines}}
→ Japan
This template includes a marine ensign flag variant that can be used with Template:Armed forces:
{{Armed forces|Japan}}
→ Template:Armed forces{{flagicon|Japan|military}}
→ Japan
This template includes an ensign flag variant that can be used with Template:Navy:
{{navy|Japan}}
→ Template:Navy{{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}}
→ Japan
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|Japan}}
→ Template:Army{{flagicon|Japan|army}}
→ 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 |