Template:LCARS-bar-left: Difference between revisions
Jump to navigation
Jump to search
m (Protected "Template:LCARS-bar-left" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
(Test to see if these fixes break existing pages. This fix will allow the bar to work better with floating elements.) |
||
Line 1: | Line 1: | ||
<includeonly>{| | <includeonly><div style="overflow: hidden;">{|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"| | ||
!width="{{{2}}}px" style="text-transform:uppercase; line-height: 130%;"|<font size="4">{{{1}}}</font> | !width="{{{2}}}px" style="text-transform:uppercase; line-height: 130%;"|<font size="4">{{{1}}}</font> | ||
Line 5: | Line 5: | ||
|width="5px"| | |width="5px"| | ||
|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>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: | |}</div></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>). |
Revision as of 00:11, 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}}
And to make it a link...
{{LCARS-bar-left|[[Taskforces]]|150|COLOR=#6699cc}}