Template:Infobox interval/doc: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) m Remove extraneous nowiki tag |
||
Line 4: | Line 4: | ||
* Small ratios: <code>{{((}}Infobox Interval{{))}}</code> (the ratio is inferred from page name), <code>{{((}}Infobox Interval{{!}}7/4{{))}}</code>, <code>{{((}}Infobox Interval{{!}}Ratio=7/4{{))}}</code>. | * Small ratios: <code>{{((}}Infobox Interval{{))}}</code> (the ratio is inferred from page name), <code>{{((}}Infobox Interval{{!}}7/4{{))}}</code>, <code>{{((}}Infobox Interval{{!}}Ratio=7/4{{))}}</code>. | ||
** When use this form? In most cases, whenever both numerator and denominator of the ratio are small enough to fit within Lua numbers as integers. You should not encounter any problems with integers up to {{nowrap|2<sup>32</sup> − 1}}, and you might happen to not encounter any problems when those are 2<sup>53</sup>. With larger numbers, you are almost guaranteed to get inaccurate results. | ** When use this form? In most cases, whenever both numerator and denominator of the ratio are small enough to fit within Lua numbers as integers. You should not encounter any problems with integers up to {{nowrap|2<sup>32</sup> − 1}}, and you might happen to not encounter any problems when those are 2<sup>53</sup>. With larger numbers, you are almost guaranteed to get inaccurate results. | ||
* Large ratios: <code>{{((}}Infobox Interval{{!}}Ket=-2 0 0 1}} | * Large ratios: <code>{{((}}Infobox Interval{{!}}Ket=-2 0 0 1}}</code>, <code>{{((}}Infobox Interval{{!}}Monzo=-2 0 0 1{{))}}</code>. | ||
** In this form, '''Ratio''' (unless you specify it explicitly, in which case it will be printed as is) and most norms are omitted. | ** In this form, '''Ratio''' (unless you specify it explicitly, in which case it will be printed as is) and most norms are omitted. | ||
** When use this form? Whenever numerator or denominator are too large. | ** When use this form? Whenever numerator or denominator are too large. | ||
Line 49: | Line 49: | ||
| Name | | Name | ||
| Name | | Name | ||
| Name(s) of the interval. Pages with missing values go into [[:Category:Todo:add interval name]]. You should not put any <nowiki> | | Name(s) of the interval. Pages with missing values go into [[:Category:Todo:add interval name]]. You should not put any <code><<nowiki />br /></code> tags between names here; it will be done automatically. | ||
|- | |- | ||
| [[Kite's color notation|Color name]] | | [[Kite's color notation|Color name]] |