Editing Template:Form calculator field/doc
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{documentation}} |
{{documentation}} |
||
This template is for creating form calculators in a standardised way, used with [[Template:Form calculator]]. This implements the syntax of [[ |
This template is for creating form calculators in a standardised way, used with [[Template:Form calculator]]. This implements the syntax of [[RuneScape:Calculators/Form calculators]] as a template. |
||
==Usage== |
==Usage== |
||
Line 94: | Line 94: | ||
"label": "Default Value", |
"label": "Default Value", |
||
"description": "The default value for the parameter in the form. This is pre-filled into the form when loaded.", |
"description": "The default value for the parameter in the form. This is pre-filled into the form when loaded.", |
||
"default": "\n; string, article : Defaults to empty.\n; number, int : Defaults to empty. Should respect the range given.\n; select, buttonselect, combobox : One of the options given in the range.\n; check : Unticked by default. Will be ticked by default if defined as “true” or the same as “value if true” in the range.\n; fixed, hidden, semihidden : Can't be changed away from.\n", |
"default": "\n; string, article : Defaults to empty.\n; number, int : Defaults to empty. Should respect the range given.\n; select, buttonselect, combobox : One of the options given in the range.\n; check : Unticked by default. Will be ticked by default if defined as “true” or the same as “value if true” in the range.\n; hs, rsn : If left blank, tries to use the RuneScape name entered elsewhere on the wiki.\n; fixed, hidden, semihidden : Can't be changed away from.\n", |
||
"type": "string" |
"type": "string" |
||
}, |
}, |