Combines {{Iso2continent}} and {{ISO 3166 code}} to generate a continent from a country parameter

{{Country2continent|Countryname}} e.g.

  • {{Country2continent|Benin}} → Africa
  • {{Country2continent|England}} → Europe
  • {{Country2continent|මෙක්සිකෝව}} → උතුරු ඇමෙරිකාව

The 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


"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:Country2continent/doc&oldid=715797" වෙතින් සම්ප්‍රවේශනය කෙරිණි