Difference between revisions of "Template:Interval"

From Second Life Wiki
Jump to navigation Jump to search
m
m
 
(15 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{HoverText|{{#if:{{{lte|}}}|<nowiki>[</nowiki>{{{lte|}}}|({{{lt}}}}}, {{#if:{{{gte|}}}|{{{gte|}}}<nowiki>]</nowiki>|{{{gt}}})}}|{{#if:{{{lte|}}}|{{{lte|}}} |{{{lt}}} &lt;}}&#32;{{{center}}}&#32;{{#if:{{{gte|}}}|{{{gte|}}}|&lt; {{{gt}}}}}}}
{{#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|lte=0.0|gt='''mag'''|gth=mag|center=return}}
 
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}}}
|}
 
</noinclude>

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}}}