Ikariam
Advertisement

Displays a flag image.

Usage

{{Flag|<name or code> |c=caption|s=size|l=link|b=|loc=}}

  • This template uses the sub-template {{Flag/Image}} to determine the correct flag image.
  • This template uses the sub-template {{Flag/Caption}} to determine the correct default caption.

name or code

(Required) - Flag name or code.
c=
(Semi-Optional) - Changes or Adds a caption to the image
(Optional) - If a caption already exists in the sub-template {{Flag/Caption}}.
(Required) - If no caption exists in the sub-template {{Flag/Caption}}.
s=
(Optional) - Flag size, in px (default is 20).
l=
(Optional) - Links the image to a page or interlanguage link if flag is clicked.
b=
(Optional) - Removes the border from the flag.
loc=
(Optional) - Used to tell the flag to show on the left, center, or right side of the page.

Examples

{{Flag|us}} produces US / USA / United States / United States of America

{{Flag|blah}} produces "Flag image for blah does not exist in {{Flag/Image}}"!

{{Flag|Test test}} produces This is for Testing purposes only!

{{Flag|Test test |b=}} produces This is for Testing purposes only!

{{Flag|Test test|l=Main Page}} produces This is for Testing purposes only!

{{Flag|uK|c=Test|s=40}} produces Test

{{Flag|UK|c=Test|s=60}} produces Test

{{Flag|US|c=Another test|s=30|l=Main Page}} produces Another test

{{Flag|test test|loc=left}} produces

This is for Testing purposes only!


{{Flag|test test|loc=center}} produces

This is for Testing purposes only!


{{Flag|test test|loc=right}} produces

This is for Testing purposes only!