Template:Hatnote2: Difference between revisions
More actions
Tesinormed (talk | contribs) No edit summary Tag: 2017 source edit |
Tesinormed (talk | contribs) No edit summary Tag: 2017 source edit |
||
| Line 87: | Line 87: | ||
} |
} |
||
}, |
}, |
||
"description": "Adds a center-aligned hatnote with two images on each side", |
"description": "Adds a center-aligned hatnote with two optional images on each side", |
||
"format": "block", |
"format": "block", |
||
"paramOrder": [ |
"paramOrder": [ |
||
| Line 106: | Line 106: | ||
== Example == |
== Example == |
||
{{Hatnote2 |
<pre>{{Hatnote2 |
||
|file1=Glypht.png |
|file1=Glypht.png |
||
|file2=Cosmoria Symbol.png |
|file2=Cosmoria Symbol.png |
||
| Line 113: | Line 113: | ||
|secondary=[[Main Page|Amarant]] |
|secondary=[[Main Page|Amarant]] |
||
|remove_hr_bottom=y |
|remove_hr_bottom=y |
||
}} |
}}</pre> |
||
| ⚫ | |||
| ⚫ | |||
|file1=Glypht.png |
|file1=Glypht.png |
||
|file2=Cosmoria Symbol.png |
|file2=Cosmoria Symbol.png |
||
| Line 122: | Line 121: | ||
|secondary=[[Main Page|Amarant]] |
|secondary=[[Main Page|Amarant]] |
||
|remove_hr_bottom=y |
|remove_hr_bottom=y |
||
}} |
|||
| ⚫ | |||
<pre>{{Hatnote2 |
|||
|color=green |
|||
|primary=Glypht Glypht glypht |
|||
|secondary=[[Main Page|Amarant]] |
|||
| ⚫ | |||
{{Hatnote2 |
|||
|color=green |
|||
|primary=Glypht Glypht glypht |
|||
|secondary=[[Main Page|Amarant]] |
|||
}} |
|||
== See also == |
== See also == |
||
Revision as of 18:45, January 12, 2025
Adds a center-aligned hatnote with two optional 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 thumbnail
| File | suggested |
| File size | file_size | The files' thumbnail size
| String | optional |
| Color | color | The color of the horizontal rules, the primary text, and links inside the header
| String | suggested |
| Primary gradient | primary_gradient | The CSS linear-gradient of the primary text
| 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 |
| Remove lines | remove_hr | If the lines at the top and bottom should be removed
| Boolean | optional |
| Remove top line | remove_hr_top | If the line at the top should be removed
| Boolean | optional |
| Remove bottom line | remove_hr_bottom | If the line at the bottom should be removed
| Boolean | optional |
Example
{{Hatnote2
|file1=Glypht.png
|file2=Cosmoria Symbol.png
|color=#cdcdcd
|primary=Glypht Glypht glypht
|secondary=[[Main Page|Amarant]]
|remove_hr_bottom=y
}}
Page Template:Hatnote2/styles.css has no content.
{{Hatnote2
|color=green
|primary=Glypht Glypht glypht
|secondary=[[Main Page|Amarant]]
}}
Page Template:Hatnote2/styles.css has no content.