Template:Heading

Template:Heading acts as a central heading Template. 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.

[edit] Usage

{{Heading|Letter|Header Text}}

[edit] Examples of Usage

Code Result
{{Heading|A|Header A Text}}

Header A Text

{{Heading|B|Header B Text}}

Header B Text

{{Heading|C|Header C Text}}

Header C Text

[edit] Template Code

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