Template:TopicNavigation: Difference between revisions
From International Robin Hood Bibliography
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:utitle|{{#replace:{{uc:{{PAGENAME}}}}|'|'}}}}<div id="dplcatlinks" class="subcategory"><div id="dplcatarea"> | <includeonly>{{#vardefine:utitle|{{#replace:{{uc:{{PAGENAME}}}}|'|'}}}}<div id="dplcatlinks" class="subcategory"><div id="dplcatarea">{{#ifeq:{{PAGENAME}}|Main Page|{{#ask: [[Category:Topics]]|order=ascending|searchlabel=|format=template|introtemplate=BeforeNavigation|template=ItemPrint|outrotemplate=ItemNext|link=none|limit=1|offset=0|sort=Utitle}}|{{#ask: [[Category:Topics]][[Utitle::<<{{#var:utitle}}]]|order=descending|searchlabel=|format=template|introtemplate=BeforeNavigation|template=ItemPrint|outrotemplate=ItemPrevious|link=none|limit=1|sort=Utitle}}[[Main_Page|Home]]{{#ask: [[Category:Topics]][[Utitle::>>{{#var:utitle}}]]|order=ascending|searchlabel=|format=template|introtemplate=BeforeNavigation|template=ItemPrint|outrotemplate=ItemNext|link=none|limit=1|sort=Utitle}}}}</div></div> | ||
{{#ifeq:{{PAGENAME}}|Main Page|{{#ask: [[Category:Topics]]|order=ascending|searchlabel=|format=template|introtemplate=BeforeNavigation|template=ItemPrint|outrotemplate=ItemNext|link=none|limit=1|offset=0|sort=Utitle}}|{{#ask: [[Category:Topics]][[Utitle::<<{{#var:utitle}}]]|order=descending|searchlabel=|format=template|introtemplate=BeforeNavigation|template=ItemPrint|outrotemplate=ItemPrevious|link=none|limit=1|sort=Utitle}}[[Main_Page|Home]]{{#ask: [[Category:Topics]][[Utitle::>>{{#var:utitle}}]]|order=ascending|searchlabel=|format=template|introtemplate=BeforeNavigation|template=ItemPrint|outrotemplate=ItemNext|link=none|limit=1|sort=Utitle}}}} | |||
</div></div> | |||
{{#ifeq:{{PAGENAME}}|Main Page|[[Category:IRHB]]|[[Category:Topics]] | {{#ifeq:{{PAGENAME}}|Main Page|[[Category:IRHB]]|[[Category:Topics]] | ||
[[Category:{{PAGENAME}}-topics]]}} | [[Category:{{PAGENAME}}-topics]]}} |
Revision as of 11:58, 15 May 2022
This template displays the navigation link at the foot of IRHB's main topic landing pages (Allusions, Analogues etc.) It takes no parameters
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |