Template:Hatnote: Difference between revisions
Template page
More actions
Content deleted Content added
Tesinormed (talk | contribs) No edit summary |
Tesinormed (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
<hr/> |
<hr/> |
||
<div class="hatnote"> |
<div class="hatnote"> |
||
<div>[[File:{{{file|Unknown.png}}}|80px|class=notpageimage]]</div> |
<div>[[File:{{{file|Unknown.png}}}|80px|class=notpageimage]]</div> |
||
<div><span style="color:var(--color-amaranth-legacy-scope);font-size:var(--font-size-xx-large);font-family:{{{font|Cinzel}}}">{{{primary}}}</span><!-- |
<div><span style="color:var(--color-amaranth-legacy-scope);font-size:var(--font-size-xx-large);font-family:{{{font|Cinzel}}}">{{{primary}}}</span><br/><!-- |
||
-- |
--><i>{{{secondary}}}</i></div> |
||
</div> |
</div> |
||
<hr/> |
<hr/> |
||
</div> |
</div> |
||
| ⚫ | |||
--><noinclude> |
|||
<templatedata> |
--><noinclude><templatedata> |
||
{ |
{ |
||
"params": { |
"params": { |
||
| Line 66: | Line 65: | ||
|secondary=[[Main Page|Amarant]] |
|secondary=[[Main Page|Amarant]] |
||
}} |
}} |
||
{{code|<nowiki>{{Hatnote|file=Glypht.png|color=ababab|primary=Glypht Glypht glypht|secondary=[[Main Page|Amarant]]}}</nowiki>}} |
{{code|<nowiki>{{Hatnote|file=Glypht.png|color=ababab|primary=Glypht Glypht glypht|secondary=[[Main Page|Amarant]]}}</nowiki>}}</noinclude> |
||
</noinclude> |
|||
Revision as of 06:11, December 3, 2024
Adds a left-aligned hatnote with only one image
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| File | file | The file to put on the left as a 80px thumbnail
| File | suggested |
| Color | color | The color of the horizontal rules, the primary text, and links inside the header
| String | optional |
| Font | font | The font to use for text inside the header
| String | optional |
| Primary text | primary | The text displayed at the top (on the first line) | String | required |
| Secondary text | secondary | The text displayed at the bottom (on the second line) | String | required |
Example
Page Template:Hatnote/styles.css has no content.
{{Hatnote|file=Glypht.png|color=ababab|primary=Glypht Glypht glypht|secondary=[[Main Page|Amarant]]}}