Difference between revisions of "Template:Interval"

From Second Life Wiki
Jump to navigation Jump to search
m
m
 
(12 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{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}}}}}}}}}}
{{#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 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}}}