无编辑摘要 |
小 (已还原自由之民(对话)的编辑至最后由Katty von Keksburg修订的版本) 标签:回退 |
||
第1行: | 第1行: | ||
<includeonly>{{#cargo_query: table = country_names | <includeonly>{{#cargo_query: table = country_names | ||
| fields = chinese, english, tag, | | fields = chinese, english, tag, alias | ||
| format = template | | format = template | ||
| template = Flag core | | template = Flag core | ||
| named args = yes | | named args = yes | ||
| where = country_names.chinese = "{{{1|5000}}}" OR country_names.alias1 = "{{{1|5000}}}" OR country_names.alias2 = "{{{1|5000}}}" OR country_names.alias3 = "{{{1|5000}}}" OR country_names.alias4 = "{{{1|5000}}}" OR country_names.english = "{{{1|5000}}}" OR country_names.tag = "{{{1| | | where = country_names.chinese = "{{{1|5000}}}" OR country_names.alias1 = "{{{1|5000}}}" OR country_names.alias2 = "{{{1|5000}}}" OR country_names.alias3 = "{{{1|5000}}}" OR country_names.alias4 = "{{{1|5000}}}" OR country_names.english = "{{{1|5000}}}" OR country_names.tag = "{{{1|5000}}}" <> 0 | ||
}}</includeonly><noinclude>[[Category:国旗模板]][[Category:语义化模板]]{{template doc}}</noinclude> | }}</includeonly><noinclude>[[Category:国旗模板]][[Category:语义化模板]]{{template doc}}</noinclude> |
2023年2月26日 (日) 15:26的版本
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}} |
错误:没有在指定数据库的任何数据表中找到名为“alias”的字段。
|
{{flag|Germany|0}} |
错误:没有在指定数据库的任何数据表中找到名为“alias”的字段。
|
{{flag|France|Bananas}} |
错误:没有在指定数据库的任何数据表中找到名为“alias”的字段。
|