Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
You must create an account or log in to edit.

Template:Hatnote: Difference between revisions

Template page
Content deleted Content added
No edit summary
No edit summary
Line 26: Line 26:
"type": "string",
"type": "string",
"suggested": true
"suggested": true
},
"primary_gradient": {
"label": "Primary gradient",
"description": "The CSS linear-gradient of the primary text",
"example": "#ff0072, #df0049",
"type": "string"
},
},
"font": {
"font": {
Line 45: Line 51:
"type": "string",
"type": "string",
"required": true
"required": true
},
"primary_gradient": {
"label": "Primary gradient",
"description": "The CSS linear-gradient of the primary text",
"example": "#ff0072, #df0049",
"type": "string"
}
}
},
},

Revision as of 17:38, December 5, 2024

Adds a left-aligned hatnote with one 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 80px thumbnail

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
Primary gradientprimary_gradient

The CSS linear-gradient of the primary text

Example
#ff0072, #df0049
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

Example


Glypht Glypht glypht
Amarant

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

{{Hatnote
|file=Glypht.png
|color=ababab
|primary=Glypht Glypht glypht
|secondary=[[Main Page|Amarant]]
}}
Contents