Site News |
---|
Warning: This wiki contains spoilers. Read at your own risk! Social media: If you would like, please join our Discord server, and/or follow us on X (Twitter) or Tumblr! |
Template:Clear: Difference between revisions
From Fire Emblem Wiki, your source on Fire Emblem information. By fans, for fans.
m (Text replacement - "Formatting Templates" to "Formatting templates") |
Thecornerman (talk | contribs) m (Simplified; misc.) |
||
Line 1: | Line 1: | ||
<div style="clear: {{#switch:{{lc:{{{1|}}}}} |right|r=right |left|l=left |both|b|#default=both}}"></div><noinclude> | |||
==Purpose== | |||
This template is used to add a clear space, and is useful for making sections in an article clear all images above them. | ==Purpose== | ||
==Usage== | 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: | To use this template, type: | ||
<pre> | <pre> | ||
{{Clear| Side (Optional) }} | {{Clear| Side (Optional) }} | ||
</pre> | </pre> | ||
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: | 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: | ||
* '''Both''' — Clears both sides. Template defaults to this if no side is defined. | * '''Both''' — Clears both sides. Template defaults to this if no side is defined. | ||
** Can also be used by typing in '''B'''. | ** Can also be used by typing in '''B'''. | ||
* '''Right''' — Clears content to the right of the template. | * '''Right''' — Clears content to the right of the template. | ||
** Can also be used by typing in '''R'''. | ** Can also be used by typing in '''R'''. | ||
* '''Left''' — Clears content to the left of the template. | * '''Left''' — Clears content to the left of the template. | ||
** Can also be used by typing in '''L'''. | ** Can also be used by typing in '''L'''. | ||
[[Category: Formatting templates | |||
[[Category: Formatting templates]]</noinclude> |
Latest revision as of 16:46, 19 February 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 (Optional) }}
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:
- Both — Clears both sides. Template defaults to this if no side is defined.
- Can also be used by typing in B.
- Right — Clears content to the right of the template.
- Can also be used by typing in R.
- Left — Clears content to the left of the template.
- Can also be used by typing in L.