Difference between revisions of "Template:Color box"
From LFS Manual
Jump to navigationJump to search| Line 1: | Line 1: | ||
| − | <span style=" | + | <includeonly><span style="display: inline-block; |
min-width: 1.25em; | min-width: 1.25em; | ||
height: 1.25em; | height: 1.25em; | ||
| Line 8: | Line 8: | ||
{{#if:{{{padding|}}}|padding:{{{padding}}};}}">{{#if:{{{2|}}} | {{#if:{{{padding|}}}|padding:{{{padding}}};}}">{{#if:{{{2|}}} | ||
|{{#if:{{{padding|}}}|{{{2}}}| {{{2}}} }} | |{{#if:{{{padding|}}}|{{{2}}}| {{{2}}} }} | ||
| − | | }}</span><noinclude>{{documentation}}</noinclude> | + | | }}</span></includeonly><noinclude>{{documentation}}</noinclude> |
Latest revision as of 17:01, 5 July 2025
Template documentation
| This is a documentation subpage for Template:Color box.
It may contain usage information, categories and other content that is not part of the original page. |
Usage
| Visual effect | Markup |
|---|---|
{{color box|Green}}
| |
| Default color for this text | {{color box|Yellow|Default color for this text}}
|
| Default color for this text | {{color box|Blue|Default color for this text}}
|
| Using X11 color names | {{color box|SteelBlue|'''Using X11 color names'''|Gold}}
|
| Using RGB hex triplets | {{color box|#012345|''Using RGB hex triplet''|#FEDCBA}}
|
| Red | {{color box|Yellow|Red|#f00|border=#f00}}
|
| bordercolor like wikitable | {{color box|white|bordercolor like wikitable|border=#A2A9B1}}
|