Template:Color

Revision as of 13:44, 2 May 2025 by Parvej Husen Talukder (talk | contribs) (Created page with "<includeonly> <span style="color: {{{1|#000000}}}; font-weight: {{{3|normal}}}; background-color: {{{2|transparent}}}; padding: {{{4|0}}}; border-radius: {{{5|0}}};"> {{{6|{{{text|{{{content|}}}}}}} </span> </includeonly> <noinclude> == Color Text Template == This template adds colored styling to text with optional background, padding, and rounded corners. === Syntax === <pre> {{Color|HEX_CODE|background_color|weight|padding|radius|text}} {{Color|HEX_CODE|text=Your tex...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Color Text Template

This template adds colored styling to text with optional background, padding, and rounded corners.

Syntax

{{Color|HEX_CODE|background_color|weight|padding|radius|text}}
{{Color|HEX_CODE|text=Your text here}}

Examples

1. Basic colored text:

  

{{{6|Red Alert}


{{{6|Red Alert}



2. With background and padding:

  

{{{6|}


{{{6|}



3. Parameter names (any order):

  

{{{6|Notice}


{{{6|Notice}