Template:AllusionsCharts: Difference between revisions
From International Robin Hood Bibliography
mNo edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
<div class="jsCharts" id="cChart" data-category="{{#var:category}}" data-section="{{#var:section}}" data-century="{{#var:Century}}" | <div class="jsCharts" id="cChart" data-category="{{#var:category}}" data-section="{{#var:section}}" data-century="{{#var:Century}}" | ||
data-tocentury="{{#var:to}}" data-fromcentury="{{#var:from}}"> | data-tocentury="{{#var:to}}" data-fromcentury="{{#var:from}}"> | ||
{{#ask:[[Category:{{#var:category}}]]{{#ifeq:{{#var:Century}}|all||[[ | {{#ask:[[Category:{{#var:category}}]]{{#ifeq:{{#var:Century}}|all||[[Century::{{#var:Century}}]]}} | ||
|? | |?Century# | ||
|?Aldecade# | |?Aldecade# | ||
|?Alyear# | |?Alyear# |
Revision as of 20:27, 3 January 2021
Renders the charts on section and century landing pages in the Allusions section; takes three optional parameters.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Section | Section | The type of section, either Records or Allusions.
| String | optional |
Category | Category | Category on which to base charts, defaults to "Allusions".
| String | optional |