Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 06:15, 22 April 2026 by Alkivkos (talk | contribs) (Created color/doc for template:color)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Documentation subpage

This is a documentation subpage for a template. It is not included when the template is used.




Description

This template formats text with custom colors and styles using inline CSS.


Usage

{{Color
| text  = 
| color = 
}}

or 

{{Color|text=TEXTHERE|color=COLORHERE}}


Parameters

Basic

Parameter Description Default
text The text to display (empty)
color Text color (name, hex, rgb) inherit
bg Background color transparent

Styling

Parameter Description Default
weight Font weight (e.g. bold) normal
style Font style (e.g. italic) normal
size Font size (e.g. 120%, 14px) 100%
border CSS border (e.g. 1px solid black) none
padding Space inside element (e.g. 3px 6px) 0
radius Border radius (rounded corners) 0


Examples

Basic color

Warning!





Warning texts

This is

very important





information.

Custom hexcode colors

Dodecahedron





Tag Style

Building






Role badge

Admin






And plenty more styles!