Template:Flags/doc

From Brickipedia, the LEGO Wiki

Usage[edit source]

The flags template gives a small image of a countries flag. It is mainly used on the Brickipedia News blog, but can be used in other places.

Syntax[edit source]

{{flags|<flag code>|<optional size>}}

The flag code is a two letter code standing for the country of the flag. the first letter of the code is UPPERCASE, and the second lowercase. The defualt size is 50px, but you can alter this using the second parameter.

If you wanted to give the German flag, you would use this code:

{{flags|De}}

This would give the following result:
FlagDe.png

If the subject that your flags are describing is worldwide, you can use "World" in the first parameter:

{{flags|World}}

This would give the following result:
World.png