Template:Fraction: Difference between revisions
From The Goon Show Depository
m (1 revision imported) |
en>Jonesey95 (readability per TPER) |
||
Line 1: | Line 1: | ||
<templatestyles src="Fraction/styles.css" /><span class="frac" | <templatestyles src="Fraction/styles.css" /><!-- | ||
--><span class="frac"><!-- | |||
-->{{#if:{{{3|}}}<!-- if 3 | |||
-->|{{{1}}}<span class="sr-only">+</span><span class="num">{{{2}}}</span>⁄<span class="den">{{{3}}}</span><!-- then 1 2/3 | -->|{{{1}}}<span class="sr-only">+</span><span class="num">{{{2}}}</span>⁄<span class="den">{{{3}}}</span><!-- then 1 2/3 | ||
-->|{{#if:{{{2|}}}<!-- elseif 2 | -->|{{#if:{{{2|}}}<!-- elseif 2 |