Difference between revisions of "Template:Sfrac"
Jump to navigation
Jump to search
Template documentation[create]
Wikpedia>Crissov (use invisible plus sign (but not U+2064 yet), add ARIA role=math, add classes to prepare for Template:Frac/styles.css) |
Joelmartin (talk | contribs) m (1 revision imported) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ {{{|safesubst:}}}#invoke:Unsubst||$B=<span role="math" class="sfrac | + | {{ {{{|safesubst:}}}#invoke:Unsubst||$B=<templatestyles src="Sfrac/styles.css" /><span role="math" class="sfrac {{#if:{{{3|}}}|">{{{1}}}<span class="sr-only">+</span><span class="}}<!-- |
− | -->tion | + | -->tion"><!-- |
− | --><span class="num | + | --><span class="num">{{#if:{{{3|}}}|{{{2}}}|{{#if:{{{2|}}}|{{{1}}}|1}}}}</span><!-- |
− | --><span class=" | + | --><span class="sr-only">/</span><!-- |
− | --><span class="den | + | --><span class="den">{{{3|{{{2|{{{1|1}}}}}}}}}</span><!-- |
-->{{#if:{{{3|}}}|</span>}}<!-- | -->{{#if:{{{3|}}}|</span>}}<!-- | ||
--></span>}}<noinclude> | --></span>}}<noinclude> |
Latest revision as of 18:25, 6 May 2021
1/1
![](https://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/50px-Test_Template_Info-Icon_-_Version_%282%29.svg.png)