Template:Header: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><br>
<includeonly>{{br|{{{3|}}}}}
{| border=0 cellspacing=0 cellpadding=0 style="max-width: 100%"
{| border=0 cellspacing=0 cellpadding=0 style="max-width: 100%"
|-
|-
Line 16: Line 16:


{{header|#5C5CAD|Welcome to StarBase 118}}
{{header|#5C5CAD|Welcome to StarBase 118}}
By default, the header will not cause a complete line break next to a floating object such as an image:
[[File:Trip.jpg|thumb|Hi, Cap'n!]]
{{header|maroon|Notice how Trip is right next to this header?}}
If you add an extra "clear" parameter to the header, it will force a full line break before the header.
<pre>{{header|maroon|Now this header is below the image!|clear}}</pre>
[[File:Trip.jpg|thumb|That's a neat trick, Cap'n!]]
{{header|maroon|Now this header is below the image!|clear}}


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 23:11, 3 March 2014

Makes thick lined headers.

{{header|Line color|Header Title}}

Examples:

{{header|steelblue|Life as a Science Officer}}


Life as a Science Officer

{{header|#5C5CAD|Welcome to StarBase 118}}


Welcome to StarBase 118

By default, the header will not cause a complete line break next to a floating object such as an image:

Hi, Cap'n!

Notice how Trip is right next to this header?

If you add an extra "clear" parameter to the header, it will force a full line break before the header.

{{header|maroon|Now this header is below the image!|clear}}
That's a neat trick, Cap'n!


Now this header is below the image!