Module:ShowMath/doc: Difference between revisions

From DRMF
Jump to navigation Jump to search
imported>Physikerwelt
No edit summary
imported>Physikerwelt
Line 5: Line 5:
<code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|render|propertyID}}</code> renders math from a wikidata entry
<code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|render|propertyID}}</code> renders math from a wikidata entry
== Testing ==
== Testing ==
=== Testing spouse ===
Copy and paste the following into any article and preview it (please don't save!):
Copy and paste the following into any article and preview it (please don't save!):
<pre>
<pre>

Revision as of 19:55, 13 March 2017

Template:ombox

Usage

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

Testing

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}