Template:Colored dot

From Irony Wiki
Revision as of 06:42, 18 August 2023 by Saucy (talk | contribs) (Simplifying into a template for future use)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Documentation

Adds a colored dot to the page with text next to it.

This is often used to emphasize something (e.g. Main Page) or as a status indicator (e.g. Template:Infobox Discord server).

For example, {{colored dot|#ff0000|Closed}} outputs: Closed

TemplateData[edit source]

Adds a colored dot to the page with text next to it.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Color1

The color of the dot. Must be a valid CSS color value.

Default
#000000
Example
#00dd00
Stringsuggested
Text2

The text that will appear next to the dot.

Contentsuggested