Template:Flag/doc

Displays a flag image.

Usage
Flag


 * 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
us produces 🇺🇸 us

blah produces blah

Test test produces Test test

Test test produces Test test

Test test produces Test test

uK produces uK

UK produces uK

US produces 🇺🇸 US

test test produces test test

test test produces test test

test test produces test test