Template:Page Header: Difference between revisions
From KB42
No edit summary |
No edit summary |
||
| Line 33: | Line 33: | ||
<div style="text-align: center; padding: 0.75em 1em; box-sizing: border-box; max-width: 60%;"> | <div style="text-align: center; padding: 0.75em 1em; box-sizing: border-box; max-width: 60%;"> | ||
<div style="font-size: 2em; font-weight: bold; margin: 0; line-height: 1.2;">{{{title|}}}</div> | <div style="font-size: 2em; font-weight: bold; margin: 0; line-height: 1.2;">{{{title|}}}</div> | ||
{{#if:{{{title2|}}}|<div style="font-size: | {{#if:{{{title2|}}}|<div style="font-size: 1.25em; margin-top: 0.25em;">{{{title2}}}</div>}} | ||
</div> | </div> | ||
</div> | </div> | ||
Revision as of 22:24, 7 May 2026
Usage
{{Header
|header_img = YourBanner.png
|title = My Wiki Title
|title2 = Optional subtitle line
}}
