Difference between revisions of "Template:Interval"

From Second Life Wiki
Jump to navigation Jump to search
m
 
(8 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}}
*{{Interval|gte=0.0|lt='''mag'''|lth=mag|center=return}}
 
*{{Interval|lte=0.0|gt='''mag'''|gth=mag|center=return}}
}}}}{{HoverText|{{#if:{{{gte|}}}|<nowiki>[</nowiki>{{{gte|}}}|({{{gt}}}}}, {{#if:{{{lte|}}}|{{{lte|}}}<nowiki>]</nowiki>|{{{lt}}})}}|{{#if:{{{gte|}}}|{{{gteh|{{{gte|}}}}}} ≤|{{{gth|{{{gt}}}}}} &lt;}}&#32;{{{center|value}}}&#32;{{#if:{{{lte|}}}|≤ {{{lteh|{{{lte|}}}}}}|&lt; {{{lth|{{{lt}}}}}}}}}}<noinclude>


Parameters:
Parameters:
Line 32: 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 08: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}}}