User:Relmutsie AN/Heading

< User:Relmutsie AN

Template:Heading acts as a central Template to replace Template:HeadingA, Template:HeadingB, and Template:HeadingC, so do not use the other Templates. When editing this Template, edit the part between the <onlyinclude> tags, then copy/paste that between the <pre> tags under the #Template Code section. When you want to try out new colors, you can copy/paste the code for the individual headers onto somewhere else on the page, change the colors, and then preview the page (don't save it). When you're satisfied, then you should remove the preview code and change the Template accordingly.

Usage

{{Heading|Letter|Header Text}}

Examples of Usage

Code Result
{{User:Relmutsie AN/Heading|A|Header A Text}}

Header A Text

{{User:Relmutsie AN/Heading|B|Header B Text}}

Header B Text

{{User:Relmutsie AN/Heading|C|Header C Text}}

Header C Text

Template Code

{{#switch: {{{1|A}}}
| A =
<h2 style="padding:0.2em 0.4em; margin:10px 0 10px 0; border:1px solid #{{User:Relmutsie AN/Secondary}}; background:#{{User:Relmutsie AN/Primary}}; color:#fff; font-size:120%; font-weight:bold; text-align:left; -moz-border-radius:0.2em;">{{{2|Tales}}}</h2>
| B =
<h2 style="padding:0.2em 0.4em; margin:10px 0 10px 0; border:1px solid #{{User:Relmutsie AN/Primary}}; background:#{{User:Relmutsie AN/Secondary}}; color:#fff; font-size:120%; font-weight:bold; text-align:left; -moz-border-radius:0.2em;">{{{2|Tales}}}</h2>
| C =
<h2 style="padding:0.2em 0.4em; margin:10px 0 10px 0; border:1px solid #{{User:Relmutsie AN/Text}}; background:#{{User:Relmutsie AN/Tertiary}}; color:#{{User:Relmutsie AN/Text}}; font-size:120%; font-weight:bold; text-align:center; -moz-border-radius:0.2em;">{{{2|Tales}}}</h2>
}}