Template:--: Difference between revisions

Template page
w:c:strategywiki>Mason11987
No edit summary
 
m (4 revisions imported: Imported from https://strategywiki.org/)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<hr><div style="clear: both;"></div>
<includeonly><hr style="clear: both;" /></includeonly><noinclude>Same as [[Template:-]], but adds a horizontal rule instead of a linebreak.
 
== Example ==
 
==== Header 1 ====
<div style="background-color: #f9f9f9; border: 1px solid #cccccc; float: left; margin: 5px; padding: 20px 5px; text-align: center; width: 50px;"><p>''This is a floating element.''</p></div>
Normally Header 2 would start immediately below this text, which would look very ugly.
 
{{--}}
 
==== Header 2 ====
With the clearing break between Header 1 and Header 2, the two headers are separated from each other.
 
[[Category:Templates| ]]</noinclude>

Latest revision as of 18:29, 28 October 2023

Same as Template:-, but adds a horizontal rule instead of a linebreak.

Example[edit source]

Header 1[edit source]

This is a floating element.

Normally Header 2 would start immediately below this text, which would look very ugly.


Header 2[edit source]

With the clearing break between Header 1 and Header 2, the two headers are separated from each other.