Template:Colored dot: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary Tag: Reverted |
Tag: Rollback |
||
| Line 1: | Line 1: | ||
<span style="box-sizing: border-box; display: inline-flex; vertical-align: middle; align-items: center;"><span style="width: 0.75em; height: 0.75em; margin-right: 4px; border-radius: 50%; background-color: {{{1|#000000}}};"></span> {{{2|}}}</span><noinclude>{{documentation}}</noinclude> | |||
. | |||
} | |||
} | |||
Latest revision as of 08:28, 19 November 2025
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Color | 1 | The color of the dot. Must be a valid CSS color value.
| String | suggested |
| Text | 2 | The text that will appear next to the dot. | Content | suggested |