Template:Hatnote2: Difference between revisions
Template page
More actions
Content deleted Content added
Tesinormed (talk | contribs) No edit summary |
Tesinormed (talk | contribs) No edit summary |
||
| Line 76: | Line 76: | ||
|secondary=[[Main Page|Amarant]] |
|secondary=[[Main Page|Amarant]] |
||
}} |
}} |
||
{{code|<nowiki>{{Hatnote2|file1=Glypht.png|file2=Cosmoria Symbol.png|color=cdcdcd|primary=Glypht Glypht glypht|secondary=[[Main Page|Amarant]]}}</nowiki>}}</noinclude> |
|||
<pre><nowiki>{{Hatnote2 |
|||
|file1=Glypht.png |
|||
|file2=Cosmoria Symbol.png |
|||
|color=cdcdcd |
|||
|primary=Glypht Glypht glypht |
|||
|secondary=[[Main Page|Amarant]] |
|||
}}</nowiki></pre></noinclude> |
|||
Revision as of 06:14, December 3, 2024
Adds a center-aligned hatnote with two images on each side
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Left file | file1 | The file to put on the left as a 80px thumbnail
| File | suggested |
| Right file | file2 | The file to put on the right 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:Hatnote2/styles.css has no content.
{{Hatnote2
|file1=Glypht.png
|file2=Cosmoria Symbol.png
|color=cdcdcd
|primary=Glypht Glypht glypht
|secondary=[[Main Page|Amarant]]
}}