(建立内容为“<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> <!-- EDIT TEMPLATE DOCUMENTATION BELO…”的新页面) |
小 (Katty von Keksburg移动页面Template:Flag/doc至Template:国旗/doc) |
||
(未显示2个用户的2个中间版本) | |||
第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|Germany|0}}</nowiki></code> || {{flag|Germany|0}} | |||
|- | |||
| <code><nowiki>{{flag|France|Bananas}}</nowiki></code> || {{flag|France|Bananas}} | |||
|} |
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}} |
挪威 |
{{flag|Germany|0}} |
德意志 |
{{flag|France|Bananas}} |
法兰西 |