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: 8 17 AM
Seconds since 1/1/70 in Roma 1764404243
Cista opens at 1762668000 Cista closes at 1763222400
Magic: