Template:Equation: Difference between revisions
Jump to navigation
Jump to search
m (Failed copy-paste job.) |
m (Text replacement - "class=("?)invert([^-])" to "class=$1invert-dark$2") |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<div class="equation" style="margin-left: 2em; display: inline-block;">[[File:{{{1|}}}|link=]]</div><noinclude> | <div class="equation" style="margin-left: 2em; display: inline-block;">[[File:{{{1|}}}|class=invert-dark|link=]]</div><noinclude> | ||
==Info== | ==Info== | ||
Line 7: | Line 7: | ||
[[Category:Inline templates]] | [[Category:Inline templates]] | ||
[[Category:Equations| ]] | [[Category:Equations| ]]</noinclude> | ||
</noinclude> |
Latest revision as of 13:12, May 20, 2024
[[File:|class=invert-dark|link=]]
Info
This template places an equation image on the page, inside a div. This div is necessary for alternate wiki themes, because the equation's text is normally black. The first and only parameter is the name of the image file.
For consistency's sake, all equation images should be equations written in LaTeX. Recommended website: CodeCog's editor.