Template:Pad/doc

From FORwiki

(Difference between revisions)
Jump to: navigation, search
(Created page with '{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --> ==Usage== Use {{tl|pad}} to insert a horizontally padding span inline. The tem...')
Line 10: Line 10:
Will produce:<br/>
Will produce:<br/>
This is a {{pad|6em}} padded sentence.
This is a {{pad|6em}} padded sentence.
 +
<noinclude>
 +
[[Category:Templates]]
 +
</noinclude>

Revision as of 00:49, 3 December 2009

Usage

Use {{pad}} to insert a horizontally padding span inline. The template takes one unnamed parameter; a width value specified in px, em or ex.

Example

Using the following code:
This is a {{pad|6em}} padded sentence.

Will produce:
This is a   padded sentence.

Personal tools