Difference between revisions of "Template:Continent2continental/doc"
Jump to navigation
Jump to search
imported>Le Deluge (→See also: Country2continental) |
imported>Le Deluge m (→See also: oops) |
||
| Line 9: | Line 9: | ||
*{{tl|find country}} - finds a country or continent name in some text | *{{tl|find country}} - finds a country or continent name in some text | ||
*{{tl|title country}} - finds a country or continent name in the name of a page | *{{tl|title country}} - finds a country or continent name in the name of a page | ||
| − | *{{tl|Country2continental}} - takes a country name and converts it to a continent adjective, ie Iran-> | + | *{{tl|Country2continental}} - takes a country name and converts it to a continent adjective, ie Iran-> Asian |
*{{tl|Country2continent}} - takes a country name and converts it to a continent, ie Iran-> Asia | *{{tl|Country2continent}} - takes a country name and converts it to a continent, ie Iran-> Asia | ||
*{{tl|Iso2continent}} - takes an ISO country code and converts it to a continent, ie IR -> Asia | *{{tl|Iso2continent}} - takes an ISO country code and converts it to a continent, ie IR -> Asia | ||
Latest revision as of 14:32, 24 August 2020
| This is a documentation subpage for Template:Continent2continental. It contains usage information, categories and other content that is not part of the original template page. |
Usage
Generate an adjective from a continent (or other major area) parameter, eg:
{{Continent2adjective|North America}}-> North American{{Continent2adjective|Middle East}}-> Middle Eastern
See also
- {{find country}} - finds a country or continent name in some text
- {{title country}} - finds a country or continent name in the name of a page
- {{Country2continental}} - takes a country name and converts it to a continent adjective, ie Iran-> Asian
- {{Country2continent}} - takes a country name and converts it to a continent, ie Iran-> Asia
- {{Iso2continent}} - takes an ISO country code and converts it to a continent, ie IR -> Asia
- {{Country2nationality}} - takes a country name and converts it to a demonym, ie Iran -> Iranian
- {{Iso2nationality}} - takes an ISO country code (ISO 3166-1 alpha-2) and converts it to a demonym, ie ir -> Iranian
- {{GetCountryNameFromAdjective}} – takes a demonym and converts it to a country name, ie Iranian -> Iran