Actions

Template

Difference between revisions of "CountryCheck"

From NEC Retro

(Created page with "<includeonly>{{#vardefine:country|}}{{#if: {{#var:country}}||{{#if:{{#pos:{{{1|}}}|Japan}}|{{#vardefine:country|Japan}}}}}}{{#if: {{#var:country}}||{{#if:{{#pos:{{{1|}}}|Unite...")
 
m (Text replacement - "Category:NEC Retro templates" to "Category:Templates")
 
Line 64: Line 64:
 
{{CountryCheck|ldifrtjsua pofjkadsfA, United Kingdom}}
 
{{CountryCheck|ldifrtjsua pofjkadsfA, United Kingdom}}
  
[[Category:NEC Retro templates]]</noinclude>
+
[[Category:Templates]]</noinclude>

Latest revision as of 11:32, 1 January 2022


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

{{CountryCheck|ldifrtjsua pofjkadsfA, United Kingdom}}

becomes

the United Kingdom