Difference between revisions of "Template:Header"

From Paradise Station Wiki
Jump to navigation Jump to search
(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]]|}}{{{HeaderContent}}}{{#if:{{{Image|}}}|[[File:{{{Image}}}|right]]|}}</center></div> {{#if:{{{SubContent|}}}|<div style="padding: 1em; background:{{{SecondaryColor|#999999}}}"><center>{{{S...")
 
Line 14: Line 14:
  |Category1 = Wip
  |Category1 = Wip
  |Category2 = Slated for removal
  |Category2 = Slated for removal
  |NoCategory = True  //Useful for displaying an example of a template without applying the categories to the page
  |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)
}}
}}
</pre>
</pre>

Revision as of 22:10, 16 May 2022

{{{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)
}}
Burger.png
Test Maintenance Category
Burger.png
Test Template Sub Text