Template:CistaIsOpen
From NovaRoma
(Difference between revisions)
m (Protected "Template:CistaIsOpen": so pleb tribs can operate notice [move=sysop]) |
(trying to make automatic magic) |
||
Line 1: | Line 1: | ||
− | <noinclude> | + | {{#switch: {{#expr: {{#time: U | +1 hours }} >= 1226210400 }} |1={{#switch: {{#expr: {{#time: U | +1 hours }} <= 1226764800 }} |1=1|}}|}}<noinclude> |
− | *not open, use | + | *If the cista is '''not open''', use nothing. |
− | *open, use anything | + | *If the cista is '''open''', use anything. The number "1" is suggested. |
− | [[Category:Template variables]]</noinclude> | + | [[Category:Template variables]] |
+ | |||
+ | Server time seems to be GMT | ||
+ | |||
+ | Time now in Roma: {{ #time: G i A| +1 hours }} | ||
+ | |||
+ | Seconds since 1/1/70 in Roma {{ #time: U | +1 hours }} | ||
+ | |||
+ | Cista opens at {{ #time: U |Nov 9 7:00 }} | ||
+ | Cista closes at {{ #time: U | Nov 15 17:00 }} | ||
+ | |||
+ | |||
+ | Magic: {{#switch: {{#expr: {{#time: U | +1 hours }} >= 1226210400 }} |1={{#switch: {{#expr: {{#time: U | +1 hours }} <= 1226764800 }} |1=1|}}|}} | ||
+ | |||
+ | |||
+ | |||
+ | </noinclude> |
Revision as of 09:48, 6 November 2008
- If the cista is not open, use nothing.
- If the cista is open, use anything. The number "1" is suggested.
Server time seems to be GMT
Time now in Roma: 7 51 AM
Seconds since 1/1/70 in Roma 1732434686
Cista opens at 1731132000 Cista closes at 1731686400
Magic: