Template:Clear: Difference between revisions
From WikiBound, your community-driven EarthBound/Mother wiki
Jump to navigationJump to search
m (lowercase) |
Trig Jegman (talk | contribs) m (& no longer uses variables) |
||
Line 1: | Line 1: | ||
{{# | {{#switch:{{lc:{{{side|}}}}}|left|left=<div style="clear:left;">|right|right=<div style="clear:right;">|#default=<div style="clear:both;">}}<noinclude> | ||
==Purpose== | ==Purpose== | ||
This template is used to add a clear space, and is useful for making sections in an article clear all images above them. | This template is used to add a clear space, and is useful for making sections in an article clear all images above them. | ||
==Usage== | ==Usage== | ||
To use this template, type: {{ | To use this template, type: {<nowiki/>{Clear|side=Side}}, where ''Side'' is if you wish the template to only clear one side or the other. Options are not case sensitive and they are as follows: | ||
* '''Right''' — Clears content to the right of the template. | |||
* '''Left''' — Clears content to the left of the template. | |||
* '''Right''' — Clears content to the right of the template | |||
The default setting is to clear both sides. | |||
* '''Left''' — Clears content to the left of the template. | |||
[[Category: Formatting templates|{{PAGENAME}}]] </noinclude> | [[Category: Formatting templates|{{PAGENAME}}]] </noinclude> |
Latest revision as of 13:36, 6 October 2023
Purpose
This template is used to add a clear space, and is useful for making sections in an article clear all images above them.
Usage
To use this template, type: {{Clear|side=Side}}, where Side is if you wish the template to only clear one side or the other. Options are not case sensitive and they are as follows:
- Right — Clears content to the right of the template.
- Left — Clears content to the left of the template.
The default setting is to clear both sides.