Template:Sort flagicon/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:Sort flagicon (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.
Usage
{{sort flagicon|Nationality|2nd nationality (optional)|3rd nationality (optional)|Nationality flag variant (optional)|2nd nationality flag variant (optional)|3rd nationality flag variant (optional)}}

Creates a flag icon output that can be used in a sortable table (created with class="wikitable sortable"). The sort key will be the first parameter, that is the country, in an otherwise unsortable nationality column, in alphabetical order. Up to two additional nationalities can be added in case it is necessary for particular purposes (e.g. people with more than a nationality/citizenship).

See also