Template:LCARS-bar: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
m (Protected "Template:LCARS-bar" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(padding adjustments)
 
(5 intermediate revisions by the same user not shown)
Line 3: Line 3:
|width="5px"|
|width="5px"|
|style="background:{{{COLOR}}}; border:0px;"|
|style="background:{{{COLOR}}}; border:0px;"|
!width="{{{2}}}px" style="text-transform:uppercase; line-height: 130%;"|<font size="4">[[{{{1}}}]]</font>
!style="width:1px; padding-top: 0px; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; white-space:nowrap; 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>

Latest revision as of 18:28, 22 August 2019

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).

Example

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