Actions

Frac

Difference between revisions of "Frac"

Line 3: Line 3:
 
It should be called in the following format:
 
It should be called in the following format:
 
<pre>
 
<pre>
{{frac|numerator|denominator|multiplier|prequel}}
+
{{frac|numerator|denominator|multiplier}}
 
</pre>  
 
</pre>  
 
</noinclude><includeonly>
 
</noinclude><includeonly>
{{{4}}}<table class="orfrac" style="width:initial; padding: 0; white-space: nowrap; display:inline-block; margin-bottom:0; background: inherit;">
+
<table class="orfrac" style="width:initial; padding: 0; white-space: nowrap; display:inline-block; margin-bottom:0; background: inherit;">
 
   <tr style="background: transparent;">
 
   <tr style="background: transparent;">
 
     <td style="border-bottom: 1px solid #696969; padding: 0; text-align: center;">{{{1}}}</td>
 
     <td style="border-bottom: 1px solid #696969; padding: 0; text-align: center;">{{{1}}}</td>

Revision as of 18:18, 18 November 2021

This is the "fraction" template. It should be called in the following format:

{{frac|numerator|denominator|multiplier}}