Template:LCARS-bar-heading: Difference between revisions

Jump to navigation Jump to search
added clear option
m (Protected "Template:LCARS-bar-heading" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(added clear option)
Line 1: Line 1:
<includeonly><h2 style="border-bottom: none;">
<includeonly>{{br|{{{3|}}}}}<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"|
Line 35: Line 35:
</pre>
</pre>


===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 :
<pre>{{LCARS-bar-heading|Name of Heading|Width|COLOR=Color|clear}}</pre>
[[File:Trip.jpg|thumb|[[Template:Header|Hi, again!]]]]
{{LCARS-bar-heading|Before|90|COLOR=maroon}}
<pre>{{LCARS-bar-heading|Before|90|COLOR=maroon}}</pre>
[[File:Trip.jpg|thumb|[[Template:Header|Whoa!]]]]
<pre>{{LCARS-bar-heading|After|90|COLOR=darkgoldenrod|clear}}</pre>
{{LCARS-bar-heading|After|90|COLOR=darkgoldenrod|clear}}
Questions/Issues? [[User:Rich|'''♫ Rich''' <small>(Capt. Roshanara Rahman)</small>]] • [[User_talk:Rich|<small>'''REPLY'''</small>]] • [[118Wiki:Operations|<small>Wiki Ops Team</small>]] • [[Department of Veterans Affairs|<small>Veterans Affairs</small>]]
[[Category:Wiki System Templates]]</noinclude>
[[Category:Wiki System Templates]]</noinclude>

Navigation menu