Template:PlaceNamesItemNavigation: Difference between revisions
From International Robin Hood Bibliography
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<noinclude><div class="no-img">This template generates the navigation at the foot of item pages in the place-names section of IRHB. It takes no parameters.</div></noinclude><includeonly><div id="dplcatlinks" class="subcategory"><div id="dplcatarea"> | <noinclude><div class="no-img">This template generates the navigation at the foot of item pages in the place-names section of IRHB. It takes no parameters.</div></noinclude><includeonly><div id="dplcatlinks" class="subcategory"><div id="dplcatarea"> | ||
{{#ifeq:{{#var:Riding}}|||<p>{{#ask:[[Category:{{#var:Riding}} Riding of Yorkshire place-names]][[Utitle::<<{{# | {{#ifeq:{{#var:Riding}}|||<p>{{#ask:[[Category:{{#var:Riding}} Riding of Yorkshire place-names]][[Utitle::<<{{#var:Utitle}}]]|order=descending|searchlabel=|format=template|introtemplate=BeforeNav|template=Nav|outrotemplate=Previous|link=none|limit=1|sort=Utitle}}[[{{#var:Riding}} Riding of Yorkshire place-names]]{{#ask:[[Category:{{#var:Riding}} Riding of Yorkshire place-names]][[Utitle::>>{{#var:Utitle}}]]|order=ascending|searchlabel=|format=template|introtemplate=BeforeNav|template=Nav|outrotemplate=Next|link=none|limit=1|sort=Utitle}}</p>}} | ||
{{#ask:[[Category:{{#var:County}} place-names]][[Utitle::<<{{# | {{#ask:[[Category:{{#var:County}} place-names]][[Utitle::<<{{#var:Utitle}}]]|order=descending|searchlabel=|format=template|introtemplate=BeforeNav|template=Nav|outrotemplate=Previous|link=none|limit=1|sort=Utitle}}[[{{{County}}} place-names]]{{#ask:[[Category:{{{County}}} place-names]][[Utitle::>>{{#var:Utitle}}]]|order=ascending|searchlabel=|format=template|introtemplate=BeforeNav|template=Nav|outrotemplate=Next|link=none|limit=1|sort=Utitle}} | ||
{{#ifeq: {{#var:GreaterLondon}}|||<p>{{#ask:[[Category:London place-names]][[Utitle::<<{{# | {{#ifeq: {{#var:GreaterLondon}}|||<p>{{#ask:[[Category:London place-names]][[Utitle::<<{{#var:Utitle}}]]|order=descending|searchlabel=|format=template|introtemplate=BeforeNav|template=Nav|outrotemplate=Previous|link=none|limit=1|sort=Utitle}}[[London place-names]]{{#ask:[[Category:London place-names]][[Utitle::>>{{#var:Utitle}}]]|order=ascending|searchlabel=|format=template|introtemplate=BeforeNav|template=Nav|outrotemplate=Next|link=none|limit=1|sort=Utitle}}</p>}} | ||
{{#ask:[[Category:English place-names]][[Utitle::<<{{# | {{#ask:[[Category:English place-names]][[Utitle::<<{{#var:Utitle}}]]|order=descending|searchlabel=|format=template|introtemplate=BeforeNav|template=Nav|outrotemplate=Previous|link=none|limit=1|sort=Utitle}}[[Place-names]]{{#ask:[[Category:{{#var:Demonym}} place-names]][[Utitle::>>{{#var:Utitle}}]]|order=ascending|searchlabel=|format=template|introtemplate=BeforeNav|template=Nav|outrotemplate=Next|link=none|limit=1|sort=Utitle}}</div></div> | ||
[[Category:Place-names-topics]] | [[Category:Place-names-topics]] | ||
[[Category:{{#var:Demonym}} place-names]] | |||
{{#ifeq:{{ | [[Category:{{#var:County}} place-names]] | ||
{{#ifeq:{{ | {{#ifeq:{{{Cluster1|}}}|||[[Category:{{{Cluster1}}} place-name cluster]]}} | ||
{{#ifeq:{{{Cluster2|}}}|||[[Category:{{{Cluster2}}} place-name cluster]]}} | |||
{{#var: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:{{# | {{#ifeq:{{{ExtraCat1|}}}|||[[Category:{{{ExtraCat1}}} place-name cluster]]}} | ||
{{#ifeq:{{# | {{#ifeq:{{{ExtraCat2|}}}|||[[Category:{{{ExtraCat2}}} place-name cluster]]}} | ||
{{#set:pnaka={{#var: | {{#ifeq:{{{ExtraCat3|}}}|||[[Category:{{{ExtraCat3}}} place-name cluster]]}} | ||
{{#ifeq:{{{ExtraCat4|}}}|||[[Category:{{{ExtraCat4}}} place-name cluster]]}} | |||
{{#ifeq:{{{ExtraCat5|}}}|||[[Category:{{{ExtraCat5}}} place-name cluster]]}} | |||
{{#set:pnaka={{#var:Aka}}||+sep=;}} | |||
{{#set:Utitle={{#var:Utitle}}}} | {{#set:Utitle={{#var:Utitle}}}} | ||
{{#set:Pnimage={{#var:Pnimage}}}}</includeonly> | {{#set:Pnimage={{#var:Pnimage}}}}</includeonly> |
Revision as of 21:26, 30 November 2017
This template generates the navigation at the foot of item pages in the place-names section of IRHB. It takes no parameters.