Difference between revisions of "Template:Calculator"
m (Protected "Template:Calculator" ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
m |
||
Line 13: | Line 13: | ||
|othernotes=This parameter, the template's only one, is an anonymous parameter, which means that no parameter name needs to be explicitly specified when using [[Template:Calculator]]. | |othernotes=This parameter, the template's only one, is an anonymous parameter, which means that no parameter name needs to be explicitly specified when using [[Template:Calculator]]. | ||
|validvalues=Any string that corresponds to an implemented JavaScript calculator. | |validvalues=Any string that corresponds to an implemented JavaScript calculator. | ||
− | }}</noinclude><includeonly><div id="{{{1}}}"></div></includeonly> | + | }}</noinclude><includeonly><div id="{{{1}}}"></div><noscript>'''You must have JavaScript enabled to use this feature.'''</noscript></includeonly> |
Revision as of 16:05, 16 February 2010
Contents
Template:Calculator is designed for use on equation-related pages to display an interactive JavaScript calculator.
Template
{{Calculator| }}
Parameters
1
- Usage: Mandatory
- Description: The 1 parameter takes a string denoting the ID of the calculator to display. This is used to generate the id property of the div tag that the JavaScript hooks onto. This parameter, the template's only one, is an anonymous parameter, which means that no parameter name needs to be explicitly specified when using Template:Calculator.
- Valid Value(s): Any string that corresponds to an implemented JavaScript calculator.