Difference between revisions of "Pad"
From Sonic Retro
Provisional (talk | contribs) |
m (Text replace - "Category:Sonic Retro Templates" to "Category:Sonic Retro templates") |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <span style="padding-left: {{{1|1em}}};"> </span> | + | <includeonly><span style="padding-left: {{{1|1em}}};"> </span></includeonly><noinclude> |
− | <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> |
Latest revision as of 01:05, 17 November 2014
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.