Template:Header: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 21: | Line 21: | ||
[[File:Trip.jpg|thumb|Hi, Cap'n!]] | [[File:Trip.jpg|thumb|Hi, Cap'n!]] | ||
{{header|maroon|Notice how Trip is right next to this header?}} | {{header|maroon|Notice how Trip is right next to this header?}} | ||
This is useful when you don't want a massive gap between sections of your page because of a sidebar/nav or whatever that's floating next to your text. | |||
<br clear=all> | |||
===But what happens if you DO want a clean line break?=== | |||
If you add an extra "clear" parameter to the header, it will force a full line break before the header. | If you add an extra "clear" parameter to the header, it will force a full line break before the header. | ||
Line 29: | Line 32: | ||
{{header|maroon|Now this header is below the image!|clear}} | {{header|maroon|Now this header is below the image!|clear}} | ||
Happy Wiki-ing! –[[User:Rich|Rich]]<sup>[[User talk:Rich|(talk page)]]</sup> ''aka Lt.Cmdr. Rahman'' 17:13, 3 March 2014 (CST) | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 23:13, 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:
Notice how Trip is right next to this header? |
This is useful when you don't want a massive gap between sections of your page because of a sidebar/nav or whatever that's floating next to your text.
But what happens if you DO want a clean line break?
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}}
Now this header is below the image! |
Happy Wiki-ing! –Rich(talk page) aka Lt.Cmdr. Rahman 17:13, 3 March 2014 (CST)