Jump to content

Template:Hl1

From mediawiki.org

style="background:var(--background-color-progressive-subtle--hover, #d9e2ff); color: var(--color-base, #202122);"

Template documentation

The {{Hl1 }}, {{Hl2 }} and {{Hl3 }} templates are short forms of using a predetermined look for horizontal lists. They save typing especially when a style is used multiple times in a table.

Example

[edit]
{|class="wikitable"
!{{hl1}}|Level 1 heading
|-
|Sample content
|-
|{{hl2}}|Level 2 heading
|-
|Sample content
|-
|{{hl3}}|Level 3 heading
|-
|Sample content
|}

gives

Level 1 heading
Sample content
Level 2 heading
Sample content
Level 3 heading
Sample content