Difference between revisions of "Template:Continent2continental"
Jump to navigation
Jump to search
imported>Le Deluge ({{trim|) |
imported>BrownHairedGirl (format for legibility, handle missing parameter) |
||
| Line 1: | Line 1: | ||
| − | <includeonly>{{trim|{{{{{subst|}}}#switch: {{{1}}}|Africa=African|Europe=European|Oceania=Oceanian|Central America=Central American|Latin America=Latin American|North America=North American|South America=South American|America=American|the Americas=American|Americas=American|South East Asia=South East Asian|Southeast Asia=Southeast Asian|South Asia=South Asian|Asia=Asian|Antarctica=Antarctic|Arctic=Arctic|Caribbean=Caribbean|Near East=Near Eastern|Middle East=Middle Eastern|Far East=Far Eastern|Arabia=Arabian|Eurasia=Eurasian|Australasia=Australasian|Zealandia=Zealandian|Laurasia=Laurasian|Gondwana=Gondwanan|Gondwanaland=Gondwanan|Vaalbara=Vaalbaran|Rodinia=Rodinia|Pangaea=Pangaean}}}} | + | <includeonly><!-- |
| − | </includeonly><noinclude> | + | -->{{trim|<!-- |
| − | {{ | + | -->{{{{{subst|}}}#switch: {{{1|}}}<!-- |
| + | -->|Africa=African<!-- | ||
| + | -->|Europe=European<!-- | ||
| + | -->|Oceania=Oceanian<!-- | ||
| + | -->|Central America=Central American<!-- | ||
| + | -->|Latin America=Latin American<!-- | ||
| + | -->|North America=North American<!-- | ||
| + | -->|South America=South American<!-- | ||
| + | -->|America=American<!-- | ||
| + | -->|the Americas=American<!-- | ||
| + | -->|Americas=American<!-- | ||
| + | -->|South East Asia=South East Asian<!-- | ||
| + | -->|Southeast Asia=Southeast Asian<!-- | ||
| + | -->|South Asia=South Asian<!-- | ||
| + | -->|Asia=Asian<!-- | ||
| + | -->|Antarctica=Antarctic<!-- | ||
| + | -->|Arctic=Arctic<!-- | ||
| + | -->|Caribbean=Caribbean<!-- | ||
| + | -->|Near East=Near Eastern<!-- | ||
| + | -->|Middle East=Middle Eastern<!-- | ||
| + | -->|Far East=Far Eastern<!-- | ||
| + | -->|Arabia=Arabian<!-- | ||
| + | -->|Eurasia=Eurasian<!-- | ||
| + | -->|Australasia=Australasian<!-- | ||
| + | -->|Zealandia=Zealandian<!-- | ||
| + | -->|Laurasia=Laurasian<!-- | ||
| + | -->|Gondwana=Gondwanan<!-- | ||
| + | -->|Gondwanaland=Gondwanan<!-- | ||
| + | -->|Vaalbara=Vaalbaran<!-- | ||
| + | -->|Rodinia=Rodinia<!-- | ||
| + | -->|Pangaea=Pangaean<!-- | ||
| + | -->}}<!-- | ||
| + | -->}}<!-- | ||
| + | --></includeonly><!-- | ||
| + | --><noinclude><!-- | ||
| + | -->{{Documentation}} | ||
[[Category:String manipulation templates|country]] | [[Category:String manipulation templates|country]] | ||
[[Category:Country templates]] | [[Category:Country templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 07:22, 16 September 2020
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
| The above documentation is transcluded from Template:Continent2continental/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |