Module:ShowMath/doc: Difference between revisions

From DRMF
Jump to navigation Jump to search
imported>Pppery
Tfd tag
imported>Plastikspork
Relisted
Line 1: Line 1:
{{replace|{{Template for discussion/dated|action=|page=ShowMath|link=Wikipedia:Templates for discussion/Log/2018 June 4#Module:ShowMath|bigbox=yes}}|template|module}}
{{replace|{{Template for discussion/dated|action=|page=ShowMath|link=Wikipedia:Templates for discussion/Log/2018 June 12#Module:ShowMath|bigbox=yes}}|template|module}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
== Usage ==
== Usage ==

Revision as of 04:20, 12 June 2018

Template:replace

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}