Difference between revisions of "Template:THDay"

From Twilight Heroes Wiki
Jump to: navigation, search
(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...)
 
m (Added sample, description)
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}}

Revision as of 18:25, 17 November 2008

Returns the current date in Twilight.

Sample

Today is {{THDay}} returns:
Today is 22 November 2024