Module:ShowMath/doc: Difference between revisions

From DRMF
Jump to navigation Jump to search
imported>Physikerwelt
No edit summary
imported>Plastikspork
TFD closed as no consensus (XFDcloser)
 
Line 1: Line 1:
{{replace|{{Template for discussion/dated|action=|page=ShowMath|link=Wikipedia:Templates for discussion/Log/2018 June 12#Module:ShowMath|bigbox=yes}}|template|module}}
{{replace||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 ==

Latest revision as of 01:47, 23 June 2018

Template:replace

Usage

{{#invoke:ShowMath|render|propertyID}} renders math from a wikidata entry {{#invoke:ShowMath|named|Page Title}} renders the defining formula for a wikipage

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}

List of named formulae

* {{#invoke:ShowMath|named|Pythagorean theorem}}
* {{#invoke:ShowMath|named|Euler's identity}}
* {{#invoke:ShowMath|named|Cauchy–Schwarz inequality}}
* {{#invoke:ShowMath|named|Minkowski inequality}}
  • Script error: No such module "ShowMath".
  • Script error: No such module "ShowMath".
  • Script error: No such module "ShowMath".
  • Script error: No such module "ShowMath".