Difference between revisions of "CountryCheck"

From Sega Retro

(One intermediate revision by the same user not shown)
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 26: Line 27:
 
#if:{{#pos:{{{1|}}}|South Korea}}|South Korea|{{
 
#if:{{#pos:{{{1|}}}|South Korea}}|South Korea|{{
 
#if:{{#pos:{{{1|}}}|Sweden}}|Sweden|{{
 
#if:{{#pos:{{{1|}}}|Sweden}}|Sweden|{{
#if:{{#pos:{{{1|}}}|Taiwan}}|Taiwan|
+
#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