Template:LCARS-halfbar: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#switch: {{{1|}}} | <includeonly>{{#switch: {{{1|}}} | ||
|left={{(!}}align{{=}}center width{{=}}"100%" | |left={{(!}}align{{=}}center width{{=}}"100%" | ||
{{!}}width{{=}}"40px" style{{=}}"background:{{{COLOR|maroon}}}; border:0px; border-radius: 20px 0px 0px 20px"{{!}} | {{!}}width{{=}}"40px" style{{=}}"background:{{{COLOR|maroon}}}; 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">{{{ | {{!}}style{{=}}"width:1px; padding-top: 0px; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; white-space:nowrap; text-transform:uppercase; font-weight: bold; line-height: 130%;"{{!}}<font size{{=}}"4">{{{2|[[File:Icons command.png|x20px|link=]]}}}</font> | ||
{{!}}style{{=}}"background:{{{COLOR|maroon}}}; border:0px;" | {{!}}style{{=}}"background:{{{COLOR|maroon}}}; border:0px;"{{!}} | ||
{{!)}} | {{!)}} | ||
|right={{(!}}align{{=}}center width{{=}}"100%" | |right={{(!}}align{{=}}center width{{=}}"100%" | ||
{{!}}style{{=}}"background:{{{COLOR|maroon}}}; border:0px;"{{!}} | {{!}}style{{=}}"background:{{{COLOR|maroon}}}; border:0px;"{{!}} | ||
!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">{{{ | !style{{=}}"width:1px; padding-top: 0px; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; white-space:nowrap; text-transform:uppercase; font-weight: bold; line-height: 130%;"{{!}}<font size{{=}}"4">{{{2|[[File:Icons command.png|x20px|link=]]}}}</font> | ||
{{!}}width{{=}}"40px" style{{=}}"background:{{{COLOR|maroon}}}; border:0px; border-radius: 0px 20px 20px 0px" | {{!}}width{{=}}"40px" style{{=}}"background:{{{COLOR|maroon}}}; border:0px; border-radius: 0px 20px 20px 0px"{{!}} | ||
{{!)}} | {{!)}} | ||
| | | | ||
}} | }}</includeonly><noinclude>Like [[Template:LCARS-bar]], but creates an LCARS "half bar" depending on if you specify left or right. | ||
<pre>{{LCARS-halfbar|left}}</pre> | |||
{{LCARS-halfbar|left}} | |||
<pre>{{LCARS-halfbar|right}}</pre> | |||
{{LCARS-halfbar|right}} | |||
You can change the color from the default of maroon and have text appear instead of the Starfleet delta, use the following format: | |||
<pre>{{LCARS-halfbar|left|Custom Text|COLOR=teal}}</pre> | |||
{{LCARS-halfbar|left|Custom Text|COLOR=teal}} | |||
And you can put a link as usual with double brackets. | |||
<pre>{{LCARS-halfbar|right|[[Starfleet Corps of Engineers]]|COLOR=darkgoldenrod}}</pre> | |||
{{LCARS-halfbar|right|[[Starfleet Corps of Engineers]]|COLOR=darkgoldenrod}} | |||
==Questions?== | |||
Let me know. [[User:Rich|'''♫ Rich''' <small>(Fleet Capt. Rahman)</small>]] • [[User_talk:Rich|<small>'''REPLY'''</small>]] • [[118Wiki:Operations|<small>Chief of Wiki Operations</small>]] • [[Department of Veterans Affairs|<small>Veterans Affairs</small>]] | |||
[[Category:Templates]]</noinclude> |
Latest revision as of 16:19, 17 April 2020
Like Template:LCARS-bar, but creates an LCARS "half bar" depending on if you specify left or right.
{{LCARS-halfbar|left}}
![]() |
{{LCARS-halfbar|right}}
![]() |
---|
You can change the color from the default of maroon and have text appear instead of the Starfleet delta, use the following format:
{{LCARS-halfbar|left|Custom Text|COLOR=teal}}
Custom Text |
And you can put a link as usual with double brackets.
{{LCARS-halfbar|right|[[Starfleet Corps of Engineers]]|COLOR=darkgoldenrod}}
Starfleet Corps of Engineers |
---|
Questions?
Let me know. ♫ Rich (Fleet Capt. Rahman) • REPLY • Chief of Wiki Operations • Veterans Affairs