Template:Clear: Difference between revisions

From Cobbleton Forever Wiki
(Added documentation)
m (Added link to Wikipedia's clear template documentation)
 
Line 10: Line 10:
Without the code <code><nowiki>{{clear}}</nowiki></code>, this section starts at the right of the image.
Without the code <code><nowiki>{{clear}}</nowiki></code>, this section starts at the right of the image.
</div>
</div>
<div style="border: 1px solid black; background: #fde; padding: 1em; margin: 2em;">
<div style="border: 1px solid black; background: #bbdabb; padding: 1em; margin: 2em;">
=== Example that uses <code><nowiki>{{clear}}</nowiki></code> ===
=== Example that uses <code><nowiki>{{clear}}</nowiki></code> ===


Line 20: Line 20:
Here the code <code><nowiki>{{clear}}</nowiki></code> is placed before this section, so it appears below the image.
Here the code <code><nowiki>{{clear}}</nowiki></code> is placed before this section, so it appears below the image.
</div>
</div>
For more information, see here: https://en.wikipedia.org/wiki/Template:Clear
</noinclude>
</noinclude>

Latest revision as of 07:47, 8 June 2024

Examples

Example without {{clear}}

The base ingredient in any portal scroll recipe, Papyrus Scrolls are crafted using rabbit hide, paper, ender pearls, and gold nuggets.

New section without the template before

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

Example that uses {{clear}}

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

New section with the template before

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

For more information, see here: https://en.wikipedia.org/wiki/Template:Clear