Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Join the Playtest on Steam Now: SpiritVale

Template:PageHeader: Difference between revisions

Template page
No edit summary
No edit summary
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

Renders a styled header box with an optional image and a large page title.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Page imagePageImage

Optional file name (without File:) to show above the header, e.g. Example.png.

Stringoptional
Page header textPageHeader

The large title text displayed in the header box.

Stringoptional

{{{PageHeader}}}