Pang-bô͘:Country data 日本

Documentation icon Pang-bô͘ bûn-su

Template:Country data 日本 is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag, flagicon, and others.

Standard parameters

Parameter nameValueMeaning
alias 日本 Main article name (日本)
flag alias Flag of Japan.svg Image name (File:Flag of Japan.svg, shown on right)

Flag variants

LabelFlag image (40px)Image name
altMerchant flag of Japan (1870).svg
1945Flag of Allied Occupied Japan.svg
ryukyuCivil ensign of the Ryukyu Islands (1952–1967).svg
navalNaval Ensign of Japan.svg

Military ensigns

This template includes a naval ensign flag variant that can be used with Template:Navy:

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 Ji̍t-pún

See What links here for a full list of redirects.

Example usage

  • {{flag|日本}} 日本
  • {{flagicon|日本}}Ji̍t-pún ê kî-á

Using a flag variant

  • {{flag|日本|alt}} 日本
  • {{flagicon|日本|alt}}Ji̍t-pún ê kî-á

Using a redirect alias

  • {{flagicon|JPN}}Ji̍t-pún ê kî-á
  • {{flagcountry|JPN}} Ji̍t-pún
  • {{flag|JPN}} JPN

Please see the following related country_data templates:


TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

See the monthly error report for this template.

TemplateData for Country data 日本

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.

模板參數[編輯模板資料]

參數描述類型狀態
未指定參數