This template is used on approximately 57,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Combines {{ Iso2continent}} and {{ ISO 3166 code}} to generate a continent from a country parameter
{{Country2continent|Countryname}}
e.g.
{{Country2continent|Benin}}
→ Africa{{Country2continent|England}}
→ EuropeThe optional parameter |2nd=yes
is used to generate the second continent, for a country which is in more than one continent, e.g.:
{{Country2continent|Russia}}
→ Asia{{Country2continent|Russia|2nd=yes}}
→ Europe