Template:Color box templates
- {{Color box}}, a small color box with black borders and text color. (e.g. {{#if:| {{{2}}} | }} or {{#if:ORANGE| ORANGE | }} )
- {{RouteBox}}, a borderless version with text color and wikilinks. (e.g. {{safesubst:#if:Orange (colour)| ORANGE | ORANGE }} )
- {{Colorbull}}, a colored bullet with wikilinks. (e.g. {{#if:|{{#if:|[[{{{3}}}|{{#switch:{{{2}}}
| c|circle|r|round = ● | d|diamond = ◆ | tu|up|uptriangle = ▲ | td|dn|downtriangle = ▼ | tl|lt|lefttriangle = ◀ | tr|rt|righttriangle = ▶ | #default = ■
}}]]|{{#switch:{{{2}}}
| c|circle|r|round = ● | d|diamond = ◆ | tu|up|uptriangle = ▲ | td|dn|downtriangle = ▼ | tl|lt|lefttriangle = ◀ | tr|rt|righttriangle = ▶ | #default = ■
}}}}|■}})
- {{legend2}}, another borderless version (e.g., )
- {{Color sample}}, a small color box with black borders. (e.g., )
- {{Swatch inline}}. (e.g., {{#if:orange|orange|orange}})
- {{Background color}}. (e.g., orange{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template| | main | other }} }}
| main = {{#if:orange|{{#ifexpr:Lua error: Cannot create process: proc_open(/home/bitnami/errors/lua-error.log): failed to open stream: Permission denied < 7 OR Lua error: Cannot create process: proc_open(/home/bitnami/errors/lua-error.log): failed to open stream: Permission denied < 7 AND Lua error: Cannot create process: proc_open(/home/bitnami/errors/lua-error.log): failed to open stream: Permission denied < 7|}}}} | other | #default = }}{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|Template | template | other }} }}
| template = {{#if:orange|{{#ifexpr:Lua error: Cannot create process: proc_open(/home/bitnami/errors/lua-error.log): failed to open stream: Permission denied < 7 OR Lua error: Cannot create process: proc_open(/home/bitnami/errors/lua-error.log): failed to open stream: Permission denied < 7 AND Lua error: Cannot create process: proc_open(/home/bitnami/errors/lua-error.log): failed to open stream: Permission denied < 7|}}}} | other | #default = }})