Template:MakeHeader

Introduction
This template generates either a Wikitext header or a "fake" header that mimics the actual H1-H6 elements, including the styles used in main.css for the site.

Default Output
{{#ifeq: {{#expr: ({{#ifeq:{{NAMESPACE}}|{{ns:Template}}|1|0}} = 1) or ({{#ifeq:{{{h|}}}|n|1|0}} = 1) }}|1| <div style="color:{{#if: {{{3|}}} | {{{3}}} | black }};background:none;margin:0;padding-top:0.5em;padding-bottom:0.17em;{{#switch:{{{2|}}}   | 1 = font-weight:normal;font-size:188%;border-bottom:1px solid {{#if: {{{4|}}} | {{{4}}} | #aaa }};    | 3 = font-weight:bold;font-size:132%;border:none;    | 4 = font-weight:bold;font-size:116%;border:none;    | 5 = font-weight:bold;font-size:100%;border:none;    | 6 = font-weight:bold;font-size:80%;border:none;    | #default = font-weight:normal;font-size:150%;border-bottom:1px solid {{#if: {{{4|}}} | {{{4}}} | #aaa }}; }}{{#if: {{{5|}}} | {{{5}}} }}">{{#if: {{{1|}}} | {{{1|}}} | (no text provided) }} | {{#switch:{{{2|}}} | 1 = ={{#if: {{{1|}}} | {{{1|}}} | (no text provided) }}= | 3 =

| 4 =

| 5 =

| 6 =

| #default =

}} }}