Template:LCARS-bar: Difference between revisions

removing need for width input
m (Protected "Template:LCARS-bar" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(removing need for width input)
Line 2: Line 2:
|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="5px"|
|width="5px"|
|style="background:{{{COLOR}}}; border:0px;"|
|style="min-width: 800px; background:{{{COLOR}}}; border:0px;"|
!width="{{{2}}}px" style="text-transform:uppercase; line-height: 130%;"|<font size="4">[[{{{1}}}]]</font>
!width="style="text-transform:uppercase; line-height: 130%;"|<font size="4">[[{{{1}}}]]</font>
|width="40px" style="background:{{{COLOR}}}; border:0px; border-radius: 0px 20px 20px 0px"|
|width="40px" style="background:{{{COLOR}}}; border:0px; border-radius: 0px 20px 20px 0px"|
|}</includeonly><noinclude>Creates an LCARS style bar with large text (automatically put in all caps) and a link to the page with that title. Specify the width in pixels for your text label and make sure to type the title exactly the same as the page name (i.e., Taskforces instead of TASKFORCES).
|}</includeonly><noinclude>Creates an LCARS style bar with large text (automatically put in all caps) and a link to the page with that title. Make sure to type the title exactly the same as the page name (i.e., Taskforces instead of TASKFORCES).


*If you want the text on the left, use [[Template:LCARS-bar-left]].
*If you want the text on the left, use [[Template:LCARS-bar-left]].
Line 13: Line 13:
===Example===
===Example===
<pre>
<pre>
{{LCARS-bar|Taskforces|150|COLOR=#6699cc}}
{{LCARS-bar|Taskforces|COLOR=#6699cc}}
</pre>
</pre>


{{LCARS-bar|Taskforces|150|COLOR=#6699cc}}
{{LCARS-bar|Taskforces|COLOR=#6699cc}}


[[Category:Wiki System Templates]]</noinclude>
[[Category:Wiki System Templates]]</noinclude>