Template:FestivalsItemNavigation: Difference between revisions
From International Robin Hood Bibliography
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly><div id="dplcatlinks" class="subcategory"><div id="dplcatarea"> | |||
{{#ifeq:{{#var:Riding}}|||<p>{{#ask:[[Category:{{#var:Riding}} Riding of Yorkshire festivals]][[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 festivals]]{{#ask:[[Category:{{#var:Riding}} Riding of Yorkshire festivals]][[Utitle::>>{{#var:Utitle}}]]|order=ascending|searchlabel=|format=template|introtemplate=BeforeNav|template=Nav|outrotemplate=Next|link=none|limit=1|sort=Utitle}}</p>}} | {{#ifeq:{{#var:Riding}}|||<p>{{#ask:[[Category:{{#var:Riding}} Riding of Yorkshire festivals]][[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 festivals]]{{#ask:[[Category:{{#var:Riding}} Riding of Yorkshire festivals]][[Utitle::>>{{#var:Utitle}}]]|order=ascending|searchlabel=|format=template|introtemplate=BeforeNav|template=Nav|outrotemplate=Next|link=none|limit=1|sort=Utitle}}</p>}} | ||
Line 14: | Line 13: | ||
{{#set:century={{#var:CenturyOrdinal}}}} | {{#set:century={{#var:CenturyOrdinal}}}} | ||
{{#set:Utitle={{#replace:{{uc:{{PAGENAME}}}}|'|'}}}}</includeonly> | {{#set:Utitle={{#replace:{{uc:{{PAGENAME}}}}|'|'}}}}</includeonly> | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"Years": { | |||
"label": "Years", | |||
"description": "Four-digit year(s); use semi-colon as separator for multiple years", | |||
"type": "string" | |||
} | |||
}, | |||
"description": "Generates navigation at foot of item pages in Festivals section." | |||
} | |||
</templatedata> | |||
</noinclude> |
Revision as of 09:41, 23 December 2020
Generates navigation at foot of item pages in Festivals section.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Years | Years | Four-digit year(s); use semi-colon as separator for multiple years | String | optional |