Module:Flags/doc: Difference between revisions

Content deleted Content added
Size as in "44px" or "44x80px" can be defined
Nepal, Switzerland and Vatican City have a default size of 20x17px
Line 10:
* 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}}
* Nepal, Switzerland and Vatican City have a default size of 20x17px (for the rest is 20x22px): {{FlagiconLua|Nepal}} {{FlagiconLua|Switzerland}} {{FlagiconLua|the Vatican City}}
** 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".