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:county|{{Check1shire|{{{1}}} }} }}{{#vardefine:ridingtag|{{#ifexist:{{#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 riding
|east=: East Riding
|east=: East Riding
|north riding
|nort=: North Riding
|nort=: North Riding
|west riding
|west=: West Riding
|west=: West Riding
}}}}|}}{{#vardefine:vol|{{#ifeq:{{ifno|{{{1}}} }}|y|{{{1}}}|{{#ifeq:{{ifno|{{{2}}} }}|y|{{{2}}}| }} }} }}{{#vardefine:p|{{#if:{{{p|}}}|{{{p}}}|{{#if:{{{page|}}}|{{{page}}}|{{#if:{{{pp|}}}|{{{pp}}}|{{#if:{{{pages|}}}|{{{pages}}}|}} }} }} }} }}{{#vardefine:text|{{#if:{{{3|}}}|{{{3}}}|{{{2}}} }} }}''{{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}} }} }}]: {{#var:text}} ([[Victoria County History]])<noinclude>[[Category:VCH templates|VCH]]
}}}}|}}{{#vardefine:vol|{{#ifeq:{{ifno|{{{1}}} }}|y|{{{1}}}|{{#ifeq:{{ifno|{{{2}}} }}|y|{{{2}}}| }} }} }}{{#vardefine:p|{{#if:{{{p|}}}|{{{p}}}|{{#if:{{{page|}}}|{{{page}}}|{{#if:{{{pp|}}}|{{{pp}}}|{{#if:{{{pages|}}}|{{{pages}}}|}} }} }} }} }}{{#vardefine:text|{{#if:{{{3|}}}|{{{3}}}|{{{2}}} }} }}''{{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}} }} }}]: {{#var:text}} ([[Victoria County History]])<noinclude>[[Category:VCH templates|VCH]]

Revision as of 13:40, 25 November 2020

A History of the County of - Volume : {{{2}}} (Victoria County History)