Module:ShowMath/doc: Difference between revisions

From DRMF
Jump to navigation Jump to search
imported>Physikerwelt
imported>Physikerwelt
No edit summary
Line 10: Line 10:
* - {{#invoke:ShowMath|render|P2534|}}
* - {{#invoke:ShowMath|render|P2534|}}
</pre>
</pre>
In [[Pythagorean theorem]] you should get:
* - <math>c^2=a^2+b^2</math>
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories below this line, please; interwikis at Wikidata -->
<!-- Categories below this line, please; interwikis at Wikidata -->


}}</includeonly>
}}</includeonly>

Revision as of 19:55, 13 March 2017

Template:ombox

Usage

{{#invoke:ShowMath|render|propertyID}} renders math from a wikidata entry

Testing

Testing spouse

Copy and paste the following into any article and preview it (please don't save!):

* - {{#invoke:ShowMath|render|P2534|}}

In Pythagorean theorem you should get:

  • - Failed to parse (LaTeXML (experimental; uses MathML): Invalid response ("") from server "http://latexml:8080/convert/":): {\displaystyle c^2=a^2+b^2}