Template:Genuki: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
mNo edit summary
RB (talk | contribs)
mNo edit summary
 
(3 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}}|{{#if:{{{2|}}}|{{{2}}}|{{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}}}
|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]]
[[Category:Genuki templates|Genuki templates]]

Latest revision as of 23:42, 15 July 2013