Difference between revisions of "Template:Interval"

From Second Life Wiki
Jump to navigation Jump to search
m
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{#if:{{#var:fnu_interval}}||{{#if:
{{#ifeq:{{Template:Interval/Footnote{{#var:lang}}}}|[[Template:Interval/Footnote{{#var:lang}}]]|{{#if:{{Interval/Footnote}}}}}}{{HoverText|{{Interval/Text|gt={{{gt}}}|gte={{{gte|}}}|lt={{{lt}}}|lte={{{lte|}}}|center={{{center|value}}}}}|{{Interval/Text2|gt={{{gth|{{{gt}}}}}}|gte={{{gteh|{{{gte|}}}}}}|lt={{{lth|{{{lt}}}}}}|lte={{{lteh|{{{lte|}}}}}}|center={{{center|value}}}}}}}<noinclude>
 
{{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|gt={{{gt}}}|gte={{{gte|}}}|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|gte=0.0|lt='''mag'''|lth=mag|center=return}}
Line 35: Line 31:
|-
|-
| {{{lth}}}
| {{{lth}}}
| Less than or equal to value for the hovertip, defaults to {{{lt}}}
| Less than value for the hovertip, defaults to {{{lt}}}
|-
|-
| {{{lteh}}}
| {{{lteh}}}

Latest revision as of 09:49, 20 August 2012

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

  • [0.0, mag)
  • (mag, 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 value for the hovertip, defaults to {{{lt}}}
{{{lteh}}} Less than or equal to value for the hovertip, defaults to {{{lte}}}