Template:PageHeader: Difference between revisions
Template page
More actions
No edit summary Tag: wikieditor |
No edit summary Tag: wikieditor |
||
| Line 1: | Line 1: | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"description": "Renders a styled header box with an optional image and a large page title.", | |||
"format": "block", | |||
"params": { | |||
"PageImage": { | |||
"label": "Page image", | |||
"description": "Optional file name (without File:) to show above the header, e.g. Example.png.", | |||
"type": "string", | |||
"required": false, | |||
"aliases": [] | |||
}, | |||
"PageHeader": { | |||
"label": "Page header text", | |||
"description": "The large title text displayed in the header box.", | |||
"type": "string", | |||
"required": false, | |||
"aliases": [] | |||
} | |||
}, | |||
"paramOrder": [ | |||
"PageImage", | |||
"PageHeader" | |||
] | |||
} | |||
</templatedata> | |||
</noinclude> | |||
<noinclude>[[Category:Templates]]</noinclude> | <noinclude>[[Category:Templates]]</noinclude> | ||
<div style="max-width:100%; margin-bottom:10px; border:1px solid #ccc; border-radius:6px; box-shadow:0 1px 3px rgba(0,0,0,0.1); background:#f0f2f8; padding:10px; text-align:center; color:#333; word-wrap:break-word; overflow-wrap:break-word;"> | <div style="max-width:100%; margin-bottom:10px; border:1px solid #ccc; border-radius:6px; box-shadow:0 1px 3px rgba(0,0,0,0.1); background:#f0f2f8; padding:10px; text-align:center; color:#333; word-wrap:break-word; overflow-wrap:break-word;"> | ||
Revision as of 04:30, 5 September 2025
<templatedata> {
"description": "Renders a styled header box with an optional image and a large page title.",
"format": "block",
"params": {
"PageImage": {
"label": "Page image",
"description": "Optional file name (without File:) to show above the header, e.g. Example.png.",
"type": "string",
"required": false,
"aliases": []
},
"PageHeader": {
"label": "Page header text",
"description": "The large title text displayed in the header box.",
"type": "string",
"required": false,
"aliases": []
}
},
"paramOrder": [
"PageImage",
"PageHeader"
]
} </templatedata>
Join the Playtest on Steam Now: https://store.steampowered.com/app/3767850/SpiritVale
{{#if:|[[File:{{{PageImage}}}|100px]]
|}}
{{{PageHeader}}}