Template:LCARS-bar-heading: Difference between revisions
Jump to navigation
Jump to search
(padding adjustments) |
|||
Line 34: | Line 34: | ||
===Clearing a Section=== | ===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 : | You can also add a <nowiki><br clear=all></nowiki> before the heading so that a thumbnail or sidebar will be displayed completely above it by adding "clear" to the end : | ||
<pre>{{LCARS-bar-heading|Name of Heading | <pre>{{LCARS-bar-heading|Name of Heading|COLOR=Color|clear}}</pre> | ||
[[File:Trip.jpg|thumb|[[Template:Header|Hi, again!]]]] | [[File:Trip.jpg|thumb|[[Template:Header|Hi, again!]]]] |
Revision as of 18:32, 22 August 2019
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.
Introduction
This is the introduction of a page.
{{LCARS-bar-heading|Introduction|COLOR=darkgoldenrod}}
Middle
This is the middle of a page.
{{LCARS-bar-heading|Middle|COLOR=darkgoldenrod}}
End
This is the end of a page.
{{LCARS-bar-heading|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-heading|Name of Heading|COLOR=Color|clear}}
Before
{{LCARS-bar-heading|Before|COLOR=maroon}}
{{LCARS-bar-heading|After|COLOR=darkgoldenrod|clear}}
After
Questions/Issues? ♫ Rich (Capt. Roshanara Rahman) • REPLY • Wiki Ops Team • Veterans Affairs