24,070
edits
No edit summary |
(padding adjustments) |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| style=" | <includeonly>{|style="width: 100%; align: center;" | ||
|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-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> | ||
|style="background:{{{COLOR}}}; border:0px; border-radius: 0px 20px 20px 0px"| | |style="background:{{{COLOR}}}; border:0px;"| | ||
|width="5px"| | |||
|width="40px" style="background:{{{COLOR}}}; border:0px; border-radius: 0px 20px 20px 0px"| | |||
|}</includeonly><noinclude>Similar to [[Template:LCARS-bar]], this template creates an LCARS style bar with large text (automatically put in all caps) but it does two things differently: | |}</includeonly><noinclude>Similar to [[Template:LCARS-bar]], this template creates an LCARS style bar with large text (automatically put in all caps) but it does two things differently: | ||
* Puts the text on the left instead of the right. | * Puts the text on the left instead of the right. | ||
* 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>). | ||
<pre> | |||
{{LCARS-bar-left|Taskforces|COLOR=#6699cc}} | |||
</pre> | |||
{{LCARS-bar-left|Taskforces|COLOR=#6699cc}} | |||
And to make it a link... | |||
<pre> | <pre> | ||
{{LCARS-bar-left|Taskforces | {{LCARS-bar-left|[[Taskforces]]|COLOR=#6699cc}} | ||
</pre> | </pre> | ||
{{LCARS-bar-left|Taskforces | {{LCARS-bar-left|[[Taskforces]]|COLOR=#6699cc}} | ||
In order to make this template float with sidebars, add this code before: | |||
<pre> | <pre> | ||
<div style="overflow: hidden;"> | |||
</pre> | </pre> | ||
and after | |||
<pre> | |||
</div> | |||
</pre> | |||
[[Category:Wiki System Templates]]</noinclude> | [[Category:Wiki System Templates]]</noinclude> |