Template:PlaceNamesItemNavigation: Difference between revisions

From International Robin Hood Bibliography
mNo edit summary
mNo edit summary
Line 23: Line 23:
{{#ifeq: {{#var:County}} ||| [[Category:{{#var:County}} place-names]] }}
{{#ifeq: {{#var:County}} ||| [[Category:{{#var:County}} place-names]] }}
{{#ifeq: {{#var:PnClusterRef}} ||| [[Category:{{#var:PnClusterRef}} place-name cluster]]|  }}
{{#ifeq: {{#var:PnClusterRef}} ||| [[Category:{{#var:PnClusterRef}} place-name cluster]]|  }}
<!--{{#ifeq: {{#var:PnPostcards}} |No|| [[Category:{{#var:County}} postcards]]}}-->
{{#ifeq: {{#var:PnPostcards}} |No|| [[Category:{{#var:County}} postcards]]}}
<!--{{#ifeq:{{#var:Century}}|||[[Category:{{#var:CenturyOrdinal}} century]]}}<br/>{{#set:century={{#var:CenturyOrdinal}}}}}}-->
<!--{{#ifeq:{{#var:Century}}|||[[Category:{{#var:CenturyOrdinal}} century]]}}<br/>{{#set:century={{#var:CenturyOrdinal}}}}}}-->
<!--{{#ifeq: {{#var:PnExtraClusterRef}} ||| [[Category:{{#var:PnExtraClusterRef}} place-name cluster]] }}-->
<!--{{#ifeq: {{#var:PnExtraClusterRef}} ||| [[Category:{{#var:PnExtraClusterRef}} place-name cluster]] }}-->

Revision as of 16:53, 29 November 2017

This template generates the navigation at the foot of item pages in the place-names section of IRHB. It takes no parameters but requires the following page parameters to be defined:
  • Riding – must have value NONE if riding links are not to be displayed, otherwise East, North or West
  • Utitle – all-Uppercase, punctuation-free version of {{PAGENAME}}
  • County – the county in which the place-name in question is located
  • GreaterLondon – If this variable does not have an empty value, links for London will be included.


These page variables are declared and initialized with default values in boilerplate text.


The template uses the following templates: