Template:Equation: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Text replacement - "class=("?)invert([^-])" to "class=$1invert-dark$2") |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<div class="equation" style="margin-left: 2em;">[[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== | ||
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. | 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. | ||
[[Category:Inline templates]]</noinclude> | For consistency's sake, all equation images should be equations written in [[wikipedia:LaTeX|LaTeX]]. Recommended website: [http://www.codecogs.com/latex/eqneditor.php CodeCog's editor]. | ||
[[Category:Inline templates]] | |||
[[Category:Equations| ]]</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.