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)
No edit summary
Joe Beaudoin Jr. (talk | contribs)
wikitable id
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{JDtoGreg|{{#expr:{{{1}}}+{{{2|0.25}}}}}}}</includeonly><noinclude>
<includeonly>{{#if: {{{2|}}}
| {{JDtoGreg|{{#expr:{{{1}}}+{{{2}}}}}}}
| Error on call {{tl|dateahead}}: Parameter #2 ''must'' be specified.
}}</includeonly><noinclude>


<small>To update this refresh clock to the current time use: {{tlp|dateahead|{{#if:{{{2|}}}|{{JD}}&#124;{{{2}}}|{{JD}}}}}}</small>
; Days Ahead
* The value can be anything. Use the table below to figure out "Values".


{{dateahead|{{JD}}}}
{| class="wikitable sortable"
! Time Ahead
!
! Point Percentage
|-
! ~1 Day
|
| align="center" | 1.0
|-
! ~2 Day
|
| align="center" | 2.0
|-
! ~3 Day
|
| align="center" | 3.0
|-
! ~4 Day
|
| align="center" | 4.0
|-
! ~5 Day
|
| align="center" | 5.0
|-
! ~6 Day
|
| align="center" | 6.0
|}
 
{| class="wikitable sortable"
! Time Ahead
!
! Point Percentage
|-
! ~1 Hour
|
| align="center" | {{#expr: 1/24 round 2}}
|-
! ~2 Hour
|
| align="center" | {{#expr: 2/24 round 2}}
|-
! ~3 Hour
|
| align="center" | {{#expr: 3/24 round 2}}
|-
! ~4 Hour
|
| align="center" | {{#expr: 4/24 round 2}}
|-
! ~5 Hour
|
| align="center" | {{#expr: 5/24 round 2}}
|-
! 6 Hour
|
| align="center" | {{#expr: 6/24 round 2}}
|}
 
[[Category:Date/Time Related Templates|Dateahead]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
</noinclude>
</noinclude>

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