Template:Flagbox

From 4005
Jump to navigationJump to search

[[file:|25px|link=]] [[|]]

Input Code[edit source]

For displaying flags in infoboxes. Just put the filename and the extension, the width and "file" prefix are already automatically included. For the nation name, the square brackets are also automatic, so you need only put the page's name. The display name and formatting are optional, and will display the nation's page name if left blank. The comment is also optional; it's useful if you want to put something after the flag and nation name, e.g. some dates.

Note: keep the "comment=" and/or "formatting=" prefixes for the comment function to work properly.

{{flagbox|filename|formatting=format text (e.g. border)|nation name|link display name|comment=comment text}}