Difference between revisions of "Pad"
From Sonic Retro
(This should fix it) |
(Added description) |
||
Line 1: | Line 1: | ||
<includeonly><span style="padding-left: {{{1|1em}}};"> </span></includeonly><noinclude> | <includeonly><span style="padding-left: {{{1|1em}}};"> </span></includeonly><noinclude> | ||
− | + | Inserts a horizontally padding span inline. It takes one unnamed parameter: a width value specified in px, em or ex. The default is 1 em. For example, the following code: | |
− | + | ||
+ | <tt>This is a <nowiki>{{pad|6em}}</nowiki> padded sentence.</tt> | ||
+ | |||
+ | produces | ||
+ | |||
+ | This is a {{pad|6em}} padded sentence. | ||
+ | |||
+ | [[Category:Sonic Retro Templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revision as of 10:30, 3 August 2010
Inserts a horizontally padding span inline. It takes one unnamed parameter: a width value specified in px, em or ex. The default is 1 em. For example, the following code:
This is a {{pad|6em}} padded sentence.
produces
This is a padded sentence.