Gadgets: Difference between revisions

change alignment of the WikEd table
Add calculator gadget examples
 
Line 43: Line 43:
# Add the gadget to the [[MediaWiki:Gadgets-definition|gadgets-definition page]]
# Add the gadget to the [[MediaWiki:Gadgets-definition|gadgets-definition page]]
## E.g. <tt>https://freephile.org/wiki/MediaWiki:Gadgets-definition</tt>
## E.g. <tt>https://freephile.org/wiki/MediaWiki:Gadgets-definition</tt>
== Examples ==
The '''calculator''' gadget ([https://en.wikipedia.org/wiki/MediaWiki:Gadget-calculator.js implemented in javascript] and exposed via a [https://en.wikipedia.org/wiki/Template:Calculator template]) is versatile and powerful - including many math functions.
See [https://en.wikipedia.org/wiki/Template:Calculator/doc/examples examples in the docs] and Bryan Damon's
[https://en.wikipedia.org/wiki/User:Bryandamon/Calculator_demos Calculator demos] that riff on Brian Wolff's (author) demos - which can be found via the [https://en.wikipedia.org/wiki/Category:Pages_using_gadget_Calculator category page]. {{@todo}} implement the gadget on this wiki.


[[Category:Wiki]]
[[Category:Wiki]]
[[Category:JavaScript]]
[[Category:JavaScript]]