Template:Sfrac: Difference between revisions
From Vigyanwiki
Template>Crissov (use invisible plus sign (but not U+2064 yet), add ARIA role=math, add classes to prepare for Template:Frac/styles.css) |
Template>Izno (add sr-only) |
||
Line 1: | Line 1: | ||
{{ {{{|safesubst:}}}#invoke:Unsubst||$B=<span role="math" class="sfrac {{{class|}}} nowrap{{#if:{{{3|}}}|"><span class="int">{{{1}}}</span><span class="plus | {{ {{{|safesubst:}}}#invoke:Unsubst||$B=<templatestyles src="Screen reader-only/styles.css"/><span role="math" class="sfrac {{{class|}}} nowrap{{#if:{{{3|}}}|"><span class="int">{{{1}}}</span><span class="plus sr-only">+</span><span class="}} <!-- | ||
-->tion" style="display:inline-block; vertical-align:-0.5em; font-size:85%; text-align:center;"><!-- | -->tion" style="display:inline-block; vertical-align:-0.5em; font-size:85%; text-align:center;"><!-- | ||
--><span class="num" style="display:block; line-height:1em; margin:0 0.1em;">{{#if:{{{3|}}}|{{{2}}}|{{#if:{{{2|}}}|{{{1}}}|1}}}}</span><!-- | --><span class="num" style="display:block; line-height:1em; margin:0 0.1em;">{{#if:{{{3|}}}|{{{2}}}|{{#if:{{{2|}}}|{{{1}}}|1}}}}</span><!-- | ||
--><span class="slash | --><span class="slash sr-only">/</span><!-- | ||
--><span class="den" style="display:block; line-height:1em; margin:0 0.1em; border-top:1px solid;">{{{3|{{{2|{{{1|1}}}}}}}}}</span><!-- | --><span class="den" style="display:block; line-height:1em; margin:0 0.1em; border-top:1px solid;">{{{3|{{{2|{{{1|1}}}}}}}}}</span><!-- | ||
-->{{#if:{{{3|}}}|</span>}}<!-- | -->{{#if:{{{3|}}}|</span>}}<!-- |
Revision as of 00:55, 12 December 2020
Page Template:Screen reader-only/styles.css has no content.1/1
Template documentation
[create]