无编辑摘要 |
小 (Katty von Keksburg移动页面Template:Flag至Template:国旗) |
||
| (未显示1个用户的2个中间版本) | |||
| 第4行: | 第4行: | ||
| template = Flag core | | template = Flag core | ||
| named args = yes | | named args = yes | ||
| where = country_names.chinese = "{{{1|5000}}}" OR country_names.nickname = "{{{1|5000}}}" OR country_names.english = "{{{1|5000}}}" OR country_names.tag = "{{{1|5000}}}" <> 0 | | where = country_names.chinese = "{{{1|5000}}}" OR country_names.nickname = "{{{1|5000}}}" OR country_names.nickname2 = "{{{1|5000}}}" OR country_names.nickname3 = "{{{1|5000}}}" OR country_names.nickname4 = "{{{1|5000}}}" OR country_names.english = "{{{1|5000}}}" OR country_names.tag = "{{{1|5000}}}" <> 0 | ||
}}</includeonly><noinclude>[[Category:国旗模板]]{{template doc}}</noinclude> | }}</includeonly><noinclude>[[Category:国旗 模板]][[Category:语义化 模板]]{{template doc}}</noinclude> | ||
2022年11月25日 (五) 18:59的最新版本
Used to place flags inline.
Parameters
| Parameter | Effect |
|---|---|
| 1 | Required. Name of the country (e.g. France)
|
| 2 | Optional. Default is with standard country name as a label. Can add an alternative label (e.g. Bananas), or set to 0 to remove text label
|
Examples
| Example code | Result |
|---|---|
{{flag|Norway}} |
|
{{flag|German Reich|0}} |
|
{{flag|France|Bananas}} |