Template:AllusionsItemNavigation: Difference between revisions

From International Robin Hood Bibliography
m (Text replacement - "introtemplate=BeforeNav|" to "introtemplate=BeforeNavigation|")
m (Text replacement - "|template=Nav" to "|template=ItemNavigation")
Line 1: Line 1:
<includeonly><div id="clearfoot"></div><div id="dplcatlinks" class="subcategory">{{#vardefine:Nav|{{#ifeq:{{#sub:{{PAGENAME}}|2|2}}|00|{{#expr:{{#sub:{{PAGENAME}}|0|4}}-99}}-{{#sub:{{PAGENAME}}|0|4}}|{{#sub:{{PAGENAME}}|0|2}}01-{{#expr: 1+ {{#sub:{{PAGENAME}}|0|2}}}}00}}}}{{#ask: [[Category:Allusions]][[Utitle::<<{{#replace:{{uc:{{PAGENAME}}}}|&#39;|'}}]]|order=descending|searchlabel=|format=template|introtemplate=BeforeNavigation|template=Nav|outrotemplate=Previous|link=none|limit=1|sort=Utitle}}[[Allusions]][[Allusions {{#var:Nav}} (links)|links]]<span class="navtxt">{{#var:Nav}}</span>[[Allusions {{#var:Nav}} (texts)|texts]]{{#ask: [[Category:Allusions]][[Utitle::>>{{#replace:{{uc:{{PAGENAME}}}}|&#39;|'}}]]|order=ascending|searchlabel=|format=template|introtemplate=BeforeNavigation|template=Nav|outrotemplate=Next|link=none|limit=1|sort=Utitle}}</div>[[Category:Allusions {{#var:Nav}}]][[Category:Allusions-topics]]{{#ifeq:{{#var:AlCat1}}|||{{#ifeq:{{#pos:{{#var:AlCat1}}|(}}||[[Category:Allusions ({{#var:AlCat1}})]]|[[Category:Allusions ({{#replace:{{#sub:{{#var:AlCat1}}|0|{{#expr:{{#pos:{{#var:AlCat1}}|(}}-1}}}},{{#sub:{{#var:AlCat1}}|{{#expr:{{#pos:{{#var:AlCat1}}|(}}-1}}}}|(|}}]]}}}}{{#ifeq:{{#var:AlCat2}}|||{{#ifeq:{{#pos:{{#var:AlCat2}}|(}}||[[Category:Allusions ({{#var:AlCat2}})]]|[[Category:Allusions ({{#replace:{{#sub:{{#var:AlCat2}}|0|{{#expr:{{#pos:{{#var:AlCat2}}|(}}-1}}}},{{#sub:{{#var:AlCat2}}|{{#expr:{{#pos:{{#var:AlCat2}}|(}}-1}}}}|(|}}]]}}}}{{#ifeq:{{#var:AlCat3}}|||{{#ifeq:{{#pos:{{#var:AlCat3}}|(}}||[[Category:Allusions ({{#var:AlCat3}})]]|[[Category:Allusions ({{#replace:{{#sub:{{#var:AlCat3}}|0|{{#expr:{{#pos:{{#var:AlCat3}}|(}}-1}}}},{{#sub:{{#var:AlCat3}}|{{#expr:{{#pos:{{#var:AlCat3}}|(}}-1}}}}|(|}}]]}}}}{{#ifeq:{{#var:AlCat4}}|||{{#ifeq:{{#pos:{{#var:AlCat4}}|(}}||[[Category:Allusions ({{#var:AlCat4}})]]|[[Category:Allusions ({{#replace:{{#sub:{{#var:AlCat4}}|0|{{#expr:{{#pos:{{#var:AlCat4}}|(}}-1}}}},{{#sub:{{#var:AlCat4}}|{{#expr:{{#pos:{{#var:AlCat4}}|(}}-1}}}}|(|}}]]}}}}{{#ifeq:{{#var:AlCat5}}|||{{#ifeq:{{#pos:{{#var:AlCat5}}|(}}||[[Category:Allusions ({{#var:AlCat5}})]]|[[Category:Allusions ({{#replace:{{#sub:{{#var:AlCat5}}|0|{{#expr:{{#pos:{{#var:AlCat5}}|(}}-1}}}},{{#sub:{{#var:AlCat5}}|{{#expr:{{#pos:{{#var:AlCat5}}|(}}-1}}}}|(|}}]]}}}}{{#ifeq:{{#var:AlCat6}}|||{{#ifeq:{{#pos:{{#var:AlCat6}}|(}}||[[Category:Allusions ({{#var:AlCat6}})]]|[[Category:Allusions ({{#replace:{{#sub:{{#var:AlCat6}}|0|{{#expr:{{#pos:{{#var:AlCat6}}|(}}-1}}}},{{#sub:{{#var:AlCat6}}|{{#expr:{{#pos:{{#var:AlCat6}}|(}}-1}}}}|(|}}]]}}}}{{#ifeq:{{#var:AlCat7}}|||{{#ifeq:{{#pos:{{#var:AlCat7}}|(}}||[[Category:Allusions ({{#var:AlCat7}})]]|[[Category:Allusions ({{#replace:{{#sub:{{#var:AlCat7}}|0|{{#expr:{{#pos:{{#var:AlCat7}}|(}}-1}}}},{{#sub:{{#var:AlCat7}}|{{#expr:{{#pos:{{#var:AlCat7}}|(}}-1}}}}|(|}}]]}}}}{{#ifeq:{{#var:AlCat8}}|||{{#ifeq:{{#pos:{{#var:AlCat8}}|(}}||[[Category:Allusions ({{#var:AlCat8}})]]|[[Category:Allusions ({{#replace:{{#sub:{{#var:AlCat8}}|0|{{#expr:{{#pos:{{#var:AlCat8}}|(}}-1}}}},{{#sub:{{#var:AlCat8}}|{{#expr:{{#pos:{{#var:AlCat8}}|(}}-1}}}}|(|}}]]}}}}{{#ifeq:{{#var:AlCat9}}|||{{#ifeq:{{#pos:{{#var:AlCat9}}|(}}||[[Category:Allusions ({{#var:AlCat9}})]]|[[Category:Allusions ({{#replace:{{#sub:{{#var:AlCat9}}|0|{{#expr:{{#pos:{{#var:AlCat9}}|(}}-1}}}},{{#sub:{{#var:AlCat9}}|{{#expr:{{#pos:{{#var:AlCat9}}|(}}-1}}}}|(|}}]]}}}}{{#ifeq:{{#var:AlCat10}}|||{{#ifeq:{{#pos:{{#var:AlCat10}}|(}}||[[Category:Allusions ({{#var:AlCat10}})]]|[[Category:Allusions ({{#replace:{{#sub:{{#var:AlCat10}}|0|{{#expr:{{#pos:{{#var:AlCat10}}|(}}-1}}}},{{#sub:{{#var:AlCat10}}|{{#expr:{{#pos:{{#var:AlCat10}}|(}}-1}}}}|(|}}]]}}}}{{#ifeq:{{#var:AlCat11}}|||{{#ifeq:{{#pos:{{#var:AlCat11}}|(}}||[[Category:Allusions ({{#var:AlCat11}})]]|[[Category:Allusions ({{#replace:{{#sub:{{#var:AlCat11}}|0|{{#expr:{{#pos:{{#var:AlCat11}}|(}}-1}}}},{{#sub:{{#var:AlCat11}}|{{#expr:{{#pos:{{#var:AlCat11}}|(}}-1}}}}|(|}}]]}}}}{{#ifeq:{{#var:AlCat12}}|||{{#ifeq:{{#pos:{{#var:AlCat12}}|(}}||[[Category:Allusions ({{#var:AlCat12}})]]|[[Category:Allusions ({{#replace:{{#sub:{{#var:AlCat12}}|0|{{#expr:{{#pos:{{#var:AlCat12}}|(}}-1}}}},{{#sub:{{#var:AlCat12}}|{{#expr:{{#pos:{{#var:AlCat12}}|(}}-1}}}}|(|}}]]}}}}{{#ifeq:{{#var:Cat1}}|||[[Category:{{#var:Cat1}}]]}}{{#ifeq:{{#var:Cat2}}|||[[Category:{{#var:Cat2}}]]}}{{#ifeq:{{#var:Cat3}}|||[[Category:{{#var:Cat3}}]]}}{{#ifeq:{{#var:Cat4}}|||[[Category:{{#var:Cat4}}]]}}{{#ifeq:{{#var:Cat5}}|||[[Category:{{#var:Cat5}}]]}}{{#ifeq:{{#var:Cat6}}|||[[Category:{{#var:Cat6}}]]}}{{#ifeq:{{#var:Cat7}}|||[[Category:{{#var:Cat7}}]]}}{{#ifeq:{{#var:Cat8}}|||[[Category:{{#var:Cat8}}]]}}{{#ifeq:{{#var:Cat9}}|||[[Category:{{#var:Cat9}}]]}}{{#ifeq:{{#var:Cat10}}|||[[Category:{{#var:Cat10}}]]}}{{#ifeq:{{#var:HidCat1}}|||[[Category:{{#var:HidCat1}}]]}}{{#ifeq:{{#var:HidCat2}}|||[[Category:{{#var:HidCat2}}]]}}{{#ifeq:{{#var:HidCat3}}|||[[Category:{{#var:HidCat3}}]]}}{{#ifeq:{{#var:HidCat4}}|||[[Category:{{#var:HidCat4}}]]}}{{#ifeq:{{#var:HidCat5}}|||[[Category:{{#var:HidCat5}}]]}}{{#ifeq:{{#var:HidCat6}}|||[[Category:{{#var:HidCat6}}]]}}{{#ifeq:{{#var:HidCat7}}|||[[Category:{{#var:HidCat7}}]]}}{{#ifeq:{{#var:HidCat8}}|||[[Category:{{#var:HidCat8}}]]}}{{#ifeq:{{#var:HidCat9}}|||[[Category:{{#var:HidCat9}}]]}}{{#ifeq:{{#var:HidCat10}}|||[[Category:{{#var:HidCat10}}]]}}{{#set:Title={{#var:Title}}}}{{#set:Utitle={{#replace:{{uc:{{PAGENAME}}}}|&#39;|'}}}}{{#ifeq:{{#var:Poem}}|||{{#set:PoemAuthorAndTitle={{#sub:{{#replace:{{uc:{{PAGENAME}}}}|&#39;|'}}|7}}}}[[Category:Poetry-specific]]}}{{#ifeq:{{#var:Chronicle}}|||[[Category:Chronicles-topics]][[Category:Chronicles]]}}{{#set:Decade={{#var:Decade}}}}{{#set:QuarterCentury={{#ifeq:{{#var:TwoLast}}|00|{{#expr:{{#var:TwoFirst}}-1}}|{{#var:TwoFirst}}}}{{#var:QCentury}}}}{{#set:HalfCentury={{#ifeq:{{#var:TwoLast}}|00|{{#expr:{{#var:TwoFirst}}-1}}|{{#var:TwoFirst}}}}{{#var:HCentury}}}}{{#set:Century={{#var:Century}}}}{{#ifeq:{{#var:Proverb1}}|||{{AllusionsProverbCategoryList|{{#var:Proverb1}}}}}}{{#ifeq:{{#var:Proverb2}}|||{{AllusionsProverbCategoryList|{{#var:Proverb2}}}}}}{{#ifeq:{{#var:Proverb3}}|||{{AllusionsProverbCategoryList|{{#var:Proverb3}}}}}}</includeonly><noinclude>
<includeonly><div id="clearfoot"></div><div id="dplcatlinks" class="subcategory">{{#vardefine:Nav|{{#ifeq:{{#sub:{{PAGENAME}}|2|2}}|00|{{#expr:{{#sub:{{PAGENAME}}|0|4}}-99}}-{{#sub:{{PAGENAME}}|0|4}}|{{#sub:{{PAGENAME}}|0|2}}01-{{#expr: 1+ {{#sub:{{PAGENAME}}|0|2}}}}00}}}}{{#ask: [[Category:Allusions]][[Utitle::<<{{#replace:{{uc:{{PAGENAME}}}}|&#39;|'}}]]|order=descending|searchlabel=|format=template|introtemplate=BeforeNavigation|template=ItemNavigation|outrotemplate=Previous|link=none|limit=1|sort=Utitle}}[[Allusions]][[Allusions {{#var:Nav}} (links)|links]]<span class="navtxt">{{#var:Nav}}</span>[[Allusions {{#var:Nav}} (texts)|texts]]{{#ask: [[Category:Allusions]][[Utitle::>>{{#replace:{{uc:{{PAGENAME}}}}|&#39;|'}}]]|order=ascending|searchlabel=|format=template|introtemplate=BeforeNavigation|template=ItemNavigation|outrotemplate=Next|link=none|limit=1|sort=Utitle}}</div>[[Category:Allusions {{#var:Nav}}]][[Category:Allusions-topics]]{{#ifeq:{{#var:AlCat1}}|||{{#ifeq:{{#pos:{{#var:AlCat1}}|(}}||[[Category:Allusions ({{#var:AlCat1}})]]|[[Category:Allusions ({{#replace:{{#sub:{{#var:AlCat1}}|0|{{#expr:{{#pos:{{#var:AlCat1}}|(}}-1}}}},{{#sub:{{#var:AlCat1}}|{{#expr:{{#pos:{{#var:AlCat1}}|(}}-1}}}}|(|}}]]}}}}{{#ifeq:{{#var:AlCat2}}|||{{#ifeq:{{#pos:{{#var:AlCat2}}|(}}||[[Category:Allusions ({{#var:AlCat2}})]]|[[Category:Allusions ({{#replace:{{#sub:{{#var:AlCat2}}|0|{{#expr:{{#pos:{{#var:AlCat2}}|(}}-1}}}},{{#sub:{{#var:AlCat2}}|{{#expr:{{#pos:{{#var:AlCat2}}|(}}-1}}}}|(|}}]]}}}}{{#ifeq:{{#var:AlCat3}}|||{{#ifeq:{{#pos:{{#var:AlCat3}}|(}}||[[Category:Allusions ({{#var:AlCat3}})]]|[[Category:Allusions ({{#replace:{{#sub:{{#var:AlCat3}}|0|{{#expr:{{#pos:{{#var:AlCat3}}|(}}-1}}}},{{#sub:{{#var:AlCat3}}|{{#expr:{{#pos:{{#var:AlCat3}}|(}}-1}}}}|(|}}]]}}}}{{#ifeq:{{#var:AlCat4}}|||{{#ifeq:{{#pos:{{#var:AlCat4}}|(}}||[[Category:Allusions ({{#var:AlCat4}})]]|[[Category:Allusions ({{#replace:{{#sub:{{#var:AlCat4}}|0|{{#expr:{{#pos:{{#var:AlCat4}}|(}}-1}}}},{{#sub:{{#var:AlCat4}}|{{#expr:{{#pos:{{#var:AlCat4}}|(}}-1}}}}|(|}}]]}}}}{{#ifeq:{{#var:AlCat5}}|||{{#ifeq:{{#pos:{{#var:AlCat5}}|(}}||[[Category:Allusions ({{#var:AlCat5}})]]|[[Category:Allusions ({{#replace:{{#sub:{{#var:AlCat5}}|0|{{#expr:{{#pos:{{#var:AlCat5}}|(}}-1}}}},{{#sub:{{#var:AlCat5}}|{{#expr:{{#pos:{{#var:AlCat5}}|(}}-1}}}}|(|}}]]}}}}{{#ifeq:{{#var:AlCat6}}|||{{#ifeq:{{#pos:{{#var:AlCat6}}|(}}||[[Category:Allusions ({{#var:AlCat6}})]]|[[Category:Allusions ({{#replace:{{#sub:{{#var:AlCat6}}|0|{{#expr:{{#pos:{{#var:AlCat6}}|(}}-1}}}},{{#sub:{{#var:AlCat6}}|{{#expr:{{#pos:{{#var:AlCat6}}|(}}-1}}}}|(|}}]]}}}}{{#ifeq:{{#var:AlCat7}}|||{{#ifeq:{{#pos:{{#var:AlCat7}}|(}}||[[Category:Allusions ({{#var:AlCat7}})]]|[[Category:Allusions ({{#replace:{{#sub:{{#var:AlCat7}}|0|{{#expr:{{#pos:{{#var:AlCat7}}|(}}-1}}}},{{#sub:{{#var:AlCat7}}|{{#expr:{{#pos:{{#var:AlCat7}}|(}}-1}}}}|(|}}]]}}}}{{#ifeq:{{#var:AlCat8}}|||{{#ifeq:{{#pos:{{#var:AlCat8}}|(}}||[[Category:Allusions ({{#var:AlCat8}})]]|[[Category:Allusions ({{#replace:{{#sub:{{#var:AlCat8}}|0|{{#expr:{{#pos:{{#var:AlCat8}}|(}}-1}}}},{{#sub:{{#var:AlCat8}}|{{#expr:{{#pos:{{#var:AlCat8}}|(}}-1}}}}|(|}}]]}}}}{{#ifeq:{{#var:AlCat9}}|||{{#ifeq:{{#pos:{{#var:AlCat9}}|(}}||[[Category:Allusions ({{#var:AlCat9}})]]|[[Category:Allusions ({{#replace:{{#sub:{{#var:AlCat9}}|0|{{#expr:{{#pos:{{#var:AlCat9}}|(}}-1}}}},{{#sub:{{#var:AlCat9}}|{{#expr:{{#pos:{{#var:AlCat9}}|(}}-1}}}}|(|}}]]}}}}{{#ifeq:{{#var:AlCat10}}|||{{#ifeq:{{#pos:{{#var:AlCat10}}|(}}||[[Category:Allusions ({{#var:AlCat10}})]]|[[Category:Allusions ({{#replace:{{#sub:{{#var:AlCat10}}|0|{{#expr:{{#pos:{{#var:AlCat10}}|(}}-1}}}},{{#sub:{{#var:AlCat10}}|{{#expr:{{#pos:{{#var:AlCat10}}|(}}-1}}}}|(|}}]]}}}}{{#ifeq:{{#var:AlCat11}}|||{{#ifeq:{{#pos:{{#var:AlCat11}}|(}}||[[Category:Allusions ({{#var:AlCat11}})]]|[[Category:Allusions ({{#replace:{{#sub:{{#var:AlCat11}}|0|{{#expr:{{#pos:{{#var:AlCat11}}|(}}-1}}}},{{#sub:{{#var:AlCat11}}|{{#expr:{{#pos:{{#var:AlCat11}}|(}}-1}}}}|(|}}]]}}}}{{#ifeq:{{#var:AlCat12}}|||{{#ifeq:{{#pos:{{#var:AlCat12}}|(}}||[[Category:Allusions ({{#var:AlCat12}})]]|[[Category:Allusions ({{#replace:{{#sub:{{#var:AlCat12}}|0|{{#expr:{{#pos:{{#var:AlCat12}}|(}}-1}}}},{{#sub:{{#var:AlCat12}}|{{#expr:{{#pos:{{#var:AlCat12}}|(}}-1}}}}|(|}}]]}}}}{{#ifeq:{{#var:Cat1}}|||[[Category:{{#var:Cat1}}]]}}{{#ifeq:{{#var:Cat2}}|||[[Category:{{#var:Cat2}}]]}}{{#ifeq:{{#var:Cat3}}|||[[Category:{{#var:Cat3}}]]}}{{#ifeq:{{#var:Cat4}}|||[[Category:{{#var:Cat4}}]]}}{{#ifeq:{{#var:Cat5}}|||[[Category:{{#var:Cat5}}]]}}{{#ifeq:{{#var:Cat6}}|||[[Category:{{#var:Cat6}}]]}}{{#ifeq:{{#var:Cat7}}|||[[Category:{{#var:Cat7}}]]}}{{#ifeq:{{#var:Cat8}}|||[[Category:{{#var:Cat8}}]]}}{{#ifeq:{{#var:Cat9}}|||[[Category:{{#var:Cat9}}]]}}{{#ifeq:{{#var:Cat10}}|||[[Category:{{#var:Cat10}}]]}}{{#ifeq:{{#var:HidCat1}}|||[[Category:{{#var:HidCat1}}]]}}{{#ifeq:{{#var:HidCat2}}|||[[Category:{{#var:HidCat2}}]]}}{{#ifeq:{{#var:HidCat3}}|||[[Category:{{#var:HidCat3}}]]}}{{#ifeq:{{#var:HidCat4}}|||[[Category:{{#var:HidCat4}}]]}}{{#ifeq:{{#var:HidCat5}}|||[[Category:{{#var:HidCat5}}]]}}{{#ifeq:{{#var:HidCat6}}|||[[Category:{{#var:HidCat6}}]]}}{{#ifeq:{{#var:HidCat7}}|||[[Category:{{#var:HidCat7}}]]}}{{#ifeq:{{#var:HidCat8}}|||[[Category:{{#var:HidCat8}}]]}}{{#ifeq:{{#var:HidCat9}}|||[[Category:{{#var:HidCat9}}]]}}{{#ifeq:{{#var:HidCat10}}|||[[Category:{{#var:HidCat10}}]]}}{{#set:Title={{#var:Title}}}}{{#set:Utitle={{#replace:{{uc:{{PAGENAME}}}}|&#39;|'}}}}{{#ifeq:{{#var:Poem}}|||{{#set:PoemAuthorAndTitle={{#sub:{{#replace:{{uc:{{PAGENAME}}}}|&#39;|'}}|7}}}}[[Category:Poetry-specific]]}}{{#ifeq:{{#var:Chronicle}}|||[[Category:Chronicles-topics]][[Category:Chronicles]]}}{{#set:Decade={{#var:Decade}}}}{{#set:QuarterCentury={{#ifeq:{{#var:TwoLast}}|00|{{#expr:{{#var:TwoFirst}}-1}}|{{#var:TwoFirst}}}}{{#var:QCentury}}}}{{#set:HalfCentury={{#ifeq:{{#var:TwoLast}}|00|{{#expr:{{#var:TwoFirst}}-1}}|{{#var:TwoFirst}}}}{{#var:HCentury}}}}{{#set:Century={{#var:Century}}}}{{#ifeq:{{#var:Proverb1}}|||{{AllusionsProverbCategoryList|{{#var:Proverb1}}}}}}{{#ifeq:{{#var:Proverb2}}|||{{AllusionsProverbCategoryList|{{#var:Proverb2}}}}}}{{#ifeq:{{#var:Proverb3}}|||{{AllusionsProverbCategoryList|{{#var:Proverb3}}}}}}</includeonly><noinclude>
<templatedata>
<templatedata>
{
{

Revision as of 15:51, 7 January 2021

Creates the navigation links at the foot of Allusion pages, takes no parameters.

Template parameters

ParameterDescriptionTypeStatus
No parameters specified