Template:Cbox/doc: Difference between revisions
Template page
More actions
{{Tl|Colorbox}} |
adding, see also: {{ColorRect}} |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{Tl|Cbox}} is a shortcut for <code><nowiki>{{color||{{0|00}}|bg={{{1|red}}}}}</nowiki></code | {{Tl|Cbox}} is a shortcut for <code><nowiki>{{color||{{0|00}}|bg={{{1|red}}}}}</nowiki></code> | ||
to draw a simple colored box. | to draw a simple colored box. It is widely used for {{C|Navigational templates}}. | ||
== Example == | == Example == | ||
| Line 8: | Line 8: | ||
* {{Tl|Color}} | * {{Tl|Color}} | ||
* {{Tl|Colorbox}} | * {{Tl|Colorbox}} | ||
* {{Tl|ColorRect}} | |||
<includeonly> | <includeonly> | ||
[[Category:Colorbox formatting templates| ]] | |||
[[Category:Color text formatting templates]] | [[Category:Color text formatting templates]] | ||
</includeonly> | </includeonly> | ||
Latest revision as of 23:55, 11 July 2025
{{Cbox}} is a shortcut for {{color||{{0|00}}|bg={{{1|red}}}}}
to draw a simple colored box. It is widely used for Navigational templates.
Example
- {{Cbox|#CCC}} →
See also