Difference between revisions of "User:Shiori/Sandbox"
From LGPedia
m (testing a tweak to actually make subheaders work) |
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]] '''This is a blue header''' [[Image:Star white on blue.gif]]</h2> | ||
+ | <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]] '''This is a blue header''' [[Image:Star white on blue.gif]]</h2> | ||
+ | <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]] '''This is a blue header''' [[Image:Star white on blue.gif]]</h2> | <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]] '''This is a blue header''' [[Image:Star white on blue.gif]]</h2> | ||
<pre>{{Subheader|This is a blue header|blue}}</pre> | <pre>{{Subheader|This is a blue header|blue}}</pre> |
Revision as of 13:25, 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
This is a blue header 
{{Subheader|This is a blue header|blue}}
This is a blue header 
{{Subheader|This is a blue header|blue}}
This is a blue header 
{{Subheader|This is a blue header|blue}}