Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Dateahead: Difference between revisions

Template page
Shane (talk | contribs)
m +cat
Joe Beaudoin Jr. (talk | contribs)
wikitable id
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
| Error on call {{tl|dateahead}}: Parameter #2 ''must'' be specified.
| Error on call {{tl|dateahead}}: Parameter #2 ''must'' be specified.
}}</includeonly><noinclude>
}}</includeonly><noinclude>
* Syntax: {{tlp|dateahead|{{tlsp|JDOUTPUT|{{tl|JD}}}}|''How many days ahead...''}}


; Days Ahead
; Days Ahead
* The value can be anything. Use the table below to figure out "Values".
* The value can be anything. Use the table below to figure out "Values".


{|
{| class="wikitable sortable"
! Time Ahead
! Time Ahead
!
!
Line 38: Line 37:
|}
|}


 
{| class="wikitable sortable"
{|
! Time Ahead
! Time Ahead
!
!
Line 46: Line 44:
! ~1 Hour
! ~1 Hour
|
|
| align="center" | {{rounddown|{{#expr:1/24}}|2}}
| align="center" | {{#expr: 1/24 round 2}}
|-
|-
! ~2 Hour
! ~2 Hour
|
|
| align="center" | {{rounddown|{{#expr:2/24}}|2}}
| align="center" | {{#expr: 2/24 round 2}}
|-
|-
! ~3 Hour
! ~3 Hour
|
|
| align="center" | {{rounddown|{{#expr:3/24}}|2}}
| align="center" | {{#expr: 3/24 round 2}}
|-
|-
! ~4 Hour
! ~4 Hour
|
|
| align="center" | {{rounddown|{{#expr:4/24}}|2}}
| align="center" | {{#expr: 4/24 round 2}}
|-
|-
! ~5 Hour
! ~5 Hour
|
|
| align="center" | {{rounddown|{{#expr:5/24}}|2}}
| align="center" | {{#expr: 5/24 round 2}}
|-
|-
! 6 Hour
! 6 Hour
|
|
| align="center" | {{rounddown|{{#expr:6/24}}|2}}
| align="center" | {{#expr: 6/24 round 2}}
|}
|}



Latest revision as of 05:53, 9 January 2021


Days Ahead
  • The value can be anything. Use the table below to figure out "Values".
Time Ahead Point Percentage
~1 Day 1.0
~2 Day 2.0
~3 Day 3.0
~4 Day 4.0
~5 Day 5.0
~6 Day 6.0
Time Ahead Point Percentage
~1 Hour 0.04
~2 Hour 0.08
~3 Hour 0.13
~4 Hour 0.17
~5 Hour 0.21
6 Hour 0.25