Difference between revisions of "Template:Interval"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 3: Line 3:
{{Footnote|The ranges in this article are written in [http://en.wikipedia.org/wiki/Interval_(mathematics)#Notations_for_intervals Interval Notation].|The ranges in this article are written in Interval Notation.|handle=interval}}
{{Footnote|The ranges in this article are written in [http://en.wikipedia.org/wiki/Interval_(mathematics)#Notations_for_intervals Interval Notation].|The ranges in this article are written in Interval Notation.|handle=interval}}


}}}}{{HoverText|{{Interval/Text|{{#if:{{{gt|}}}|gt={{{gt}}}}}|gte={{{gte|}}}|{{#if:{{{lt|}}}|lt={{{lt}}}}}|lte={{{lte|}}}}}|{{#if:{{{gte|}}}|{{{gteh|{{{gte|}}}}}} ≤|{{{gth|{{{gt}}}}}} &lt;}}&#32;{{{center|value}}}&#32;{{#if:{{{lte|}}}|≤ {{{lteh|{{{lte|}}}}}}|&lt; {{{lth|{{{lt}}}}}}}}}}<noinclude>
}}}}{{HoverText|{{Interval/Text|{{#if:{{{gt|}}}gt={{{gt}}}}}|gte={{{gte|}}}|{{#if:{{{lt|}}}lt={{{lt}}}}}|lte={{{lte|}}}}}|{{#if:{{{gte|}}}|{{{gteh|{{{gte|}}}}}} ≤|{{{gth|{{{gt}}}}}} &lt;}}&#32;{{{center|value}}}&#32;{{#if:{{{lte|}}}|≤ {{{lteh|{{{lte|}}}}}}|&lt; {{{lth|{{{lt}}}}}}}}}}<noinclude>
 
*{{Interval|gte=0.0|lt='''mag'''|lth=mag|center=return}}
*{{Interval|lte=0.0|gt='''mag'''|gth=mag|center=return}}


Parameters:
Parameters:

Revision as of 12:40, 29 March 2010

({{{gt}}}, {{{lt}}})

  • [0.0, {{{lt}}})
  • ({{{gt}}}, 0.0]

Parameters:

Parameter Description
{{{gt}}} Value is greater than this
{{{gte}}} Value is greater than or equal to this
{{{lt}}} Value is less than this
{{{lte}}} Value is less than or equal to this
{{{center}}} Center value in the hovertip
{{{gth}}} Greater than value in the hovertip, defaults to {{{gt}}}
{{{gteh}}} Greater than or equal to value for the hovertip, defaults to {{{gte}}}
{{{lth}}} Less than or equal to value for the hovertip, defaults to {{{lt}}}
{{{lteh}}} Less than or equal to value for the hovertip, defaults to {{{lte}}}