Template:Genuki: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
No edit summary
RB (talk | contribs)
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#vardefine:tag|{{#if:{{{1|}}}|{{{1}}}|{{PAGENAME}} }} }}{{#vardefine:shiretag|{{#if:{{{county|}}}|{{namefix|{{{county}}}}}|{{#var:shire}} }} }}{{#vardefine:part|{{Part-BI|{{#var:shiretag}} }} }}{{#if:{{{island|}}}|{{#vardefine:island|{{{island}}} }} }}{{#ifeq:{{#var:part}}|Channel Islands|{{GenukiCI|{{#var:island}}|{{PAGENAME}}}}|{{GenukiBI|{{#var:tag}}|{{#var:shiretag}}|{{#var:Part}}|{{PAGENAME}} }} }}<noinclude>
{{#vardefine:tag|{{#if:{{{1|}}}|{{{1}}}|{{PAGENAME}} }} }}{{#vardefine:shiretag|{{#if:{{{county|}}}|{{namefix|{{{county}}}}}|{{#var:shire}} }} }}{{#vardefine:part|{{Part-BI|{{#var:shiretag}} }} }}{{#vardefine:island|{{#if:{{{island|}}}|{{{island}}}|{{#if:{{{2|}}}|{{#switch:{{{2}}}
[[Category:Genuki templates]]
|Alderney
|Guernsey
|Herm
|Jersey
|Sark={{{2}}}
|Isle of Wight
|Wight
|IOW=Isle of Wight
|}}|{{#switch:{{#var:shiretag}}
|Guernsey
|Jersey={{#var:shiretag}}
}}}}}}}}{{#ifeq:{{#var:part}}|Channel Islands|{{GenukiCI|{{#var:tag}}|{{#var:island}}|{{#if:{{{2|}}}|{{{2}}}|{{PAGENAME}}}}}}|{{GenukiBI|{{#var:tag}}|{{#var:shiretag}}|{{#var:part}}|{{#if:{{{2|}}}|{{{2}}}|{{PAGENAME}}}} }} }}<noinclude>
[[Category:Genuki templates|Genuki templates]]

Latest revision as of 23:42, 15 July 2013