Difference between revisions of "Template:Calculator"

m
m (We apparently don't have <noscript> tags enabled. Oh well.)
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><noscript>'''You must have JavaScript enabled to use this feature.'''</noscript></includeonly>
+
}}</noinclude><includeonly><div id="{{{1}}}"></div></includeonly>

Revision as of 16:06, 16 February 2010

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.