Difference between revisions of "CountryCheck"

From Sega Retro

Line 15: Line 15:
 
#if:{{#pos:{{{1|}}}|Greece}}|Greece|{{
 
#if:{{#pos:{{{1|}}}|Greece}}|Greece|{{
 
#if:{{#pos:{{{1|}}}|Hong Kong}}|Hong Kong|{{
 
#if:{{#pos:{{{1|}}}|Hong Kong}}|Hong Kong|{{
 +
#if:{{#pos:{{{1|}}}|Hungary}}|Hungary|{{
 
#if:{{#pos:{{{1|}}}|India}}|India|{{
 
#if:{{#pos:{{{1|}}}|India}}|India|{{
 
#if:{{#pos:{{{1|}}}|Israel}}|Israel|{{
 
#if:{{#pos:{{{1|}}}|Israel}}|Israel|{{
Line 25: Line 26:
 
#if:{{#pos:{{{1|}}}|Portugal}}|Portugal|{{
 
#if:{{#pos:{{{1|}}}|Portugal}}|Portugal|{{
 
#if:{{#pos:{{{1|}}}|Russia}}|Russia|{{
 
#if:{{#pos:{{{1|}}}|Russia}}|Russia|{{
 +
#if:{{#pos:{{{1|}}}|Slovenia}}|Slovenia|{{
 
#if:{{#pos:{{{1|}}}|Spain}}|Spain|{{
 
#if:{{#pos:{{{1|}}}|Spain}}|Spain|{{
 
#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|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 14:54, 23 March 2020


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

{{CountryCheck|ldifrtjsua pofjkadsfA, United Kingdom}}

becomes

the United Kingdom