Template:Country2iso
Revision as of 01:57, 31 October 2019 by imported>Guarapiranga (Creating template)
This template does the opposite of {{Iso2country}} and the same as {{ISO 3166 code}}. However, rather than being Lua-based like {{Iso2country}}, it transcludes the ISO codes based on the country name from ISO 3166-1 alpha-2. This is particularly useful when subst'ing ISO codes, as Lua modules need to be subst'd twice, and {{ISO 3166 code}} often times out on long lists of countries.
Usage
{{Country2iso | country name}}
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |