Template:VCH: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
No edit summary
RB (talk | contribs)
No edit summary
Line 1: Line 1:
{{#vardefine:countytag|{{Check1shire|{{{1}}} }} }}{{#vardefine:ridingtag|{{#ifexists:{{#var:riding}}|{{#switch:{{lc:{{#sub:{{#var:riding}}|0|4}} }}
{{#vardefine:county|{{Check1shire|{{{1}}} }} }}{{#vardefine:ridingtag|{{#ifexist:{{#var:riding}}|{{#switch:{{lc:{{#sub:{{#var:riding}}|0|4}} }}
|east=: East Riding
|east=: East Riding
|nort=: North Riding
|nort=: North Riding
|west=: West Riding
|west=: West Riding
}}}}|}}{{#vardefine:brithist|0}}<!--{{#vardefine:brithist|{{#if:{{{3|}}}|{{#ifeq:{{ifno|{{{3}}} }}|y|{{{3}}}|0}}|{{#if:{{{2|}}}|{{#ifeq:{{ifno|{{{2}}} }}|y|{{{2}}}|0}}|{{#if:{{{1|}}}|{{#ifeq:{{ifno|{{{1}}} }}|y|{{{1}}}|0}}}}-->{{#ifeq:{{#var:brithist}}|0|''{{VCH volume|{{#var:countytag}} }}'' {{#if:{{{vol|}}}|''Volume {{{vol}}}''}}{{#if:{{{page|}}}| page {{{page}}} }}{{#if:{{{pages|}}}| pages {{{pages}}} }}{{#if:{{{p|}}}| page {{{p}}} }} – [[Victoria County History]]|{{brithist|{{#var:brithist}}|{{VCH volume|{{#var:countytag}} }} }} [[Victoria County History]]}}<noinclude>[[Category:VCH templates|VCH]]
}}}}|}}{{#vardefine:vol:{{#ifeq:{{ifno|{{{2}}} }}|y|{{{2}}}|{{#ifeq:{{ifno|{{{3}}} }}|y|{{{3}}}| }} }} }}{{#vardefine:p:{{#if:{{{p|}}}|{{{p}}}|{{#if:{{{page|}}}|{{{page}}}|{{#if:{{{pp|}}}|{{{pp}}}|{{#if:{{{pages|}}}|{{{pages}}}|}} }} }} }} }}{{#vardefine:text|{{:if:{{{4|}}}|{{{4}}}|{{{3}}} }} }}''{{VCH volume|{{#var:county}}}}{{#var:ridingtag}}'' - [http://www.british-history.ac.uk/vch/{{bhshire|{{#var:county}}|{{#var:ridingtag}} }}/vol{{#var:vol}}{{#ifeq:{{#var:p}}|||/{{#ifeq:{{ifno|{{{#var:p}}}}}|y|p|pp{{{#var:p}}} }} }} Volume {{#var:vol}} {{#ifeq:{{#var:p}}|||&#32;{{#ifeq:{{ifno|{{{#var:p}}}}}|y|p|pp{{{#var:p}}} }} }}]: [[Victoria County History]]<noinclude>[[Category:VCH templates|VCH]]

Revision as of 23:43, 29 February 2020

A History of the County of - Volume : Victoria County History