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 does not take any parameters. It is usually transcluded via a boilerplate:
<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:
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">
* CoOrigs &ndash; co-originators, separated by semicolons
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">
<!--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 03:08, 21 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.