Difference between revisions of "Template:Log.dpl"
From From The Ashes Wiki
Line 1: | Line 1: | ||
− | {{#dplvar:set|checkIt|{{uc:{{{1}}}}}}}{{#ifeq:{{#dplvar:checkIt}}|DATE|{{#dplvar:set|useDates|true}}|}} | + | {{#dplvar:set|checkIt|{{uc:{{{1}}}}}}}{{#ifeq:{{#dplvar:checkIt}}|DATE|{{#dplvar:set|useDates|true}}|}}style="display:none"|{{#time:U|{{{date|{{#if:{{#vardefineecho:logdate|{{#regex:{{{%TITLE%}}}|/: .+$/|}}}}|{{#vardefineecho:datefromname|{{#regex:{{#regex:{{#regex:{{#var:logdate}}|/^(\d)[-\/]/|0$1-}}|/[-\/](\d)[-\/]/|-0$1-}}|/-/|/}}}}|now}}}}}}}||{{#ifeq:{{#dplvar:useDates}}|true|class="colon"|style="display:none;"}}|{{{date|{{#if:{{#var:logdate|{{#var:datefromname}}|??/??/????}}}}}}}||class="logtime"|{{{time|00:00 EST}}}||{{#ifeq:{{#dplvar:useDates}}|true||* }}[[{{{%PAGE%}}}|{{#regex:{{{%TITLE%}}}|/^\d.*?-\d.*?-\d.*?: /|}}]] |
Revision as of 00:05, 9 December 2017
style="display:none"|Error: Invalid time.||style="display:none;"|||class="logtime"|00:00 EST||
- [[{{{%PAGE%}}}|{{{%TITLE%}}}]]