Template:ProvinciaIT/region code/sandbox
![]() | __EXPECTUNUSEDTEMPLATE__This is the template sandbox page for Template:ProvinciaIT/region code (diff). See also the companion subpage for test cases. |
![]() | This template uses Lua: |
Provides the region code given an Italian province code
Usage
<syntaxhighlight lang="wikitext">Lua error in Module:Data at line 17: Tried to read index "region" of mw.loadData("Module:Data/Italian provinces").THE_CODE, which is a nil.</syntaxhighlight>
Example
<syntaxhighlight lang="wikitext">EMR</syntaxhighlight> produces: EMR