Template:BibliographicalItemNavigation: 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 widgets displayed at the foot of item (monograph, paper, article etc.) pages in the Originators section of IRHB. It takes the following parameters:
<noinclude><div class="no-img"><p>This template generates the navigation widgets displayed at the foot of item (monograph, paper, article etc.) pages in the Originators section of IRHB. It takes the following parameters:</p>


* CoOrigs &ndash; co-originators, separated by semicolons.
<p>* CoOrigs &ndash; co-originators, separated by semicolons.</p>


It is usually transcluded via a boilerplate: monograph, paper, postcard etc.</div></noinclude><includeonly>{{#arraydefine:coorigs|{{{CoOrigs|}}}|;}}{{#vardefine:prioreditions|{{#ask:[[Category:{{#var:FirstUpper}}]][[Utitle::<<{{#show:{{PAGENAME}}|link=none|?Utitle}}]]|format=count}}}}{{#vardefine:othereditions|{{#expr:{{#var:prioreditions}}+{{#ask: [[Category:{{#var:FirstUpper}}]][[Utitle::>>{{#show:{{PAGENAME}}|link=none|?Utitle}}]]|format=count}}}}}}{{#vardefine:cur|{{#ifexpr:{{#var:othereditions}}>2|[[{{#var:FirstEdition}}]]|}}}}<!--CATLINKS START--><div id="dplcatlinks" class="subcategory">
<p>It is usually transcluded via a boilerplate: monograph, paper, postcard etc.</p></div></noinclude><includeonly>{{#arraydefine:coorigs|{{{CoOrigs|}}}|;}}{{#vardefine:prioreditions|{{#ask:[[Category:{{#var:FirstUpper}}]][[Utitle::<<{{#show:{{PAGENAME}}|link=none|?Utitle}}]]|format=count}}}}{{#vardefine:othereditions|{{#expr:{{#var:prioreditions}}+{{#ask: [[Category:{{#var:FirstUpper}}]][[Utitle::>>{{#show:{{PAGENAME}}|link=none|?Utitle}}]]|format=count}}}}}}{{#vardefine:cur|{{#ifexpr:{{#var:othereditions}}>2|[[{{#var:FirstEdition}}]]|}}}}<!--CATLINKS START--><div id="dplcatlinks" class="subcategory">
<!--Editions of title - Start-->{{#ifexpr:{{#var:othereditions}}=0||{{#ask:[[Category:{{#var:FirstUpper}}]][[Utitle::<<{{#show:{{PAGENAME}}| link=none|?Utitle}}]]|order=descending|searchlabel=|format=template|introtemplate=BeforeNav|template=Nav|outrotemplate=Previous|link=none|limit=1|sort=Utitle}}<span class="navtxt">Editions/impressions of title</span>{{#ask: [[Category:{{#var:FirstUpper}}]][[Utitle::>>{{#show:{{PAGENAME}}|?Utitle}}]]|order=ascending|searchlabel=|format=template|introtemplate=BeforeNav|template=Nav|outrotemplate=Next|link=none|limit=1|sort=Utitle}}}}<!--Editions of title - end-->
<!--Editions of title - Start-->{{#ifexpr:{{#var:othereditions}}=0||{{#ask:[[Category:{{#var:FirstUpper}}]][[Utitle::<<{{#show:{{PAGENAME}}| link=none|?Utitle}}]]|order=descending|searchlabel=|format=template|introtemplate=BeforeNav|template=Nav|outrotemplate=Previous|link=none|limit=1|sort=Utitle}}<span class="navtxt">Editions/impressions of title</span>{{#ask: [[Category:{{#var:FirstUpper}}]][[Utitle::>>{{#show:{{PAGENAME}}|?Utitle}}]]|order=ascending|searchlabel=|format=template|introtemplate=BeforeNav|template=Nav|outrotemplate=Next|link=none|limit=1|sort=Utitle}}}}<!--Editions of title - end-->



Revision as of 13:15, 22 October 2017

This template generates the navigation widgets displayed at the foot of item (monograph, paper, article etc.) pages in the Originators section of IRHB. It takes the following parameters:

* CoOrigs – co-originators, separated by semicolons.

It is usually transcluded via a boilerplate: monograph, paper, postcard etc.