Template:Highlight round
Appearance
![]() | This template is used on approximately 4,100 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
![]() |
|
Usage
This template highlights text with slightly rounded corners and a subtle shadow effect.
{{highlight round|some text}} |
→ | some text (defaults to yellow) |
{{highlight round|some text}} |
→ | some text |
{{highlight round|some text}} |
→ | some text |
Using the Codex Design Style Guide for Wikimedia background colors:
{{highlight round|bc=var(--background-color-success-subtle, #eaecf0)|2=Success}}
→ Highlighted text{{highlight round|bc=var(--background-color-error-subtle--active, #ffc8bd)|2=Error}}
→ Highlighted text{{highlight round|bc=var(--background-color-warning-subtle, #fdf2d5)|2=Warning}}
→ Highlighted text{{highlight round|bc=var(--background-color-content-added, #a3d3ff)|2=Content added}}
→ Highlighted text{{highlight round|bc=var(--background-color-content-removed, #ffe49c)|2=Content removed}}
→ Highlighted text
See also
- {{highlight}}