Latest Neocron News and Information

  • New test server patch #546 has been released to Vedeena

Difference between revisions of "Template:Clear/doc"

From Neocron Wiki
Jump to: navigation, search
m (New page: This template adds <tt><div style="clear:both;"></div></tt>. == Documentation == {{temp|clear}}: Makes content wait until existing content is completed in all columns. Often ...)
 
m
 
Line 5: Line 5:
  
 
===Usage===
 
===Usage===
  <nowiki>{{subst:Clear}}</nowiki>
+
  <nowiki>{{Clear}}</nowiki>
  
 
The template may also be transcluded, but as the markup provided is unlikely to change or improve, there is little justification for transclusion overhead.
 
The template may also be transcluded, but as the markup provided is unlikely to change or improve, there is little justification for transclusion overhead.

Latest revision as of 22:38, 1 August 2008

This template adds <div style="clear:both;"></div>.

Documentation

{{clear}}: Makes content wait until existing content is completed in all columns. Often used to stop text from flowing next to unrelated images.

Usage

{{Clear}}

The template may also be transcluded, but as the markup provided is unlikely to change or improve, there is little justification for transclusion overhead.

Example without the {{clear}} template

AnicentLobaVillageJ13.jpg

Here is some test text, this is a nice template dont you think. I personally like playing neocron, my favourite place is the Battledome, where I am able to hunt warbots for rare parts.

New section

See how this section starts at the right of the image, with the line actually overlapping the image

Example with the {{clear}} template

AnicentLobaVillageJ13.jpg

Here is some test text, this is a nice template dont you think. I personally like playing neocron, my favourite place is the Battledome, where I am able to hunt warbots for rare parts. {{clear}}

New section

See how this looks much better?