Template:PlaceNamesClusterNavigationEnglish: Difference between revisions

From International Robin Hood Bibliography
mNo edit summary
mNo edit summary
Line 3: Line 3:
* County. Non-optional.
* County. Non-optional.
* Riding. Optional. One of: '''East''', '''North''', '''West'''. For Yorkshire place-names only.
* Riding. Optional. One of: '''East''', '''North''', '''West'''. For Yorkshire place-names only.
* HomeCounty. Optional. One of: '''Essex''', '''Middlesex''', '''Surrey'''. '''Kent'''.
<onlyinclude><includeonly><div id="dplcatlinks" class="subcategory"><div id="dplcatarea">
<onlyinclude><includeonly><div id="dplcatlinks" class="subcategory"><div id="dplcatarea">
{{#ifeq:{{{Riding|}}}||{{#ifeq:{{{HomeCounty|}}}|||{{#ask: [[Category:{{{HomeCounty}}} place-name clusters]][[Utitle::<<{{#replace:{{uc:{{PAGENAME}}}}|&#39;|'}}]]|order=descending|searchlabel=|format=template|introtemplate=BeforeNav|template=Nav|outrotemplate=Previous|link=none|limit=1|sort=Utitle}}[[{{{HomeCounty}}} place-names#clusters|{{{HomeCounty}}} place-name clusters]]{{#ask: [[Category:{{{HomeCounty}}} place-name clusters]][[Utitle::>>{{#replace:{{uc:{{PAGENAME}}}}|&#39;|'}}]]|order=ascending|searchlabel=|format=template|introtemplate=BeforeNav|template=Nav|outrotemplate=Next|link=none|limit=1|sort=Utitle}}}}|{{#ask: [[Category:{{{Riding}}} Riding of Yorkshire place-name clusters]][[Utitle::<<{{#replace:{{uc:{{PAGENAME}}}}|&#39;|'}}]]|order=descending|searchlabel=|format=template|introtemplate=BeforeNav|template=Nav|outrotemplate=Previous|link=none|limit=1|sort=Utitle}}[[{{{Riding}}} Riding of Yorkshire place-names#clusters|{{{Riding}}} Riding of Yorkshire place-name clusters]]{{#ask: [[Category:{{{Riding}}} Riding of Yorkshire place-name clusters]][[Utitle::>>{{#replace:{{uc:{{PAGENAME}}}}|&#39;|'}}]]|order=ascending|searchlabel=|format=template|introtemplate=BeforeNav|template=Nav|outrotemplate=Next|link=none|limit=1|sort=Utitle}}}}
{{#ifeq:{{{Riding|}}}||{{#ifeq:{{{HomeCounty|}}}|||{{#ask: [[Category:{{{HomeCounty}}} place-name clusters]][[Utitle::<<{{#replace:{{uc:{{PAGENAME}}}}|&#39;|'}}]]|order=descending|searchlabel=|format=template|introtemplate=BeforeNav|template=Nav|outrotemplate=Previous|link=none|limit=1|sort=Utitle}}[[{{{HomeCounty}}} place-names#clusters|{{{HomeCounty}}} place-name clusters]]{{#ask: [[Category:{{{HomeCounty}}} place-name clusters]][[Utitle::>>{{#replace:{{uc:{{PAGENAME}}}}|&#39;|'}}]]|order=ascending|searchlabel=|format=template|introtemplate=BeforeNav|template=Nav|outrotemplate=Next|link=none|limit=1|sort=Utitle}}}}|{{#ask: [[Category:{{{Riding}}} Riding of Yorkshire place-name clusters]][[Utitle::<<{{#replace:{{uc:{{PAGENAME}}}}|&#39;|'}}]]|order=descending|searchlabel=|format=template|introtemplate=BeforeNav|template=Nav|outrotemplate=Previous|link=none|limit=1|sort=Utitle}}[[{{{Riding}}} Riding of Yorkshire place-names#clusters|{{{Riding}}} Riding of Yorkshire place-name clusters]]{{#ask: [[Category:{{{Riding}}} Riding of Yorkshire place-name clusters]][[Utitle::>>{{#replace:{{uc:{{PAGENAME}}}}|&#39;|'}}]]|order=ascending|searchlabel=|format=template|introtemplate=BeforeNav|template=Nav|outrotemplate=Next|link=none|limit=1|sort=Utitle}}}}

Revision as of 20:30, 22 September 2017

This template creates the navigation links used at the foot of place-name cluster landing pages (for English clusters only). It takes the following parameters:

  • County. Non-optional.
  • Riding. Optional. One of: East, North, West. For Yorkshire place-names only.
  • HomeCounty. Optional. One of: Essex, Middlesex, Surrey. Kent.