Template:Fraction: Difference between revisions

From The Goon Show Depository

en>Izno
(use TemplateStyles for all fraction, not just sr implementation)
 
m (1 revision imported)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<templatestyles src="Fraction/styles.css" /><span class="frac" role="math">{{#if:{{{3|}}}<!-- if 3
<templatestyles src="Fraction/styles.css" /><!--
--><span class="frac"><!--
-->{{#if:{{{3|}}}<!-- if 3
   -->|{{{1}}}<span class="sr-only">+</span><span class="num">{{{2}}}</span>&frasl;<span class="den">{{{3}}}</span><!-- then 1 2/3
   -->|{{{1}}}<span class="sr-only">+</span><span class="num">{{{2}}}</span>&frasl;<span class="den">{{{3}}}</span><!-- then 1 2/3
   -->|{{#if:{{{2|}}}<!-- elseif 2
   -->|{{#if:{{{2|}}}<!-- elseif 2

Latest revision as of 11:27, 13 July 2024