Template:LCARS-bar-heading: Difference between revisions

no edit summary
(added clear option)
No edit summary
Line 2: Line 2:
{|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"|
!width="{{{2}}}px" style="text-transform:uppercase; font-family:Arial, Helvetica, sans-serif; font-size:large; font-weight:bold; line-height: 100%;"|{{{1}}}
!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="background:{{{COLOR}}}; border:0px;"|
|style="background:{{{COLOR}}}; border:0px;"|
|width="5px"|
|width="5px"|
Line 10: Line 10:
* Does not create an automatic link (although you can still manually put in a link using <nowiki>[[ and ]]</nowiki>)
* Does not create an automatic link (although you can still manually put in a link using <nowiki>[[ and ]]</nowiki>)
* Is treated as a section heading by the wiki, so the label will show up in the table of contents of a page.
* Is treated as a section heading by the wiki, so the label will show up in the table of contents of a page.
Specify the width in pixels for your text label.


__TOC__
__TOC__


{{LCARS-bar-heading|Introduction|160|COLOR=darkgoldenrod}}
{{LCARS-bar-heading|Introduction|COLOR=darkgoldenrod}}
This is the introduction of a page.
This is the introduction of a page.


<pre>
<pre>
{{LCARS-bar-heading|Introduction|160|COLOR=darkgoldenrod}}
{{LCARS-bar-heading|Introduction|COLOR=darkgoldenrod}}
</pre>
</pre>


{{LCARS-bar-heading|Middle|100|COLOR=darkgoldenrod}}
{{LCARS-bar-heading|Middle|COLOR=darkgoldenrod}}
This is the middle of a page.
This is the middle of a page.


<pre>
<pre>
{{LCARS-bar-heading|Middle|100|COLOR=darkgoldenrod}}
{{LCARS-bar-heading|Middle|COLOR=darkgoldenrod}}
</pre>
</pre>
{{LCARS-bar-heading|End|70|COLOR=darkgoldenrod}}
{{LCARS-bar-heading|End|COLOR=darkgoldenrod}}
This is the end of a page.
This is the end of a page.


<pre>
<pre>
{{LCARS-bar-heading|End|70|COLOR=darkgoldenrod}}
{{LCARS-bar-heading|End|COLOR=darkgoldenrod}}
</pre>
</pre>


Line 41: Line 39:


[[File:Trip.jpg|thumb|[[Template:Header|Hi, again!]]]]
[[File:Trip.jpg|thumb|[[Template:Header|Hi, again!]]]]
{{LCARS-bar-heading|Before|90|COLOR=maroon}}
{{LCARS-bar-heading|Before|COLOR=maroon}}
<pre>{{LCARS-bar-heading|Before|90|COLOR=maroon}}</pre>
<pre>{{LCARS-bar-heading|Before|COLOR=maroon}}</pre>
[[File:Trip.jpg|thumb|[[Template:Header|Whoa!]]]]
[[File:Trip.jpg|thumb|[[Template:Header|Whoa!]]]]
<pre>{{LCARS-bar-heading|After|90|COLOR=darkgoldenrod|clear}}</pre>
<pre>{{LCARS-bar-heading|After|COLOR=darkgoldenrod|clear}}</pre>
{{LCARS-bar-heading|After|90|COLOR=darkgoldenrod|clear}}
{{LCARS-bar-heading|After|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>]]
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>