Difference between revisions of "CountryCheck"
From Sega Retro
Line 11: | Line 11: | ||
#if:{{#pos:{{{1|}}}|Denmark}}|Denmark|{{ | #if:{{#pos:{{{1|}}}|Denmark}}|Denmark|{{ | ||
#if:{{#pos:{{{1|}}}|France}}|France|{{ | #if:{{#pos:{{{1|}}}|France}}|France|{{ | ||
+ | #if:{{#pos:{{{1|}}}|Finland}}|Finland|{{ | ||
#if:{{#pos:{{{1|}}}|Germany}}|Germany|{{ | #if:{{#pos:{{{1|}}}|Germany}}|Germany|{{ | ||
#if:{{#pos:{{{1|}}}|Greece}}|Greece|{{ | #if:{{#pos:{{{1|}}}|Greece}}|Greece|{{ |
Revision as of 11:23, 6 March 2020
Quick and not-so-great template to extract country names from addresses.
{{CountryCheck|ldifrtjsua pofjkadsfA, United Kingdom}}
becomes
{{
- if:|Japan|the United Kingdom