Template:Hl2
From Freephile Wiki
style="background:var(--background-color-progressive-subtle--active, #b6d4fb); color: var(--color-base, #202122);"
Use it in a span or table or anywhere you would use a style tag, and get consistent background highlighting
<span {{Hl2}}>This is a utility template for background highlighting</span>
yields
This is a utility template for background highlighting
| The above documentation is transcluded from Template:Hl2/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |