साँचा:Country abbreviation/doc
नेविगेशन पर जाएँ
खोज पर जाएँ
{{
साँचा:namespace detect
| type = notice
| image =
| imageright =
| class =
| style = margin-bottom:1.0em;
| textstyle =
| text = साँचा:strong for साँचा:terminate sentence
It contains usage information, categories and other content that is not part of the original साँचा page.
| small =
| smallimage =
| smallimageright =
| smalltext =
| subst =
| date =
| name =
}}
This template uses Lua: |
Usage
Given a country name and optionally a subdivision name, returns the country code or subdivision code per ISO 3166-1 or ISO 3166-2.
Example:
{{Country abbreviation|Afghanistan|Kunduz}}
gives
Tracking categories
- Category:Wikipedia page with obscure country or subdivision (can't figure out the combined country-sub)
- Category:Wikipedia page with obscure country (Can't figure out just the country)
- Category:Wikipedia page with very obscure country (even the switch doesn't get it)