Template:AllusionsCharts: 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 renders the charts on the section and century landing pages in the Allusions section of IRHB. It takes no parameters.</div></noinclude><includeonly>__NOTOC__{{#vardefine:Century|{{#ifeq:{{PAGENAME}}|Allusions|all|{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|-}}+1}}|2}}}}}}{{#vardefine:type|{{#ifeq:{{#pos:{{PAGENAME}}|Allusions}}||Records|Allusions}}}}{{#vardefine:content|{{#ifeq:{{#pos:{{PAGENAME}}|links}}||texts|links}}}}{{#vardefine:period|{{#sub:{{#replace:{{PAGENAME}}|{{#var:type}}|}}|0|9}}}}
<noinclude><div class="no-img">This template renders the charts on the section and century landing pages in the Allusions section of IRHB. It takes no parameters.</div></noinclude><includeonly>__NOTOC__{{#vardefine:Century|{{#ifeq:{{PAGENAME}}|Allusions|all|{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|-}}+1}}|2}}}}}}{{#vardefine:type|{{#ifeq:{{#pos:{{PAGENAME}}|Allusions}}||Records|Allusions}}}}{{#vardefine:content|{{#ifeq:{{#pos:{{PAGENAME}}|links}}||texts|links}}}}{{#vardefine:period|{{#sub:{{#replace:{{PAGENAME}}|{{#var:type}}|}}|0|9}}}}{{#vardefine:category| {{{Category|{{#var:type}}}}}}}
<div class="irhbCharts" id="centuryChart">
<div class="irhbCharts" id="centuryChart">
</div>
</div>
<div class="irhbCharts" id="halfCenturyChart">
<div class="irhbCharts" id="halfCenturyChart">
{{#ask: [[Category:Allusions]]
{{#ask: [[Category:{{#var:category}}]]
{{#ifeq:{{#var:Century}}|all||[[Alcent::{{#var:Century}}]]}}
{{#ifeq:{{#var:Century}}|all||[[Alcent::{{#var:Century}}]]}}
|?Alcent#
|?Alcent#

Revision as of 21:05, 30 October 2018

This template renders the charts on the section and century landing pages in the Allusions section of IRHB. It takes no parameters.