Template:Placenames: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
Still working on this...
 
RB (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#vardefine:tag1|{{#if:{{{1|}}}|{{#ifeq:{{ifno|{{{1}}} }}|y|{{#var:shire}}|{{{1}}} }}|{{#var:shire}} }} }}
{{#vardefine:pntag1|{{#if:{{{1|}}}|{{#ifeq:{{ifno|{{{1}}} }}|y|{{#var:shire}}|{{{1}}} }}|{{#var:shire}} }} }}{{#vardefine:pntag2| {{#if:{{{1|}}}|{{#ifeq:{{ifno|{{{1}}} }}|y|{{{1}}}|{{#if:{{{2|}}}|{{#ifeq:{{ifno|{{{2}}} }}|y|{{{2}}}|0}}|0}} }} }} }}{{#vardefine:pntag3|{{#if:{{{p|}}}|{{{p}}}|{{#if:{{{page|}}}|{{{page}}}|.}} }} }}{{#ifeq:{{#var:pntag1}}|Yorkshire|{{#vardefine:pntag1|{{#var:riding}} of Yorkshire}}{{EPS|{{#var:pntag1}}|{{#var:pntag2}} }}|{{#switch:{{Part-BI|{{#var:pntag1}}}}
{{#vardefine:tag2|{{#if:{{{1|}}}|{{#ifeq:{{ifno|{{{1}}} }}|y|{{{1}}}|{{#if:{{{2|}}}|{{#ifeq{{ifno|{{{2}}} }}|y|{{{2}}}|0}}|0}}|0}}}}}}
|England={{EPS|{{#var:pntag1}}|{{#var:pntag2}} }}
{{#vardefine:tag3|{{#if:{{{p|}}}|{{{p}}}|{{#if:{{{page|}}}|{{{page}}}}}|.}}}}
|Northern Ireland={{UPS|{{#var:pntag2}} }}
{{#switch:{{Part-BI|{{#var:pntag1}}}}
|Scotland=Nicolaisen, W.F.H. 'Scottish Place-Names' (Batsford, 1986) ISBN 9780713452341
|England={{Eps|{{#var:pntag1}}|{{#var:pntag2}}|{{#var:pntag3}}}}
|Place-Names
|Northern Ireland={{Ups|{{#var:pntag2}}|{{#var:pntag3}}}}
}} }}{{#ifeq:{{#var:pntag3}}|.||, page {{#var:pntag3}}}}<noinclude>[[Category:Placename book templates]]</noinclude>
|Scotland=Nicolaisen, W.F.H. 'Scottish Place-Names' (Batsford, 1986) ISBN 9780713452341{{#ifeq:{{#var:pntag3}}|.|| page {{#vat:pntag3}}}}
}}<noinclude>[[Category:Placename book templates]]</noinclude>

Latest revision as of 12:53, 31 July 2017

Place-Names