الگو:Country2continent/doc: تفاوت میان نسخهها
fa>Gonnym بدون خلاصۀ ویرایش |
(بدون تفاوت)
|
نسخهٔ ۱۷ نوامبر ۲۰۲۱، ساعت ۲۱:۲۰
پرونده:Edit-copy green.svg | This is a documentation subpage for الگو:Country2continent. It contains usage information, categories and other content that is not part of the original الگو page. |
Combines {{Iso2continent}} and {{ISO 3166 code}} to generate a continent from a country parameter
Usage
{{Country2continent|Countryname}}
e.g.
{{Country2continent|Benin}}
→ Africa{{Country2continent|England}}
→ Europe
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
See also
- {{Continent2continental}}
- {{Country2continental}}
- {{Country2nationality}}
- {{GetCountryNameFromAdjective}}
- {{GetAdjectiveFromCountryName}}
- {{Find country}} - finds the name of a country or continent within text
- {{Title country}} - applies Findcountry to PAGENAME