Template:LCARS-bar-heading: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{br|{{{3|}}}}}<h2 style="border-bottom: none;">
<includeonly>{{br|{{#switch:{{{2|}}}|clear=clear|}}}}<h2 style="border-bottom: none;">
{|align=center width="100%"
{|align=center width="100%"
|width="40px" style="background:{{{COLOR}}}; border:0px; border-radius: 20px 0px 0px 20px"|
|width="40px" style="background:{{{COLOR}}}; border:0px; border-radius: 20px 0px 0px 20px"|
!style="width:1px; padding-left: 5px; padding-right: 5px; white-space:nowrap; text-transform:uppercase; font-family:Arial, Helvetica, sans-serif; font-size:large; font-weight:bold; line-height: 100%;"|{{{1}}}
!style="width:1px; padding-top: 0px; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; white-space:nowrap; text-transform:uppercase; font-family:Arial, Helvetica, sans-serif; font-size:large; font-weight:bold; line-height: 100%;"|{{{1}}}
|style="background:{{{COLOR}}}; border:0px;"|
|style="background:{{{COLOR}}}; border:0px;"|
|width="5px"|
|width="5px"|
Line 33: Line 33:
</pre>
</pre>


===Clearing a Section===
==Clearing a Section==
You can also add a <br clear=all> before the heading so that a thumbnail or sidebar will be displayed completely above it by adding "clear" to the end :
You can also add a <nowiki><br clear=all></nowiki> before the heading so that a thumbnail or sidebar will be displayed completely above it by adding "clear" to the end :


<pre>{{LCARS-bar-heading|Name of Heading|Width|COLOR=Color|clear}}</pre>
<pre>{{LCARS-bar-heading|Name of Heading|COLOR=Color|clear}}</pre>


[[File:Trip.jpg|thumb|[[Template:Header|Hi, again!]]]]
[[File:Trip.jpg|thumb|[[Template:Header|Hi, again!]]]]