FANDOM


<include>

UsageEdit

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

ExamplesEdit

Indenting by 50 pixels (50px):

  • Indenting 50px causes<br/>{{pad|50px}}this amount of space.
  • Indenting 50px causes
     
Template documentation (for the above template, sometimes hidden or invisible)

Visit Template:TrashPad/doc/doc to edit this text! (How does this work?)
this amount of space.


Width of a year-range (4.8em):

  • 1492-1540 Exploration by<br/>{{pad|4.8em}}Columbus & others.
  • 1492-1540 Exploration by
     
Template documentation (for the above template, sometimes hidden or invisible)

Visit Template:TrashPad/doc/doc to edit this text! (How does this work?)
Columbus & others.


For 1em and 6em:

  • This is a {{pad|1em}} 1em padded sentence.
  • This is a {{pad|6em}} 6em padded example.

Produces:

  • This is a  
Template documentation (for the above template, sometimes hidden or invisible)

Visit Template:TrashPad/doc/doc to edit this text! (How does this work?)
1em padded example.
  • This is a  
Template documentation (for the above template, sometimes hidden or invisible)

Visit Template:TrashPad/doc/doc to edit this text! (How does this work?)
6em padded example.