Pang-bô͘:Flag image

Lohankhapedia (自由的百科全書) 欲共你講..。
跳至導覽 跳至搜尋
Documentation icon枋模文件[Cha-khòaⁿ] [[1]] [Le̍k-sú][Thâi-tû ]

Usage[修改]

This template generates a floating flag image. Use the parameter |Image= to specify an image without "File:"/"Image:" prefix, |Pos= to control the position of the image (left, right, none or center; default right), |Image_size= to control the image size (default 210×105px), |Width= to specify image width (integer only, without any unit or suffix), |Box_width= to specify the width of the box (integer only, without any unit or suffix), |Caption= to specify the text underneath the image, and |NoCentering= to make the text not centered underneath the image. The parameter |Country= may be used to use the image specified by Template:Country data {{{Country}}} (overridden by the |Image= parameter if specified) and to generate a default caption "Flag of {{{Country}}}". Parameter names are fully case-sensitive.

Examples[修改]

Code: <syntaxhighlight lang="text">

Flag of Denmark
Flag of Germany
Flag of Nepal
Flag of Russia

</syntaxhighlight>

Output:

Flag of Denmark
Flag of Germany
Flag of Nepal
Flag of Russia