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 20: | Line 20: | ||
== Parameters == | == Parameters == | ||
<templatedata>{ | <templatedata> | ||
"description": "A template for displaying common fractions of the form int+num/den nicely. It supports 0–3 anonymous parameters with positional meaning.", | { | ||
"params": { | "description": "A template for displaying common fractions of the form int+num/den nicely. It supports 0–3 anonymous parameters with positional meaning.", | ||
"1": { | "params": { | ||
"1": { | |||
"label": "1st part from left", | |||
"description": "Denominator if only parameter supplied. Numerator if two parameters supplied. Integer if three parameters supplied. If no parameter is specified the template will render a fraction slash only.", | |||
"type": "string", | |||
}, | "required": false | ||
"2": { | }, | ||
"2": { | |||
"label": "2nd part from left", | |||
"description": "Denominator if two parameters supplied. Numerator if three parameters supplied.", | |||
}, | "type": "string", | ||
"3": { | "required": false | ||
}, | |||
"3": { | |||
"label": "3rd part from left", | |||
"description": "Denominator, always.", | |||
"type": "string", | |||
"required": false | |||
} | |||
} | |||
} | } | ||
</templatedata> | |||
== See also == | == See also == |