Template:AllusionsCharts: Difference between revisions
From International Robin Hood Bibliography
mNo edit summary |
mNo edit summary |
||
Line 5: | Line 5: | ||
<div class="irhbCharts" id="centuryChart"> | <div class="irhbCharts" id="centuryChart"> | ||
</div> | </div> | ||
<div class="irhbCharts" id="halfCenturyChart">{{#ask: [[Category:{{#var:category}}]]{{#ifeq:{{#var:Century}}|all||[[Alcent::{{#var:Century}}]]}} | <div class="irhbCharts" id="halfCenturyChart">{{#ask:[[Category:{{#var:category}}]]{{#ifeq:{{#var:Century}}|all||[[Alcent::{{#var:Century}}]]}} | ||
|?Alcent# | |?Alcent# | ||
|?Alhacent# | |?Alhacent# |
Revision as of 08:04, 31 October 2018
This template renders the charts on the section and century landing pages in the Allusions section of IRHB. It takes three optional parameters.
- Type – value can be 'Records', defaults to 'Allusions'
- Category – category to base charts on, defaulting to 'Allusions'.
- HideXaxis – if set to value other than 'false', index on x-axis of timeline is hidden, defaults to 'false'.