User:Plumtree/Infobox Interval: Difference between revisions

Plumtree (talk | contribs)
m \text{...} is wrapper is now added automatically
Plumtree (talk | contribs)
mNo edit summary
Line 56: Line 56:
| [[Comma]]
| [[Comma]]
| Comma
| Comma
| Pass a non-empty string (for example, <code>1</code>) to enable this entry. For specific values of '''Cents''', an interval is considered a comma. <math>(0; 3.5] \to</math> unnoticeable, <math>(3.5; 30] \to</math> small, <math>(30; 100] \to</math> medium, <math>(100; +∞) \to</math> large. If the interval is rational and is an integer power of another rational number, the entry is omitted.
| Pass a non-empty string (for example, <code>yes</code> or <code>1</code>) to enable this entry. For specific values of '''Cents''', an interval is considered a comma. <math>(0; 3.5] \to</math> unnoticeable, <math>(3.5; 30] \to</math> small, <math>(30; 100] \to</math> medium, <math>(100; +∞) \to</math> large. If the interval is rational and is an integer power of another rational number, the entry is omitted.
|-
|-
| Name
| Name
Line 111: Line 111:
</pre>
</pre>


Usage example for an irrational interval ([[Pitave]]):
Usage example for an irrational interval ([[Pitave]]), which is also considered to be a comma:
<pre>
<pre>
{{Infobox Interval
{{Infobox Interval
Line 117: Line 117:
| Cents = 1981.795
| Cents = 1981.795
| Name = pitave
| Name = pitave
| Comma = yes
}}
}}
</pre>
</pre>