Difference between revisions of "CountryCheck"
From Sega Retro
Line 13: | Line 13: | ||
#if:{{#pos:{{{1|}}}|Germany}}|Germany|{{ | #if:{{#pos:{{{1|}}}|Germany}}|Germany|{{ | ||
#if:{{#pos:{{{1|}}}|Greece}}|Greece|{{ | #if:{{#pos:{{{1|}}}|Greece}}|Greece|{{ | ||
+ | #if:{{#pos:{{{1|}}}|Hong Kong}}|Hong Kong|{{ | ||
#if:{{#pos:{{{1|}}}|India}}|India|{{ | #if:{{#pos:{{{1|}}}|India}}|India|{{ | ||
#if:{{#pos:{{{1|}}}|Israel}}|Israel|{{ | #if:{{#pos:{{{1|}}}|Israel}}|Israel|{{ | ||
Line 27: | Line 28: | ||
#if:{{#pos:{{{1|}}}|Sweden}}|Sweden|{{ | #if:{{#pos:{{{1|}}}|Sweden}}|Sweden|{{ | ||
#if:{{#pos:{{{1|}}}|Taiwan}}|Taiwan|unknown | #if:{{#pos:{{{1|}}}|Taiwan}}|Taiwan|unknown | ||
− | }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}</includeonly><noinclude> | + | }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}</includeonly><noinclude> |
Quick and not-so-great template to extract country names from addresses. | Quick and not-so-great template to extract country names from addresses. |
Revision as of 15:55, 28 January 2020
Quick and not-so-great template to extract country names from addresses.
{{CountryCheck|ldifrtjsua pofjkadsfA, United Kingdom}}
becomes
the United Kingdom