Template:LCARS-bar

From Stellar Kennings
Revision as of 09:25, 23 December 2021 by TShinjitsu (talk | contribs) (creating template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Borrowed from SB118. This template is likely not undergoing change, so credit belongs to:

Starbase 118


This template creates an LCARS style bar with large text (automatically put in all caps) but it does three things differently:

  • 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.

Introduction

This is the introduction of a page.

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

Middle

This is the middle of a page.

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

End

This is the end of a page.

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

Clearing a Section

You can also add a <br clear=all> before the heading so that a thumbnail or sidebar will be displayed completely above it by adding "clear" to the end :

{{LCARS-bar|Name of Heading|COLOR=Color|clear}}

Before

{{LCARS-bar|Before|COLOR=maroon}}
{{LCARS-bar|After|COLOR=darkgoldenrod|clear}}


After