Module:Flags/doc: Difference between revisions

Content deleted Content added
Qgil-WMF (talk | contribs)
Examples of flags
Size as in "44px" or "44x80px" can be defined
Line 3:
== Features ==
 
Functionality already implemented:
 
* Recognition of flags based on the full name parameter in English or the locale language e.g. "Andorra". {{FlagiconLua|Andorra}}
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 "44px" or "40x44px" can be defined in the second or third parameter positions. {{FlagiconLua|Andorra|44px}} {{FlagiconLua|Nepal|26x44px}} {{FlagiconLua|Ohio|whatever|44px}} {{FlagiconLua|Berlin|whatever|40x44px}}
** FIXME "size=" format still not implement due to a weird problem causing that this parameter renders as "{{{2}}}" instead of passing e.g. "size=44px".
 
== Roadmap ==