Template:Navigation by country/sandbox
Jump to navigation
Jump to search
This documentation is transcluded from Template:Navigation by country/doc.
provides a flat list of existing pages pertaining to countries, generally for use in navigational templates
Usage
{{Navigation by country |continent= |prefix= |suffix= |showdefunct= |showconstituent= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
continent | name of continent, if desired to list only countries of a specific continent (currently supported options: Africa, Asia, Europe, North America, Oceania, South America) | empty | optional | |
prefix | preceding text to country name for files to link to (e.g. for "Category:Geography of Chile" use ":Category:Geography of ") | empty | optional | |
suffix | following text to country name for files to link to (e.g. for "Category:Chile in art" use "in art") | empty | optional | |
showdefunct | Flag to show or hide former countries. A country must have been declared at some time (not necessarily recognized), no longer be declared as such today, and have a Wikimedia Commons category specifically related to the declared country as opposed to its current constituent form. (e.g. "Hawaii" would not be listed as Category:Hawaii pertains to the US state, but "Kingdom of Hawaii" would be valid as Category:Kingdom of Hawaii specifically pertains to the sovereign entity (now defunct)). By default, these are not displayed, so this must be set to "yes" to display them in the list. | no | optional | |
showconstituent | Flag to show or hide constituent entities. A constituent is any entity which is not a current or defunct country per the above definitions. Generally, this list does not contain constituents as to include all sub-divisions of countries would be unwieldy. Instead, it is intended only that certain constituents be listed for special cases (such as some sporting or regulatory topics) where some constituents are recognized as 'countries' solely for the purposes of that specific topic. By default, these are not displayed, so this must be set to "yes" to display them in the list. | no | optional |
Additional information
The template is intended to be used in the following namespaces: no namespace specified
The template is intended to be used by the following user groups: no user group specified
Relies on:
Use case examples
- See Template:Navigation by country/doc/testcases for more cases. Number of cases per page limited by expensive parser count.
See also: Template:Navigation by country/doc — standard documentation for this template.
These pages are for experimentation and testing of applications and parameters for use of Template:Navigation by country:
- Template:Navigation by country/doc/testcases/UN members by continent
- Template:Navigation by country/doc/testcases/Current by continent
- Template:Navigation by country/doc/testcases/Current maps by continent
- Template:Navigation by country/doc/testcases/Dependencies by continent
- Template:Navigation by country/doc/testcases/Defunct by continent
- Template:Navigation by country/doc/testcases/Mixed by continent