<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://wiki.statsape.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E6%9D%BF%3ASu%2Fdoc</id>
	<title>模板:Su/doc - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.statsape.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E6%9D%BF%3ASu%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.statsape.com/index.php?title=%E6%A8%A1%E6%9D%BF:Su/doc&amp;action=history"/>
	<updated>2026-11-10T15:54:16Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>https://wiki.statsape.com/index.php?title=%E6%A8%A1%E6%9D%BF:Su/doc&amp;diff=4308&amp;oldid=prev</id>
		<title>Zeroclanzhang：​创建页面，内容为“{{Documentation subpage}} {{High-use}} {{COinS safe|n}} {{lua|Module:Su}} &lt;!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --&gt;  == Purpose ==  Template for creating two smaller lines of text on one actual line, this can be used for scientific notations of uncertainty and physics symbols, such as nuclides and particles.  It was named after the &#039;&#039;&#039;&amp;lt;sup&gt;…”</title>
		<link rel="alternate" type="text/html" href="https://wiki.statsape.com/index.php?title=%E6%A8%A1%E6%9D%BF:Su/doc&amp;diff=4308&amp;oldid=prev"/>
		<updated>2024-01-16T10:24:16Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“{{Documentation subpage}} {{High-use}} {{COinS safe|n}} {{lua|Module:Su}} &amp;lt;!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --&amp;gt;  == Purpose ==  Template for creating two smaller lines of text on one actual line, this can be used for &lt;a href=&quot;/index.php?title=%E6%A8%A1%E6%9D%BF:Val&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;模板:Val（页面不存在）&quot;&gt;scientific notations of uncertainty&lt;/a&gt; and &lt;a href=&quot;/index.php?title=%E6%A8%A1%E6%9D%BF:PhysicsParticle&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;模板:PhysicsParticle（页面不存在）&quot;&gt;physics&lt;/a&gt; symbols, such as &lt;a href=&quot;/index.php?title=%E5%88%86%E7%B1%BB:Nuclide_templates&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;分类:Nuclide templates（页面不存在）&quot;&gt;nuclides&lt;/a&gt; and &lt;a href=&quot;/index.php?title=%E6%A8%A1%E6%9D%BF:SubatomicParticle&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;模板:SubatomicParticle（页面不存在）&quot;&gt;particles&lt;/a&gt;.  It was named after the &amp;#039;&amp;#039;&amp;#039;&amp;lt;sup&amp;gt;…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
{{High-use}}&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, and Safari.&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;
| {{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}} {{su|p=a|b=b}}X {{su|p=a|b=b}}X{{su|p=c|b=d}}&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}} {{su|p=a|b=b}}X {{su|p=a|b=b}}X{{su|p=c|b=d}}&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=aaaaa|b=b}}Y X{{su|p=a|b=bbbbb}} {{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=aaaaa|b=b}}Y X{{su|p=a|b=bbbbb}} {{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;
: {{large|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;{{large|→}} {{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;
{{Math templates |notation}}&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>Zeroclanzhang</name></author>
	</entry>
</feed>