Template:Hl2: Difference between revisions
From Freephile Wiki
No edit summary |
add doc template |
||
| 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}} | |||
[[Category:Utility templates|{{PAGENAME}}]] | [[Category:Utility templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> | ||
Revision as of 16:25, 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. |