Actions

Template

Difference between revisions of "CountryCheck"

From Sega Retro

(Created page with "<includeonly>{{ #if:{{#pos:{{{1|}}}|Japan}}|Japan|{{ #if:{{#pos:{{{1|}}}|United States}}|the United States|{{ #if:{{#pos:{{{1|}}}|United Kingdom}}|the United Kingdom|{{ #if:{{...")
 
Line 25: Line 25:
 
#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}}|Italy|{{
+
#if:{{#pos:{{{1|}}}|Sweden}}|Sweden|{{
 
#if:{{#pos:{{{1|}}}|Taiwan}}|Taiwan|
 
#if:{{#pos:{{{1|}}}|Taiwan}}|Taiwan|
 
}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}</includeonly><noinclude>
 
}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}</includeonly><noinclude>

Revision as of 18:14, 15 January 2020


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

{{CountryCheck|ldifrtjsua pofjkadsfA, United Kingdom}}

becomes

the United Kingdom