Difference between revisions of "User:Shiori/Sandbox"

From LGPedia
Jump to: navigation, search
m
m
Line 2: Line 2:
 
==Usage==
 
==Usage==
 
<span id="This is a blue header"></span>  
 
<span id="This is a blue header"></span>  
<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 blue.gif]]&nbsp; &nbsp;'''This is a blue header'''&nbsp; &nbsp;[[Image:Star white on blue.gif]]</h2>
+
<h3 style="margin: 1em 0em 1em 0em; font-size:120%;text-align:center;color:#fff;padding:0.2em 0.4em; background-color: #194B95; border: 1px solid #153d7a;">[[Image:Star white on blue.gif]]&nbsp; &nbsp;'''This is a blue header'''&nbsp; &nbsp;[[Image:Star white on blue.gif]]</h3>
 
<pre>{{Subheader|This is a blue header|blue}}</pre>
 
<pre>{{Subheader|This is a blue header|blue}}</pre>
  
<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 blue.gif]]&nbsp; &nbsp;'''This is a blue header'''&nbsp; &nbsp;[[Image:Star white on blue.gif]]</h2>
+
<h3 style="margin: 1em 0em 1em 0em; font-size:120%;text-align:center;color:#fff;padding:0.2em 0.4em; background-color: #ae2301; border: 1px solid #941f01;}">[[Image:Star white on red.gif]]&nbsp; &nbsp;'''This is a blue header'''&nbsp; &nbsp;[[Image:Star white on blue.gif]]</h3>
<pre>{{Subheader|This is a blue header|blue}}</pre>
+
<pre>{{Subheader|This is a blue header|red}}</pre>
  
<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 blue.gif]]&nbsp; &nbsp;'''This is a blue header'''&nbsp; &nbsp;[[Image:Star white on blue.gif]]</h2>
+
<span id="This is a blue header"></span>
<pre>{{Subheader|This is a blue header|blue}}</pre>
+
<h3 style="margin: 1em 0em 1em 0em; font-size:120%;text-align:center;color:#fff;padding:0.2em 0.4em; background-color: #194B95; border: 1px solid #153d7a;">[[Image:Star white on blue.gif]]&nbsp; &nbsp;'''This header lacks color information'''&nbsp; &nbsp;[[Image:Star white on blue.gif]]</h3>
 +
<pre>{{Subheader|This header lacks color information}}</pre>

Revision as of 13:31, 23 January 2008

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

Usage

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

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

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

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

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

{{Subheader|This header lacks color information}}