Template:Right/doc View history

(Created doc page)
 
(Typo)
 
Line 10: Line 10:
<includeonly>
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Cateogry:Page formatting templates]]
[[Category:Page formatting templates]]
[[Category:Inline templates]]
[[Category:Inline templates]]
<!-- ADD INTERWIKIS BELOW THIS LINE -->
<!-- ADD INTERWIKIS BELOW THIS LINE -->


</includeonly>
</includeonly>

Latest revision as of 01:15, 25 August 2022

This is a documentation subpage for Template:Right.
It contains usage information, categories and other content that is not part of the original template page.

This template pushes the content right passed to it as the only unnamed parameter.

There is one optional named parameter |margin= that defines the padding. It requires a unit with the value and it will default to 10px.

It uses a span style as follows:

<span style="float:right;padding-left:{{{margin|10px}}}">