Module:Flags/doc: Difference between revisions

Content deleted Content added
Roadmap: variant historical done.
Labels supported
Line 9:
* Nepal and Ohio flags are shown without border. {{FlagiconLua|Nepal}} {{FlagiconLua|Ohio}}
* When a name is not found in the list, attempts to offer a Commons image and a link e.g. "Berlin" or "WHO". {{FlagiconLua|Berlin}} {{FlagiconLua|WHO}}
* Size as in "size=44px" or "size=40x44px" can be defined in any position. {{FlagiconLua|Andorra|size=44px}} {{FlagiconLua|Nepal|size=26x44px}} {{FlagiconLua|Ohio|whatever|size=44px}} {{FlagiconLua|Berlin|whatever|size=40x44px}}
* Nepal, Switzerland and Vatican City have a default size of 20x17px (for the rest is 20x22px): {{FlagiconLua|Nepal}} {{FlagiconLua|Switzerland}} {{FlagiconLua|the Vatican City}}
* Variants for historical flags e.g."1901" {{FlagiconLua|Afghanistan|1901}} or "variant=1901" (for compatibility reasons) {{FlagiconLua|Afghanistan|variant=1901}}
* Variants for labeled flags: "naval", "air force" and any other specified at FlagTranslations. {{FlagiconLua|United Kingdom|civil}} {{FlagiconLua|United Kingdom|naval-RMAS}}
* Variant / label flags not found in FlagTranslations return the Flag of None but still point to the right article e.g. {{FlagiconLua|Ohio|whatever}} {{FlagiconLua|Berlin|quatsch}}
 
== Roadmap ==