Template:Gaps: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>A. di M.
having less space around the operator × than within its operands looks weird, and why should the hidden ^ be struck through?
meta>A. di M.
adding support for left-hand side and unit (experimental, will revert if doesn't work)
Line 1: Line 1:
<span style="white-space: nowrap">{{{1}}}<!--
<span style="white-space: nowrap">{{#if:{{{lhs|}}|{{{lhs}}}&#32;&#61;&#32;}}{{{1}}}<!--
-->{{#if:{{{2|}}}|<span style="margin-left: 0.25em">{{{2}}}</span>}}<!--
-->{{#if:{{{2|}}}|<span style="margin-left: 0.25em">{{{2}}}</span>}}<!--
-->{{#if:{{{3|}}}|<span style="margin-left: 0.25em">{{{3}}}</span>}}<!--
-->{{#if:{{{3|}}}|<span style="margin-left: 0.25em">{{{3}}}</span>}}<!--
Line 9: Line 9:
-->{{#if:{{{9|}}}|<span style="margin-left: 0.25em">{{{9}}}</span>}}<!--
-->{{#if:{{{9|}}}|<span style="margin-left: 0.25em">{{{9}}}</span>}}<!--
-->{{#if:{{{10|}}}|<span style="margin-left: 0.25em">{{{10}}}</span>}}<!--
-->{{#if:{{{10|}}}|<span style="margin-left: 0.25em">{{{10}}}</span>}}<!--
-->{{#if:{{{e|}}}|<span style="margin-left:0.27em">×<span style="margin-left:0.27em">{{{base|10}}}</span></span><span style="display:none">^</span><sup>{{#ifeq:{{#expr:{{{e}}}<0}}|1|−{{#expr:-{{{e}}}}}|{{{e}}}}}</sup>}}</span><!--
-->{{#if:{{{e|}}}|<span style="margin-left: 0.27em; margin-right: 0.27em">×</span>{{{base|10}}}<span style="display:none">^</span><sup>{{#ifeq:{{#expr:{{{e}}}<0}}|1|−{{#expr:-{{{e}}}}}|{{{e}}}}}</sup>}}<!--
-->{{#if:{{{u|}}}|&#32;{{{u}}}}}</span><!--
--><noinclude>
--><noinclude>



Revision as of 11:44, 22 March 2009

{{{lhs}}} = {{{1}}}