Actions

Template

Difference between revisions of "CountryCheck"

From Sega Retro

Line 29: Line 29:
 
#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 12:25, 6 March 2020


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

{{CountryCheck|ldifrtjsua pofjkadsfA, United Kingdom}}

becomes

the United Kingdom