Difference between revisions of "Template:Interval"

From Second Life Wiki
Jump to navigation Jump to search
m (Thanks Khepri for dreaming this evil hack up, it's just what i needed.)
m (oops ~_~)
Line 1: Line 1:
{{#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={{{gt}}}|gte={{{gte|}}}|lt={{{lt}}}|lte={{{lte|}}}|center={{{center|value}}}}}}}<noinclude>
{{#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>


*{{Interval|gte=0.0|lt='''mag'''|lth=mag|center=return}}
*{{Interval|gte=0.0|lt='''mag'''|lth=mag|center=return}}

Revision as of 11:03, 9 February 2011

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