<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.limswiki.org/index.php?action=history&amp;feed=atom&amp;title=Template%3APad%2Fdoc</id>
	<title>Template:Pad/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.limswiki.org/index.php?action=history&amp;feed=atom&amp;title=Template%3APad%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://www.limswiki.org/index.php?title=Template:Pad/doc&amp;action=history"/>
	<updated>2026-04-05T03:58:02Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>https://www.limswiki.org/index.php?title=Template:Pad/doc&amp;diff=38233&amp;oldid=prev</id>
		<title>Shawndouglas: Created as needed.</title>
		<link rel="alternate" type="text/html" href="https://www.limswiki.org/index.php?title=Template:Pad/doc&amp;diff=38233&amp;oldid=prev"/>
		<updated>2020-03-10T18:26:31Z</updated>

		<summary type="html">&lt;p&gt;Created as needed.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
Use {{tl|pad}} to insert a horizontally padding HTML {{tag|span|open}} inline. The template takes one unnamed parameter; a width value specified in &amp;lt;code&amp;gt;[[Pixel|px]]&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;[[Em (typography)|em]]&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;[[x-height|ex]]&amp;lt;/code&amp;gt; (other CSS units&amp;amp;nbsp;– in, cm, pc, pt&amp;amp;nbsp;– are supported as well, but not recommended, typically at 96dpi conversion ratio). The default is &amp;lt;code&amp;gt;1 em&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
'''The result is the specified padding followed by an &amp;amp;amp;nbsp;''' (non-breaking space) &amp;amp;nbsp;– at 100% font size (8pt), typically 3px wide in narrow fonts like Arial and Tahoma, 4px in wider fonts like Arial Black and Verdana).&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
Indenting by 50 pixels plus an &amp;amp;amp;nbsp; (53px in Arial):&lt;br /&gt;
* &amp;lt;code&amp;gt;Indenting 50px causes&amp;lt;nowiki&amp;gt;&amp;lt;br /&amp;gt;{{pad|50px}}&amp;lt;/nowiki&amp;gt;this amount of space.&amp;lt;/code&amp;gt;&lt;br /&gt;
''Produces:''&lt;br /&gt;
* Indenting 50px causes&amp;lt;br /&amp;gt;{{pad|50px}}this amount of space.&lt;br /&gt;
&lt;br /&gt;
Width of a typical year-range in Arial font (4.8em plus an &amp;amp;amp;nbsp;):&lt;br /&gt;
* &amp;lt;code&amp;gt;1492–1540 Exploration by&amp;lt;nowiki&amp;gt;&amp;lt;br /&amp;gt;{{pad|4.8em}}&amp;lt;/nowiki&amp;gt;Columbus &amp;amp; others.&amp;lt;/code&amp;gt;&lt;br /&gt;
''Produces:''&lt;br /&gt;
* 1492–1540 Exploration by&amp;lt;br /&amp;gt;{{pad|4.8em}}Columbus &amp;amp; others.&lt;br /&gt;
&lt;br /&gt;
This is better produced by:&lt;br /&gt;
* &amp;lt;source lang=&amp;quot;text&amp;quot; inline&amp;gt;1492–1540 Exploration by&amp;lt;br/&amp;gt;{{hidden text|1492–1540}} Columbus &amp;amp; others.&amp;lt;/source&amp;gt;&lt;br /&gt;
''Which produces:''&lt;br /&gt;
* 1492–1540 Exploration by&amp;lt;br /&amp;gt;{{hidden text|1492–1540}} Columbus &amp;amp; others&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
However, some digits supposedly require less space:&lt;br /&gt;
* &amp;lt;code&amp;gt;1111–1117 Exploration by&amp;lt;nowiki&amp;gt;&amp;lt;br /&amp;gt;{{pad|4.4em}}&amp;lt;/nowiki&amp;gt;Explorer Bob.&amp;lt;/code&amp;gt;&lt;br /&gt;
''Produces:''&lt;br /&gt;
* 1111–1117 Exploration by&amp;lt;br /&amp;gt;{{pad|4.4em}}Explorer Bob.&lt;br /&gt;
&lt;br /&gt;
But actually not:&lt;br /&gt;
* &amp;lt;source lang=&amp;quot;text&amp;quot; inline&amp;gt;1111–1117 Exploration by&amp;lt;br/&amp;gt;{{hidden text|9999–9999}} Explorer Bob.&amp;lt;/source&amp;gt;&lt;br /&gt;
''Produces:''&lt;br /&gt;
* 1111–1117 Exploration by&amp;lt;br/&amp;gt;{{hidden text|9999–9999}} Explorer Bob.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Spacing is, of course, different between fonts, too:&lt;br /&gt;
* {{Font|This is text 0123456789 in Arial&amp;lt;br /&amp;gt;{{Pad|100px}}and this is indented by 100px + 1 &amp;amp;amp;nbsp;&amp;lt;br /&amp;gt;{{Pad|9em}}and this is indented by 9em + 1 &amp;amp;amp;nbsp;|font=Arial}}&lt;br /&gt;
* {{Font|This is text 0123456789 in Times New Roman&amp;lt;br /&amp;gt;{{Pad|100px}}and this is indented by 100px+ 1 &amp;amp;amp;nbsp;&amp;lt;br /&amp;gt;{{Pad|9em}}and this is indented by 9em + 1 &amp;amp;amp;nbsp;|font=Times New Roman}}&lt;br /&gt;
* {{Font|This is text 0123456789 in Arial Black&amp;lt;br /&amp;gt;{{Pad|100px}}and this is indented by 100px + 1 &amp;amp;amp;nbsp;&amp;lt;br /&amp;gt;{{Pad|9em}}and this is indented by 9em + 1 &amp;amp;amp;nbsp;|font=Arial Black}}&lt;br /&gt;
* {{Font|This is text 0123456789 in Lucida Console&amp;lt;br /&amp;gt;{{Pad|100px}}and this is indented by 100px+ 1 &amp;amp;amp;nbsp;&amp;lt;br /&amp;gt;{{Pad|9em}}and this is indented by 9em + 1 &amp;amp;amp;nbsp;|font=Lucida Console}}&lt;br /&gt;
&lt;br /&gt;
''Note: 1em is typically 11.2px at 100% font size (8 point), 21.3px at 200% font size (16 point), and 32px at 300% font size (24pt).''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox |&lt;br /&gt;
| &amp;lt;!-- CATEGORIES BELOW THIS LINE, PLEASE: --&amp;gt;&lt;br /&gt;
[[Category:Inline spacing templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Shawndouglas</name></author>
	</entry>
</feed>