Difference between revisions of "Template:THDay"
From Twilight Heroes Wiki
(New page: {{#ifexpr:(({{#time: H}} >= 4) and ({{#time: i}} >= 10) or ({{#time: H}} >= 5)) |{{#time: j F Y| {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} |{{#time: j F Y| {{CURRENTDAY}} {{CUR...) |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | {{#ifexpr:(({{#time: H}} >= 4) and ({{#time: i}} >= 10) or ({{#time: H}} >= 5)) | + | <includeonly>{{#ifexpr:(({{#time: H}} >= 4) and ({{#time: i}} >= 10) or ({{#time: H}} >= 5)) |
|{{#time: j F Y| {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} | |{{#time: j F Y| {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} | ||
|{{#time: j F Y| {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} -1 day}} | |{{#time: j F Y| {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} -1 day}} | ||
− | }} | + | }}</includeonly><noinclude>Returns the current date in Twilight. |
+ | |||
+ | ==Sample== | ||
+ | <b>Today is {{<nowiki></nowiki>THDay}}</b> returns:<br> | ||
+ | Today is {{THDay}}[[Category:Utility Templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 07:47, 22 February 2010
Returns the current date in Twilight.
Sample
Today is {{THDay}} returns:
Today is 22 November 2024