Jump to content

Template:Header

From Goob Station Wiki
Revision as of 14:43, 29 November 2026 by Verbalase (talk | contribs) (Created page with "<div style="background-color: white; box-shadow: 0 0 .3em #999; border-radius: .2em; margin: 1em 0 1em 0; padding: 1px;"> <div style="background: {{{PrimaryColor|#7F7F7F}}}; border-radius: .2em; color: #FFF; padding: .4em .8em .5em;"><center>{{#if:{{{Image|}}}|[[File:{{{Image}}}|left]][[File:{{{Image}}}|right]]|}}{{{HeaderContent}}}</center></div> {{#if:{{{SubContent|}}}|<div style="padding: 1em; background:{{{SecondaryColor|#999999}}}"><center>{{{SubContent}}}</center><...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
{{{HeaderContent}}}

Example Usage

{{Header
 |PrimaryColor = #C90000
 |SecondaryColor = #C900004e
 |HeaderContent = Test Maintenance Category
 |Image = Burger.png
 |SubContent = Test Template Sub Text
 |Category1 = Wip
 |Category2 = Slated for removal
 |NoCategory = True  //Useful for displaying an example of a template without applying the categories to the page (Leave blank/do not declare this variable if you want it to be false)
}}
File:Burger.png
File:Burger.png
Test Maintenance Category
Test Template Sub Text