Difference between revisions of "CountryCheck"

From Sega Retro

Line 26: Line 26:
 
#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>
  

Revision as of 12:43, 28 January 2020


Quick and not-so-great template to extract country names from addresses.

{{CountryCheck|ldifrtjsua pofjkadsfA, United Kingdom}}

becomes

the United Kingdom