Difference between revisions of "Template:Frac"

From Self-sufficiency
Jump to: navigation, search
(adjust spacing per discussion on talk page)
 
m (1 revision imported)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<span class="frac">{{#if:{{{3|}}}
+
{{zwsp}}<!-- zero-width space; might be removable after introduction of RemexHTML --><span class="frac nowrap">{{#if:{{{3|}}}
  |{{{1}}}<sup>&nbsp;{{{2}}}</sup><sub>{{{3}}}</sub>
+
  |{{{1}}}<span class="visualhide">&nbsp;</span><sup>{{{2}}}</sup>&frasl;<sub>{{{3}}}</sub>
 
  |{{#if:{{{2|}}}
 
  |{{#if:{{{2|}}}
   |<sup>{{{1}}}</sup><sub>{{{2}}}</sub>
+
   |<sup>{{{1}}}</sup>&frasl;<sub>{{{2}}}</sub>
   |<sup>1</sup><sub>{{{1}}}</sub>
+
   |{{#if:{{{1|}}}
 +
  |<sup>1</sup>&frasl;<sub>{{{1}}}</sub>
 +
  |&frasl;
 +
  }}
 
  }}
 
  }}
 
}}</span><noinclude>
 
}}</span><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 20:57, 17 February 2018