Template:Country data Japan: Difference between revisions
(Created page with "{{ {{{1<noinclude>|country showdata</noinclude>}}} | alias = Japan | flag alias = Flag of Japan.svg | flag alias-1870 = Flag of Japan (1870-1999).svg | link alias-1870 = Empir...") |
m (1 revision imported) |
Revision as of 15:23, 3 October 2022
| File:Ambox warning orange.svg | This template is used on approximately 107,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 | 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}}→ File:Flag of Japan.svg
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
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}}→ File:Naval Ensign of Japan.svg Japan Maritime Self-Defense Force{{flagicon|Japan|naval}}→ File:Naval Ensign of Japan.svg
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}}→ File:Flag of the Japan Air Self-Defense Force.svg
This template includes a marine ensign flag variant that can be used with Template:Marines:
{{marines|Japan}}→
Japanese Amphibious Rapid Deployment Brigade{{flagicon|Japan|marines}}→
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
This template includes an ensign flag variant that can be used with Template:Navy:
{{navy|Japan}}→ File:Naval Ensign of Japan.svg Japan Maritime Self-Defense Force{{flagicon|Japan|navy}}→ File:Naval Ensign of Japan.svg
This template includes a coast guard ensign flag variant that can be used with Template:Coast guard:
{{coast guard|Japan}}→ File:Ensign of the Japanese Coast Guard.svg Japan Coast Guard{{flagicon|Japan|coast guard}}→ File:Ensign of the Japanese Coast Guard.svg
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}}→
Related templates
Please see the following related country_data templates:
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
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 | ||||||
[[Category:Template documentation pages{{#translation:}}]]