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);"

Documentation icon Template documentation[view] [edit] [history] [purge]

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