Template:Sfrac: Difference between revisions
From Vigyanwiki
Template>Graham87 (make it so the fraction will be read out properly by screen reders using techniques described at http://webaim.org/techniques/css/invisiblecontent/ ... this shouldn't affect the way the template displays for sighted users but if it does, scream :-)) |
m (24 revisions imported from alpha:Template:Sfrac) |
||
(16 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
<span 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"><!-- | ||
--><span | --><span class="num">{{#if:{{{3|}}}|{{{2}}}|{{#if:{{{2|}}}|{{{1}}}|1}}}}</span><!-- | ||
--><span | --><span class="sr-only">/</span><!-- | ||
--><span | --><span class="den">{{{3|{{{2|{{{1|1}}}}}}}}}</span><!-- | ||
-->{{#if:{{{3|}}}|</span>}}<!-- | -->{{#if:{{{3|}}}|</span>}}<!-- | ||
--></span><noinclude> | --></span>}}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
<!-- PLEASE ADD CATEGORIES | <!-- PLEASE ADD CATEGORIES TO /doc SUBPAGE - NOT HERE.--> | ||
</noinclude> | </noinclude> |
Latest revision as of 09:28, 13 December 2022
1/1
Template documentation
[create]