Template:EquationRef
From AWF-Wiki
(Difference between revisions)
Line 9: | Line 9: | ||
<td>${{{equation}}}$</td> <!-- Equation goes here --> | <td>${{{equation}}}$</td> <!-- Equation goes here --> | ||
<td {{#ifeq:{{{noid}}}|noid||id="math_{{{1}}}"}} class="reference plainlinksneverexpand" style="font-weight: bold; font-style: italic">{{#if: {{{2| }}}|[[#equation_{{{1}}}|{{{2}}}]]|[[#equation_{{{1}}}|{{{1}}}]]}}</td> <!-- This is the "EquationRef" code chunk taken from wikipedia --> | <td {{#ifeq:{{{noid}}}|noid||id="math_{{{1}}}"}} class="reference plainlinksneverexpand" style="font-weight: bold; font-style: italic">{{#if: {{{2| }}}|[[#equation_{{{1}}}|{{{2}}}]]|[[#equation_{{{1}}}|{{{1}}}]]}}</td> <!-- This is the "EquationRef" code chunk taken from wikipedia --> | ||
− | <tr> | + | </tr> |
</table> | </table> | ||
</div> | </div> | ||
</includeonly> | </includeonly> |
Revision as of 17:26, 23 May 2014
Taken from the template of the same name from Wikipedia.
Usage: {{EquationRef|<number>}}. For number
simply insert the equation number.
Referencing can be done with EquationNote