Template:Clear

From RimWorld Wiki
Jump to navigation Jump to search
Documentation icon Template documentation[view] [edit] [history] [purge]

This template makes content wait until existing content is completed in all columns. It is often used to prevent text from flowing next to unrelated images.

Usage[edit]

  • {{clear}} — adds <div style="clear:both;"></div>
  • {{clear|left}} — adds <div style="clear:left;"></div>
  • {{clear|right}} — adds <div style="clear:right;"></div>

For technical details, see the discussion in the talk page of the wikipedia equivalent.

Examples[edit]

Example without {{clear}}[edit]

Colonists can access Simple research bench outside build zone (indicated with plan) in RimWorld 1.3.3389.jpg

Some text over here

New section without the template before[edit]

Without the code {{clear}}, this section starts at the right of the image.

Example that uses {{clear}}[edit]

Colonists can access Simple research bench outside build zone (indicated with plan) in RimWorld 1.3.3389.jpg

Some text over here
{{clear}}

New section with the template before[edit]

Here the code {{clear}} is placed before this section, so it appears below the image.