<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://pool.calebcooper.ie/index.php?action=history&amp;feed=atom&amp;title=Template%3ASu%2Fdoc</id>
	<title>Template:Su/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://pool.calebcooper.ie/index.php?action=history&amp;feed=atom&amp;title=Template%3ASu%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:Su/doc&amp;action=history"/>
	<updated>2026-04-07T17:02:48Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://pool.calebcooper.ie/index.php?title=Template:Su/doc&amp;diff=12854&amp;oldid=prev</id>
		<title>Caleb Cooper at 15:11, 20 October 2020</title>
		<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:Su/doc&amp;diff=12854&amp;oldid=prev"/>
		<updated>2020-10-20T15:11:46Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:11, 20 October 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{COinS safe|n}}&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{COinS safe|n}}&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{lua|Module:Su}}&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{lua|Module:Su}}&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Commons Import}}&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --&amp;gt;&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --&amp;gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Caleb Cooper</name></author>
	</entry>
	<entry>
		<id>https://pool.calebcooper.ie/index.php?title=Template:Su/doc&amp;diff=12853&amp;oldid=prev</id>
		<title>Caleb Cooper: Created page with &quot;{{Documentation subpage}} {{COinS safe|n}} {{lua|Module:Su}} &lt;!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --&gt;  == Purpose ==  Template for creating two smaller lines of te...&quot;</title>
		<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:Su/doc&amp;diff=12853&amp;oldid=prev"/>
		<updated>2020-10-20T15:11:27Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation subpage}} {{COinS safe|n}} {{lua|Module:Su}} &amp;lt;!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --&amp;gt;  == Purpose ==  Template for creating two smaller lines of te...&amp;quot;&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;
{{COinS safe|n}}&lt;br /&gt;
{{lua|Module:Su}}&lt;br /&gt;
&amp;lt;!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Purpose ==&lt;br /&gt;
&lt;br /&gt;
Template for creating two smaller lines of text on one actual line, this can be used for [[Template:val|scientific notations of uncertainty]] and [[Template:PhysicsParticle|physics]] symbols, such as [[:Category:Nuclide templates|nuclides]] and [[Template:SubatomicParticle|particles]].&lt;br /&gt;
&lt;br /&gt;
It was named after the &amp;#039;&amp;#039;&amp;#039;&amp;amp;lt;sup&amp;gt;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;amp;lt;sub&amp;gt;&amp;#039;&amp;#039;&amp;#039; HTML tags, which share the first two letters of their name with this template. This template uses the third letter of the name of these tags, &amp;#039;&amp;#039;&amp;#039;p&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;b&amp;#039;&amp;#039;&amp;#039;, as the name of the argument that drives the output of the top and bottom line, respectively.&lt;br /&gt;
&lt;br /&gt;
[[File:Nuvola apps important.svg|left|48px]] &amp;#039;&amp;#039;&amp;#039;Editors beware&amp;#039;&amp;#039;&amp;#039;: &amp;#039;&amp;#039;these templates use all kinds of hacky tricks to make the output render correctly in a wide variety of browsers. If you plan to make changes to this template, please make sure you verify that this template renders correctly after those changes in all major browsers. This list includes the latest version(s) of Chrome, FireFox, MSIE, Opera and Safari as well as any version of those browsers that is still in common use, such as MSIE 6.0 and 7.0!&amp;#039;&amp;#039;&lt;br /&gt;
{{clear left}}&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width:2em;&amp;quot;| {{para|p}} || The contents of the top line.&lt;br /&gt;
|-&lt;br /&gt;
| {{para|b|}}|| The contents of the bottom line.&lt;br /&gt;
|-&lt;br /&gt;
| {{para|a|}} || The alignment of both lines ({{para|a|r}}: right-aligned; {{para|a|c}}: center-aligned; default is left-aligned).&lt;br /&gt;
|-&lt;br /&gt;
| {{para|w|}} || The size of the characters ({{para|w|f}}: fixed-width (monospace), otherwise template inherits the current font and context by default).&lt;br /&gt;
|-&lt;br /&gt;
| {{para|lh|}} || The line height or distance from top to bottom (including top character). Default is 1.2em.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Note on fractions==&lt;br /&gt;
Usually, when using vulgar fractions it is MOS habit to use &amp;amp;amp;frasl; &amp;lt;code&amp;gt;&amp;amp;frasl;&amp;lt;/code&amp;gt; ([[MOS:FRAC]]) and {{tl|frac}}.&lt;br /&gt;
However, in &amp;amp;lt;sub&amp;gt; or &amp;amp;lt;sup&amp;gt; tags, best use the keyboard slash &amp;lt;code&amp;gt;/&amp;lt;/code&amp;gt; for readability in most browsers:&lt;br /&gt;
:X{{su|p=1&amp;amp;frasl;2|b=7&amp;amp;frasl;8}} (fraction slash) {{nay}}&lt;br /&gt;
and&lt;br /&gt;
:X{{su|p=1/2|b=7/8}} (keyboard slash) {{aye}}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
=== Simple ===&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;X{{su|p=a}}X{{su|b=b}}X{{su|p=a|b=b}}X&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: X{{su|p=a}}X{{su|b=b}}X{{su|p=a|b=b}}X&lt;br /&gt;
&lt;br /&gt;
=== Left-aligned {{nobold|(default)}} ===&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;X{{su|p=aaaaa|b=b}}X{{su|p=a|b=bbbbb}}X&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: X{{su|p=aaaaa|b=b}}X{{su|p=a|b=bbbbb}}X&lt;br /&gt;
&lt;br /&gt;
=== Right-aligned ===&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;X{{su|a=r|p=aaaaa|b=b}}X{{su|a=r|p=a|b=bbbbb}}X&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: X{{su|a=r|p=aaaaa|b=b}}X{{su|a=r|p=a|b=bbbbb}}X&lt;br /&gt;
&lt;br /&gt;
=== Center-aligned ===&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;X{{su|a=c|p=aaaaa|b=b}}X{{su|a=c|p=a|b=bbbbb}}X&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: X{{su|a=c|p=aaaaa|b=b}}X{{su|a=c|p=a|b=bbbbb}}X&lt;br /&gt;
&lt;br /&gt;
=== Smaller font ===&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{small|X{{su|p=a}}X{{su|b=b}}X{{su|p=a|b=b}}X}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: {{small|X{{su|p=a}}X{{su|b=b}}X{{su|p=a|b=b}}X}}&lt;br /&gt;
&lt;br /&gt;
=== Larger font ===&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{big|X{{su|p=a}}X{{su|b=b}}X{{su|p=a|b=b}}X}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: {{big|X{{su|p=a}}X{{su|b=b}}X{{su|p=a|b=b}}X}}&lt;br /&gt;
&lt;br /&gt;
=== Fixed-width ===&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;X{{su|p=...|b=www}}X{{su|w=f|p=...|b=www}}X&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: X{{su|p=...|b=www}}X{{su|w=f|p=...|b=www}}X&lt;br /&gt;
&lt;br /&gt;
=== Close-spacing ===&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{su|p=4|b=4}} {{su|lh=0.8em|p=4|b=4}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: {{su|p=4|b=4}} {{su|lh=0.8em|p=4|b=4}}&lt;br /&gt;
&lt;br /&gt;
== Line breaks ==&lt;br /&gt;
&lt;br /&gt;
Unlike &amp;lt;nowiki&amp;gt;&amp;lt;sup&amp;gt;&amp;lt;/nowiki&amp;gt; and &amp;lt;nowiki&amp;gt;&amp;lt;sub&amp;gt;&amp;lt;/nowiki&amp;gt; tags, this template does not prevent line breaks between the two small lines and the preceding text. Thus, if this template is used to supply a subscript and superscript over a base symbol, the whole structure has to be enclosed in a {{tl|nowrap}}, or this template should be invoked through another template that takes care of the wrapping in an appropriate way.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Example&amp;#039;&amp;#039;&amp;#039;: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{nowrap|X{{su|p=a|b=b}}}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;amp;nbsp;{{big|→}} {{nowrap|X{{su|p=a|b=b}}}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
{{Sup and sub-related templates}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other|&lt;br /&gt;
| &amp;lt;!--Categories below this line, please; interwikis to Wikidata.--&amp;gt;&lt;br /&gt;
[[Category:Superscript and subscript templates]]&lt;br /&gt;
[[Category:Mathematical formatting templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Caleb Cooper</name></author>
	</entry>
</feed>