Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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": {
  "label": "leftmost part",
    "1": {
  "description": "Denominator if only parameter supplied. Numerator if 2 parameters supplied. Integer if 3 parameters supplied. If no parameter is specified the template will render a fraction slash only.",
      "label": "1st part from left",
  "type": "string/line",
      "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.",
  "required": false
      "type": "string",
},
      "required": false
"2": {
    },
  "label": "middle-right part",
    "2": {
  "description": "Denominator if 2 parameters supplied. Numerator if 3 parameters supplied.",
      "label": "2nd part from left",
  "inherits": "1"
      "description": "Denominator if two parameters supplied. Numerator if three parameters supplied.",
},
      "type": "string",
"3": {
      "required": false
  "label": "rightmost part",
    },
  "description": "Denominator, always.",
    "3": {
  "inherits": "1"
      "label": "3rd part from left",
      "description": "Denominator, always.",
      "type": "string",
      "required": false
    }
  }
}
}
}}</templatedata>
</templatedata>


== See also ==
== See also ==
Please note that all contributions to skyHow are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) (see skyHow:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)