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">
<div class="irhbCharts" id="halfCenturyChart">{{#ask: [[Category:{{#var:category}}]]{{#ifeq:{{#var:Century}}|all||[[Alcent::{{#var:Century}}]]}}
{{#ask: [[Category:{{#var:category}}]]{{#ifeq:{{#var:Century}}|all||[[Alcent::{{#var:Century}}]]}}
|?Alcent#
|?Alcent#
|?Alhacent#
|?Alhacent#
Line 14: Line 13:
|format=template
|format=template
|template=AlChartData
|template=AlChartData
}}
}}</div>
</div>
<div class="irhbCharts" id="quarterCenturyChart">
<div class="irhbCharts" id="quarterCenturyChart">
</div>
</div>

Revision as of 07:52, 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'.