Template:LCARS Section Heading: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
No edit summary
m (Protected "Template:LCARS Section Heading" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><br />
<includeonly>{{br|{{{3|}}}}}<h2 style="border-bottom: none; font-size:large; font-family:Arial, Helvetica, sans-serif; font-weight:bold;">{{{1|}}}</h2><hr style="background:{{{2|}}}; height:2px"></includeonly><noinclude>Creates the section headings used in the [[Academy Library]] & [[Utopia Planitia Fleet Yards]]. The difference between the section heading template and the [[:Template:LCARS Page Title|page title template]] is that this template adds true header functionality (the heading will be listed in a table of contents) and there will be a line break before the title of the section.
<font size=4>'''{{{1|}}}'''</font><hr style="background:{{{2|}}}; height:2px"></includeonly><noinclude>Creates the section headings used in the [[Academy Library]] & [[Utopia Planitia Fleet Yards]]. The difference between the section heading template and the [[Template:Lcars Page Title|page title template]] is that this template adds a line break before the title of the section and there is slightly less space between the title of the section and the colored line.


<pre>{{LCARS Section Heading|Title of Section|#6699cc}}</pre>
<pre>{{LCARS Section Heading|Title of Section|#6699cc}}</pre>
Line 6: Line 5:
{{LCARS Section Heading|Title of Section|#6699cc}}
{{LCARS Section Heading|Title of Section|#6699cc}}


[[Category:Wiki System Templates]]</noinclude>
===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 :
 
<pre>{{LCARS Section Heading|Title of Section|Color|clear}}</pre>
 
[[File:Trip.jpg|thumb|[[Template:Header|Hi, again!]]]]
{{LCARS Section Heading|Before|maroon}}
 
[[File:Trip.jpg|thumb|[[Template:Header|Whoa!]]]]
{{LCARS Section Heading|After|green|clear}}
 
[[Category:Wiki System Templates]]
__NOTOC__</noinclude>

Latest revision as of 21:03, 30 April 2016

Creates the section headings used in the Academy Library & Utopia Planitia Fleet Yards. The difference between the section heading template and the page title template is that this template adds true header functionality (the heading will be listed in a table of contents) and there will be a line break before the title of the section.

{{LCARS Section Heading|Title of Section|#6699cc}}

Title of Section


Clearing a Section

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

{{LCARS Section Heading|Title of Section|Color|clear}}

Before



After