Template:Sfrac: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
(Creating fractional condition for use in inline HTML math expressions)
 
m (Taking out the trash)
 
Line 1: Line 1:
{{ {{{|safesubst:}}}#invoke:Unsubst||$B=<span class="sfrac nowrap"{{#if:{{{3|}}}|>{{{1}}}<span class="visualhide">&nbsp;</span><span}}<!--
<span class="sfrac nowrap" style="text-indent:0;"{{#if:{{{3|}}}|>{{{1}}}<span style="display:none;">&nbsp;</span><span}} <!--
-->style="display:inline-block; vertical-align:-0.5em; font-size:85%; text-align:center;"><!--
-->style="display:inline-block; vertical-align:{{{vertical-align|-0.5em}}}; font-size:{{{font-size|85%}}}; text-align:center;"><!--
--><span style="display:block; line-height:1em; margin:0 0.1em;">{{#if:{{{3|}}}|{{{2}}}|{{#if:{{{2|}}}|{{{1}}}|1}}}}</span><!--
--><span style="display:block; line-height:1em; padding:0 0.1em; text-indent:0;">{{#if:{{{3|}}}|{{{2}}}|{{#if:{{{2|}}}|{{{1}}}|1}}}}</span><!--
--><span class="visualhide">/</span><!--
--><span style="display:none;">/</span><!--
--><span style="display:block; line-height:1em; margin:0 0.1em; border-top:1px solid;">{{{3|{{{2|{{{1}}}}}}}}}</span><!--
--><span style="display:block; line-height:1em; padding:0 0.1em; border-top:1px solid; text-indent:0;">{{{3|{{{2|{{{1}}}}}}}}}</span><!--
-->{{#if:{{{3|}}}|</span>}}<!--
-->{{#if:{{{3|}}}|</span>}}<!--
--></span>}}
--></span>

Latest revision as of 22:15, 9 October 2017

1/{{{1}}}