Difference between revisions of "Template:Subheader"

From LGPedia
Jump to: navigation, search
m (I phail)
m
Line 1: Line 1:
<includeonly>__NOEDITSECTION__<h2 style="margin: 1em 0em 1em 0em; font-size:120%;text-align:center;color:#fff;padding:0.2em 0.4em; {{#switch: {{lc:{{{2|blue}}}}}|blue=background-color: #194B95; border: 1px solid #153d7a;|red=background-color: #ae2301; border: 1px solid #941f01;|background-color: #535353; border: 1px solid #4682B4;}}">[[Image:Star white on {{{2|blue}}}.gif]]&nbsp; &nbsp;'''{{{1}}}'''&nbsp; &nbsp;[[Image:Star white on {{{2|blue}}}.gif]]</h2></includeonly><noinclude>This template generates subheaders with a layout fitting [[Template:Header]]. Current options are either <tt>blue</tt> for LG15 or <tt>red</tt> for KM.
+
<includeonly><h2 style="margin: 1em 0em 1em 0em; font-size:120%;text-align:center;color:#fff;padding:0.2em 0.4em; {{#switch: {{lc:{{{2|blue}}}}}|blue=background-color: #194B95; border: 1px solid #153d7a;|red=background-color: #ae2301; border: 1px solid #941f01;|background-color: #535353; border: 1px solid #4682B4;}}">[[Image:Star white on {{{2|blue}}}.gif]]&nbsp; &nbsp;'''{{{1}}}'''&nbsp; &nbsp;[[Image:Star white on {{{2|blue}}}.gif]]</h2></includeonly><noinclude>This template generates subheaders with a layout fitting [[Template:Header]]. Current options are either <tt>blue</tt> for LG15 or <tt>red</tt> for KM.
 
==Usage==
 
==Usage==
 
{{Subheader|This is a blue header|blue}}
 
{{Subheader|This is a blue header|blue}}

Revision as of 13:36, 23 January 2008

This template generates subheaders with a layout fitting Template:Header. Current options are either blue for LG15 or red for KM.

Usage

This is a blue header
Star white on blue.gif
Star white on blue.gif

{{Subheader|This is a blue header|blue}}

This is a red header
Star white on red.gif
Star white on red.gif

{{Subheader|This is a red header|red}}

This header lacks color information
Star white on blue.gif
Star white on blue.gif

{{Subheader|This header lacks color information}}