Template:Float right
Sarna News
- Bad ‘Mechs - Sentinel
- HEXTECH Review - Wave 3 Brings More Urban Options To Your Battlefield
- Your BattleTech News Round-Up For March, 2024
- Crashing 'Mechs With Jennifer Brozek, Author Of The Rogue Academy Trilogy
- Getting The Word Out With Rem Alternis, Catalyst Community & Marketing Director
- Read more →
{{{1}}}
Contents
Usage[edit]
This template floats text to the right.
Offset[edit]
You can prevent the text from floating all the way to the right through the use of the right parameter:
{{float right|'''This text is floated right with no offset.'''}}
yields This text is floated right with no offset. but
{{float right|'''This text is floated right with an offset of 3em.'''|3em}}
yields This text is floated right with an offset of 3em.
Parameters[edit]
- 1st {{{text}}}
- 2nd {{{right}}} sets the margin to the right of the floated text to the designated amount.
- 3rd {{{top}}} sets the top and bottom margin of floated text to the designated amount
- 4th {{{left}}} sets the margin to the left of the floated text to the designated amount.
The distance parameters must include a unit (e.g. 2px
or 3em
).
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
This text is |
See also[edit]
- {{float left}}