Template:Cir/doc
From Dragon Mania Legends (DML) Wiki
< Template:CirDocumentation subpage |
---|
View this documentation's related template: Template:Cir |
Example(s)
{{Cir|Castle Event Icon|444444}}
gives:
{{Cir|Collection Event Icon|01511e|width=80|imgwidth=60|link=Ancient Collection (24/01/26)|border=2px solid #84be33}}
gives:
See Also
{{Event}}
, the template that primarily uses this one.{{Slider}}
, the template that uses the above one, and indirectly this template.{{EventColorChoices}}
, another place this template is used.{{ColorCodes}}
, where colors are set for all Event (EventBox) pages and the{{Events}}
navbox.
Creates a circular shape inside which appears an icon and possible link. Primarilly used by the {Event} template, for the {Slider} template.
Parameter | Description | Type | Status | |
---|---|---|---|---|
(PNG name) 1 | 1 | Enter the file name, omitting ".png"
| File | required |
(background hex color) 2 | 2 | Accepts the hex color code for the background color to display (without the "#" symbol). | String | required |
(Circle) width | width | Enter the number for the width (in pixels).
| Number | optional |
(Override, circle) height | height | Enter the number for the height (in pixels).
| Number | optional |
(Override) border | border | To override the border color, enter valid CSS, omitting the semicolon.
| String | optional |
(Override) imgwidth | imgwidth | To override image width, enter a number (for pixels wide),
| Number | optional |
link | link | Enter a page name to link to, if desired. | Page name | optional |