Template:Clear: Difference between revisions
m (1 revision imported: Wikipedia's Clear Template for Images) |
m (Added link to Wikipedia's clear template documentation) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<div style="clear:{{{1|both}}};" class={{{class|}}}></div><noinclude> | <div style="clear:{{{1|both}}};" class={{{class|}}}></div><noinclude> | ||
{{ | == Examples == | ||
<div style="border: 1px solid black; background: #fde; padding: 1em; margin: 2em;"> | |||
=== Example without <code><nowiki>{{clear}}</nowiki></code> === | |||
[[File:Papyrus_Scroll_Crafting_Recipe.png|200px|left]] | |||
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 <code><nowiki>{{clear}}</nowiki></code>, this section starts at the right of the image. | |||
</div> | |||
<div style="border: 1px solid black; background: #bbdabb; padding: 1em; margin: 2em;"> | |||
=== Example that uses <code><nowiki>{{clear}}</nowiki></code> === | |||
[[File:Papyrus_Scroll_Crafting_Recipe.png|200px|left]] | |||
Without the code <code><nowiki>{{clear}}</nowiki></code>, this section starts at the right of the image. | |||
{{clear}} | |||
==== New section with the template before ==== | |||
Here the code <code><nowiki>{{clear}}</nowiki></code> is placed before this section, so it appears below the image. | |||
</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