(merge from offical wiki) |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
<includeonly> | <includeonly>{{#cargo_query: | ||
{{template doc}} | | table = country_names | ||
| fields = chinese, english, tag, nickname | |||
| format = template | |||
</noinclude> | | template = Flag core | ||
| 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 | |||
}}</includeonly><noinclude>[[Category:国旗模板]]{{template doc}}</noinclude> | |||
2020年8月16日 (日) 21: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}} |