(建立内容为“<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> <!-- EDIT TEMPLATE DOCUMENTATION BELO…”的新页面) |
无编辑摘要 |
||
第1行: | 第1行: | ||
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> | <includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> | ||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | ||
Used to place flags inline. | |||
== Parameters == | |||
{| class="wikitable" | |||
|- | |||
! Parameter !! Effect | |||
|- | |||
| 1 || '''Required'''. Name of the [[country]] (e.g. <code><nowiki>France</nowiki></code>) | |||
|- | |||
| 2 || '''Optional'''. Default is with standard country name as a label. <br />Can add an alternative label (e.g. <code><nowiki>Bananas</nowiki></code>), or set to <code><nowiki>0</nowiki></code> to remove text label | |||
|} | |||
== Examples == | |||
= | |||
{| class="wikitable" | |||
|- | |||
! Example code !! Result | |||
< | |- | ||
</ | | <code><nowiki>{{flag|Norway}}</nowiki></code> || {{flag|Norway}} | ||
|- | |||
| <code><nowiki>{{flag|German Reich|0}}</nowiki></code> || {{flag|German Reich|0}} | |||
|- | |||
| <code><nowiki>{{flag|France|Bananas}}</nowiki></code> || {{flag|France|Bananas}} | |||
|} |
2022年4月18日 (一) 14:04的版本
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}} |
法兰西 |