Template:Heading

(Difference between revisions)

(created template)
 
m (modifying description of Template purpose)
 
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Template:Heading''' acts as a central Template to replace [[Template:HeadingA]], [[Template:HeadingB]], and [[Template:HeadingC]].
+
'''Template:Heading''' is used to place specifically styled headings on pages, especially on the [[Main Page]].
  
 
==Usage==
 
==Usage==

Latest revision as of 15:02, 7 May 2009

Template:Heading is used to place specifically styled headings on pages, especially on the Main Page.

[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 #a3bfb1; background:#99ccff; color:#000; font-size:120%; font-weight:bold; text-align:left; -moz-border-radius:0.2em;">{{{2|Formula One}}}</h2>
| B =
<h2 style="padding:0.2em 0.4em; margin:10px 0 10px 0; border:1px solid #a3bfb1; background:#cedff2; color:#000; font-size:120%; font-weight:bold; text-align:left; -moz-border-radius:0.2em;">{{{2|Formula One}}}</h2>
| C =
<h2 style="padding:0.2em 0.4em; margin:10px 0 10px 0; border:1px solid #a3bfb1; background:#EEEEEE; color:#000; font-size:120%; font-weight:bold; text-align:center; -moz-border-radius:0.2em;">{{{2|Formula One}}}</h2>
}}