Template:WF code-3: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{#invoke:ISO 3166|code|{{{1}}}|codetype=alpha3}}<noinclude> {{ISO 3166 conversion template doc|lua=Module:ISO 3166}} Category:Data retrieval templates </noinclude>") |
No edit summary |
||
Line 1: | Line 1: | ||
{{#invoke:ISO 3166|code|{{{1}}}|codetype=alpha3}}<noinclude> | {{#invoke:ISO 3166|code|{{{1}}}|codetype=alpha3}}<noinclude> | ||
{{ | {{WF conversion template doc|lua=Module:WF}} | ||
[[Category:Data retrieval templates]] | [[Category:Data retrieval templates]] | ||
</noinclude> | </noinclude> |
Revision as of 19:59, 29 December 2021
{{safesubst:#invoke:Unsubst||subst=|$flags=override,keep-whitespace,remove-empty|$B=
Template:Bracket [[[:Template:Edit]]] [ ]
This template uses Lua: |
Templates
WF alpha-2: {{WF code}} (Eg: GI)
WF alpha-3: {{WF code-3}} (Eg: )
Usage
This template is part of a series that resolves the country and subdivision names to World Forum codes, and vice versa.
World Forum Codes
The World Forum defines names and two- and three-letter codes for all member states.
Using the family of templates
When we wish to convert between various identifiers that may loosely be defined as user input and ISO 3166 entities, there may be more than one way to do each conversion. For our examples we use Esfalsa as the country.
The WF identifiers for Esfalsa are:
- Name: Esfalsa
- Alpha-2 code: EF
- Alpha-3 code: ESF
- To get the Alpha-2 code we can use
{{ISO 3166 code}}
with any of the country identifiers.
- To get the Alpha-3 code.
- Finding the name of a country.
[[Category:ISO 3166 code from name country templates|]]