Template:LCARS-bar-left: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(No joy.)
(Fix might break the template, so we'll notate it here.)
Line 24: Line 24:


{{LCARS-bar-left|[[Taskforces]]|150|COLOR=#6699cc}}
{{LCARS-bar-left|[[Taskforces]]|150|COLOR=#6699cc}}
In order to make this template float with sidebars, add this code before:
<pre>
<div style="overflow: hidden;">
</pre>
and after
<pre>
</div>
</pre>


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

Revision as of 00:13, 16 June 2019

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.
  • Does not create an automatic link (although you can still manually put in a link using [[ and ]]).

Specify the width in pixels for your text label.

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

And to make it a link...

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

In order to make this template float with sidebars, add this code before:

<div style="overflow: hidden;">

and after

</div>