Editing Template:Dateahead
Template page
More actions
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| 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|{{tls|JDOUTPUT}}|''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". | ||
{| | {| | ||
! Time Ahead | ! Time Ahead | ||
! | ! | ||
| Line 37: | Line 38: | ||
|} | |} | ||
{| | |||
{| | |||
! Time Ahead | ! Time Ahead | ||
! | ! | ||
| Line 44: | Line 46: | ||
! ~1 Hour | ! ~1 Hour | ||
| | | | ||
| align="center" | {{#expr: 1/24 | | align="center" | {{rounddown|{{#expr:1/24}}|2}} | ||
|- | |- | ||
! ~2 Hour | ! ~2 Hour | ||
| | | | ||
| align="center" | {{#expr: 2/24 | | align="center" | {{rounddown|{{#expr:2/24}}|2}} | ||
|- | |- | ||
! ~3 Hour | ! ~3 Hour | ||
| | | | ||
| align="center" | {{#expr: 3/24 | | align="center" | {{rounddown|{{#expr:3/24}}|2}} | ||
|- | |- | ||
! ~4 Hour | ! ~4 Hour | ||
| | | | ||
| align="center" | {{#expr: 4/24 | | align="center" | {{rounddown|{{#expr:4/24}}|2}} | ||
|- | |- | ||
! ~5 Hour | ! ~5 Hour | ||
| | | | ||
| align="center" | {{#expr: 5/24 | | align="center" | {{rounddown|{{#expr:5/24}}|2}} | ||
|- | |- | ||
! 6 Hour | ! 6 Hour | ||
| | | | ||
| align="center" | {{#expr: 6/24 | | align="center" | {{rounddown|{{#expr:6/24}}|2}} | ||
|} | |} | ||
[[Category:Templates using ParserFunctions]] | |||
[[Category:Templates using ParserFunctions | |||
</noinclude> | </noinclude> | ||