Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
You must create an account or log in to edit.
Revision as of 17:37, January 13, 2025 by Tesinormed (talk | contribs)

Adds a left-aligned hatnote with one optional image on the left side

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Filefile

The file to put on the left as a thumbnail (80px)

Default
Unknown.png
Example
Glypht.png
Filesuggested
Colorcolor

The color of the horizontal rules, the primary text, and links inside the header

Example
#ababab
Stringsuggested
Color applies to linkscolor_applies_to_links

If the color specified should apply to links as well

Default
true
Example
false
Booleanoptional
Primary gradientprimary_gradient

The CSS linear-gradient of the primary text

Example
to bottom, #ffffff, #36454f
Stringoptional
Fontfont

The font to use for text inside the header

Default
Cinzel
Example
Varela Round
Stringoptional
Primary textprimary

The text displayed at the top (on the first line)

Stringrequired
Secondary textsecondary

The text displayed at the bottom (on the second line)

Stringrequired
Italic secondary textitalic_secondary

If the secondary text should be italicized

Default
true
Booleanoptional
Remove linesremove_hr

If the lines at the top and bottom should be removed

Default
false
Booleanoptional
Remove top lineremove_hr_top

If the line at the top should be removed

Default
false
Booleanoptional
Remove bottom lineremove_hr_bottom

If the line at the bottom should be removed

Default
false
Booleanoptional

Examples

Complete

{{Hatnote
|file=Glypht.png
|color=#ababab
|primary_gradient=to right, #ababab, #ffffff
|primary=Glypht Glypht glypht
|secondary=[[Main Page|Amarant]]
|italic_secondary=yes
}}

Glypht Glypht glypht
Amarant

Page Template:Hatnote/styles.css has no content.

Simple

{{Hatnote
|color=red
|primary=Glypht Glypht glypht
|secondary=[[Main Page|Amarant]]
}}

Glypht Glypht glypht
Amarant

Page Template:Hatnote/styles.css has no content.

See also