Template:Hl2: Difference between revisions
From Freephile Wiki
add doc template |
move categories to doc page |
||
| Line 1: | Line 1: | ||
style="background:var(--background-color-progressive-subtle--active, #b6d4fb); color: var(--color-base, #202122);" <noinclude> | style="background:var(--background-color-progressive-subtle--active, #b6d4fb); color: var(--color-base, #202122);" <noinclude> | ||
{{doc}} | {{doc}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 16:30, 6 December 2025
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. |