Search results
Results from the WOW.Com Content Network
Create a button element that can affect a widget from Template:Calculator Template parameters [Edit template data] Parameter Description Type Status for for id of Calculator field that is the target of this button String required formula formula Formula to set the field from the for parameter to Example x+1 String required contents contents 1 Contents of the button Example Click here Content ...
No description. Template parameters [Edit template data] Parameter Description Type Status float float Float on the left or right of the page Suggested values left right none Default left Example right String optional caption caption Caption for calculator widget Content optional The above documentation is transcluded from Template:Calculator layout/doc. (edit | history) Editors can experiment ...
Add a calculator widget to the page. Like a spreadsheet you can refer to other widgets in the same page. Template parameters [Edit template data] Parameter Description Type Status id id The id for this input. This is used to reference it in formula of other calculator templates String required type type What type of input box Suggested values plain number text radio checkbox passthru hidden ...
Extra CSS classes to add to the button. If you want this styled like a button even when the gadget is disabled add "cdx-button cdx-button--fake-button cdx-button--fake-button--enabled" String: optional: type: type: Style of button. Default is "plain". The value of "default" means a codex default button, which is not the default of this template ...
Way to add a label to a form control from Template:Calculator. Adding labels using this template helps ensure calculators are accessible Template parameters Parameter Description Type Status 1 1 label Text for label Content required for for The id from the calculator template this label is for String required class class CSS class or classes to add to label String optional class-live class ...
Add a checkbox button for calculator gadget in codex style Template parameters Parameter Description Type Status codex-div-class codex-div-class additional css classes for outer wrapper String optional id id id value of calculator widget. Can be referenced by other calculator templates Unknown required style style CSS to style the checkbox button widget String optional formula formula Formula ...
Problems can occur because, for anything but the simplest calculation, in order to work out the value of a written formula, the user of a button-operated calculator is required to: Rearrange the formula so that the value can be calculated by pressing buttons one at a time, while taking operator precedence and parentheses into account.
Allow showing or hiding a page element based on a calculator formula Template parameters Parameter Description Type Status block block Whether to be a block (div) element or an inline (span) element Boolean optional class class Additional css classes String optional starthidden starthidden Have the text start off being not shown Boolean optional style style Additional CSS to add String ...