Template:Fraction: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(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" /> |
+ | <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 |
Latest revision as of 19:33, 20 July 2024
⁄
File:Test Template Info-Icon - Version (2).svg Template documentation[create] [purge]