Difference between revisions of "Template:Clear"
Jump to navigation
Jump to search
m (Changed protection level for "Template:Clear": protection no longer required ([Edit=Allow only autoconfirmed users] (expires 20:17, 1 February 2023 (UTC)) [Move=Allow only autoconfirmed users] (expires 20:17, 1 February 2023 (UTC)))) |
|||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | {{ | + | {{Documentation wanted}} |
</noinclude> | </noinclude> | ||
<div style="clear:{{{1|both}}};"></div><noinclude> | <div style="clear:{{{1|both}}};"></div><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 22:00, 30 December 2024
This page has been marked as needing documentation of its function and purpose. You can help RimWorld Wiki by creating it here |
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
- {{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
Example without {{clear}}
Some text over here
New section without the template before
Without the code {{clear}}
, this section starts at the right of the image.
The above documentation is transcluded from Template:Clear/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |