Template:LCARS-bar: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(padding adjustments) |
||
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| | <includeonly>{|align=center width="100%" | ||
| 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="5px"| | |||
|style="background:{{{COLOR}}}; 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">[[{{{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 and a link to the page with that title. | |}</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 don't want a link generated, use [[Template:LCARS-bar-nolink]]. | |||
*If you want to use an LCARS bar as a section heading so that it will show up in the table of contents, use [[Template:LCARS-bar-heading]]. | |||
===Example=== | |||
<pre> | <pre> | ||
{{LCARS-bar|Taskforces | {{LCARS-bar|Taskforces|COLOR=#6699cc}} | ||
</pre> | </pre> | ||
{{LCARS-bar|Taskforces | {{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).
- If you want the text on the left, use Template:LCARS-bar-left.
- If you don't want a link generated, use Template:LCARS-bar-nolink.
- If you want to use an LCARS bar as a section heading so that it will show up in the table of contents, use Template:LCARS-bar-heading.
Example
{{LCARS-bar|Taskforces|COLOR=#6699cc}}
Taskforces |
---|