Module:Flags/doc: Difference between revisions

Content deleted Content added
Example to show that flags listed only in FlagTranslations always link to the local language article
Features: ''Redirects'' (different names pointing to a same flag) are supported: "GB" {{Flags|GB}} - "UK" {{Flags|UK}}
Line 15:
* Variants for labeled flags: "naval", "air force" and any other specified at FlagTranslations: "civil" {{Flags|United Kingdom|civil}} - "naval-RMAS" {{Flags|United Kingdom|naval-RMAS}}
* Variant / label flags not found in FlagTranslations return the Flag of None but still point to the right article: "whatever" {{Flags|Ohio|whatever}} - "quatsch" {{Flags|Berlin|quatsch}}
* ''Redirects'' (different names pointing to a same flag) are supported: "GB" {{Flags|GB}} - "UK" {{Flags|UK}}
* Localization: "Illes Balears" {{Flags|Illes Balears}} - "中華人民共和國" {{Flags|中華人民共和國}}
* Localization + variants: "Afganistan" + "1901" {{Flags|Afganistan|1901}} - "Regne Unit" + "civil" {{Flags|Regne Unit|civil}}