Template:TimelineColor
Template page
More actions
TimelineColor
Configuration template for Module:Timeline data subpages. Defines a custom colour entry for use in timeline bars and the legend.
This template renders nothing when transcluded directly — it is read as raw wikitext by Module:Timeline.
Usage
Place before any {{TimelineBar}} lines on a timeline data subpage:
{{TimelineColor|id|#RRGGBB|Display Name}}
- id
- colour key referenced in
calls on this subpage - #RRGGBB
- CSS hex colour (e.g.
#C0392B) - Display Name
- label shown in the legend
Page-defined colours extend the 19-nation palette in Module:Timeline and override any same-id entry.
Example
{{TimelineColor|denunzians|#FF4040|Denunzians}}
{{TimelineColor|isola|#CC0000|Isola}}
{{TimelineBar|Falcone|Giulio Falcone|denunzians|1-1 5 PC|1-1 15 PC}}