More actions
(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}}}; b...") |
No edit summary |
||
Line 1: | Line 1: | ||
<div style=" | <div style="box-shadow: 0 0 .3em #999; border-radius: .2em; margin: 1em 0 1em 0; padding: 1px;"> | ||
<div style="background: {{{PrimaryColor | <div style="background: {{{PrimaryColor}}}; border-radius: .2em; color: #FFF; padding: .4em .8em .5em;"><center>{{#if:{{{Image|}}}|[[File:{{{Image}}}|64px|left]][[File:{{{Image}}}|64px|right]]|}}{{{HeaderContent}}}</center></div> | ||
{{#if:{{{SubContent|}}}|<div style="padding: 1em; background:{{{SecondaryColor|#999999}}}"><center>{{{SubContent}}}</center></div>|}} | {{#if:{{{SubContent|}}}|<div style="padding: 1em; background:{{{SecondaryColor|#999999}}}"><center>{{{SubContent}}}</center></div>|}} | ||
</div><includeonly>{{#if:{{{NoCategory|}}}||{{#if:{{{Category1|}}}|[[Category:{{{Category1}}}]]|}}{{#if:{{{Category2|}}}|[[Category:{{{Category2}}}]]|}}}}</includeonly><noinclude> | </div><includeonly>{{#if:{{{NoCategory|}}}||{{#if:{{{Category1|}}}|[[Category:{{{Category1}}}]]|}}{{#if:{{{Category2|}}}|[[Category:{{{Category2}}}]]|}}}}</includeonly><noinclude> |
Revision as of 04:24, 9 September 2023
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) }}