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
Tag: wikieditor
m Replaced inline css with classes
Tag: wikieditor
Line 30: Line 30:


<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 class="playtest-info-box">


'''Join the Playtest on Steam Now:''' [https://store.steampowered.com/app/3767850/SpiritVale https://store.steampowered.com/app/3767850/SpiritVale]
'''Join the Playtest on Steam Now:''' [https://store.steampowered.com/app/3767850/SpiritVale https://store.steampowered.com/app/3767850/SpiritVale]
Line 36: Line 36:
</div>
</div>


<div style="max-width:100%; margin:1 1px; border:2px solid #372b54; border-radius:10px; box-shadow:0 2px 6px rgba(0,0,0,0.25); background:#f0f2f8;">
<div class="header-container-outer">
 
<div class="header-container-middle">
<div style="background:#f0f2f8; color:white; text-align:center; padding:1px 1px; border-radius:8px; word-wrap:break-word; overflow-wrap:break-word;">
<div class="header-container-inner">
 
<div style="background:linear-gradient(180deg,#5a4e7c,#372b54); color:white; text-align:center; padding:1px 1px; border-radius:8px; word-wrap:break-word; overflow-wrap:break-word;font-size:300%;">


{{#if:{{{PageImage|}}}|[[File:{{{PageImage}}}|100px]]<br>|<nowiki />}}
{{#if:{{{PageImage|}}}|[[File:{{{PageImage}}}|100px]]<br>|<nowiki />}}

Revision as of 10:52, 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>

{{#if:|[[File:{{{PageImage}}}|100px]]
|}} {{{PageHeader}}}