Flag Template

    Keywords: SL description

Table of contents

Template description

This template displays a small flag, based on two letter country code (lowercase!) of [ext] ISO 3166-1 alpha-2

Examples

{{flag|nl}} results in: 🇳🇱

{{flag|de}} results in: 🇩🇪

{{flag|ro}} results in: 🇷🇴

{{flag|jp}} results in: 🇯🇵

{{flag|cn}} results in: 🇨🇳

{{flag|kr}} results in: 🇰🇷

Template code

See also

  • FlagAlt Template Template to generate the alternate text to display for a country when the image of its flag is not available.
  • FlagImg Template Template for generating the unicode image (emoji) for the flag

This is a copy of the living page "Flag Template" at Sensei's Library.
(OC) 2024 the Authors, published under the OpenContent License V1.0.
[Welcome to Sensei's Library!]
StartingPoints
ReferenceSection
About