Difference between revisions of "Template:MainTemplate"

From Holdfast: Nations At War
Jump to navigation Jump to search
Line 1: Line 1:
<!-- Based on: https://hoi4.paradoxwikis.com/Template:MainTemplate -->{{HeaderTemplate|welcome={{{welcome}}}|blurb={{{blurb}}}}}
+
<!-- Clean header using classes, no inline colors -->
<!-- LEFT COLUMN -->
+
<div class="hf-hero">
{| width="100%" cellspacing="0" cellpadding="0" style="background:transparent;"
+
{| class="hf-hero-table"
 
|-
 
|-
| width="320px" style="vertical-align:top; padding-right:0.5em; float:left;" |
+
! class="hf-hero-left" |
<!-- Sections -->
+
<div class="hf-hero-title">{{{welcome|}}}</div>
{{SectionTemplate|title={{{sections_title}}}|content={{{sections_content}}}}}
+
| class="hf-hero-right" |
| width="100%" style="vertical-align:top;" |
+
{{{blurb|}}}
<!-- Info about this site -->
 
{{SectionTemplate|title={{{about_title}}}|content={{{about_content}}}}}
 
{{SectionTemplate|title={{{featured_title}}}|content={{{featured_content}}}}}
 
{{SectionTemplate|title={{{news_title}}}|content={{{news_content}}}}}
 
| style="vertical-align:top;" |
 
{{{image_content}}}
 
 
|}
 
|}
 
+
</div>
__NOTOC__
 
__NOEDITSECTION__
 
 
<noinclude>[[Category:Templates]]</noinclude>
 
<noinclude>[[Category:Templates]]</noinclude>

Revision as of 19:38, 24 September 2025