Template:NT link: Difference between revisions

From Wikishire
Jump to navigation Jump to search
No edit summary
RB (talk | contribs)
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#if:{{{2|}}}|{{#switch:{{Database|{{namefix|{{{2}}}}}|type}}
{{#vardefine:tag1|{{#if:{{{1|}}}|{{{1}}}|{{PAGENAME}}}}}}{{#switch:{{part-BI|{{#var:shire}}}}
|county
|Crown dependency
|territory={{#vardefine:tag2|{{namefix|{{{2}}} }}}}{{#vardefine:tag1|{{{1}}}}}
|{{#vardefine:tag1|{{{2}}}}}{{#switch:{{namefix|{{{1}}}}}
|county
|Crown dependency
|territory={{#vardefine:tag2|{{namefix|{{{1}}}}}}}
|{{#vardefine:tag2|{{#var:shire}}}} }} }}|{{#if:{{{1|}}}|{{#switch:{{Database|{{namefix|{{{1}}}}}|type}}
|county
|Crown dependency
|territory={{#vardefine:tag2|{{{1}}}}}{{#vardefine:tag1|{{PAGENAME}}}}
|{{#vardefine:tag1|{{{1}}}}}{{#vardefine:tag2|{{#var:shire}}}}|{{#vardefine:tag1|{{PAGENAME}}}}{{#vardefine:tag2|{{#var:shire}}}}}} }} }}{{#switch:{{part-BI|{{#var:tag2}}}}
|England
|England
|Northern Ireland
|Northern Ireland
|Wales={{NTE link|{{#var:tag1}}|{{#var:tag2}}}}
|Wales={{NTE link|{{#var:tag1}}}}
|Scotland={{NTS link|{{#var:tag1}}|{{#var:tag2}}}}
|Scotland={{NTS link|{{#var:tag1}}}}
|Republic of Ireland={{An Taisce link|{{#var:tag1}}}}
|Republic of Ireland={{An Taisce link|{{#var:tag1}}}}
|Bailiwick of Guernsey={{NTG link|{{#var:tag1}}|{{#var:tag2}}}}
|Bailiwick of Guernsey={{NTG link|{{#var:tag1}}}}
|Bailiwick of Jersey={{NTJ link|{{#var:tag1}}|{{#var:tag2}}}}
|Bailiwick of Jersey={{NTJ link|{{#var:tag1}}}}
|Bermuda={{BNT link|{{#var:tag1}}|{{#var:tag2}}}}
|Bermuda={{BNT link|{{#var:tag1}}}}
|Cayman Islands={{NTCI link|{{#var:tag1}}}}
|Falkland Islands={{FINT link|{{#var:tag1}}}}
}}<noinclude>[[Category:National Trust templates|NT link]]
}}<noinclude>[[Category:National Trust templates|NT link]]

Latest revision as of 21:44, 18 April 2016