Template:LCARS-bar-heading: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{|align=center width="100%" |width="40px" style="background:{{{COLOR}}}; border:0px; border-radius: 20px 0px 0px 20px"| !width="{{{2}}}px"|<h2 style="text-transfo...")
 
No edit summary
Line 1: Line 1:
<includeonly>{|align=center width="100%"
<includeonly><br clear=all>{|align=center width="100%"
|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"|<h2 style="text-transform:uppercase; line-height: 100%; border-bottom: none; font-size:large; font-weight:bold; margin: 0px">{{{1}}}</h2>
!width="{{{2}}}px"|<h2 style="text-transform:uppercase; line-height: 100%; border-bottom: none; font-size:large; font-weight:bold; margin: 0px">{{{1}}}</h2>

Revision as of 17:41, 2 December 2015

Similar to Template:LCARS-bar, this template creates an LCARS style bar with large text (automatically put in all caps) but it does three things differently:

  • Puts the text on the left instead of the right (like Template:LCARS-bar-left)
  • Does not create an automatic link (although you can still manually put in a link using [[ and ]])
  • Is treated as a section heading by the wiki, so the label will show up in the table of contents of a page.

Specify the width in pixels for your text label.


{|align=center width="100%" |width="40px" style="background:darkgoldenrod; border:0px; border-radius: 20px 0px 0px 20px"|

!width="160px"|

Introduction

|style="background:darkgoldenrod; border:0px;"| |width="5px"| |width="40px" style="background:darkgoldenrod; border:0px; border-radius: 0px 20px 20px 0px"| |} This is the introduction of a page.

{{LCARS-bar-heading|Introduction|160|COLOR=darkgoldenrod}}


{|align=center width="100%" |width="40px" style="background:darkgoldenrod; border:0px; border-radius: 20px 0px 0px 20px"|

!width="100px"|

Middle

|style="background:darkgoldenrod; border:0px;"| |width="5px"| |width="40px" style="background:darkgoldenrod; border:0px; border-radius: 0px 20px 20px 0px"| |} This is the middle of a page.

{{LCARS-bar-heading|Middle|100|COLOR=darkgoldenrod}}


{|align=center width="100%" |width="40px" style="background:darkgoldenrod; border:0px; border-radius: 20px 0px 0px 20px"|

!width="70px"|

End

|style="background:darkgoldenrod; border:0px;"| |width="5px"| |width="40px" style="background:darkgoldenrod; border:0px; border-radius: 0px 20px 20px 0px"| |} This is the end of a page.

{{LCARS-bar-heading|End|70|COLOR=darkgoldenrod}}