Difference between revisions of "Template:Log.dpl"

From From The Ashes Wiki
Jump to: navigation, search
Line 1: Line 1:
{{#dplvar:set|checkIt|{{uc:{{{1}}}}}}}{{#ifeq:{{#dplvar:checkIt}}|DATE|{{#dplvar:set|useDates|true}}|}}{{#vardefineecho:logdate|{{#explode:{{{%TITLE%}}}|:|0}} }}{{#vardefineecho:year|{{#explode:{{#var:logdate}}|-|2}} }}{{#ifeq:{{#dplvar:useDates}}|true|class="colon"|style="display:none;"}}|{{{date|{{#ifeq:{{#len:{{#var:year}}}}|4|{{#explode:logdate|-|0}}/{{#explode:logdate|-|1}}/{{#var:year}}|??/??/????}} }}}||class="logtime"|{{{time|00:00 EST}}}||{{#ifeq:{{#dplvar:useDates}}|true||* }}[[{{{%PAGE%}}}|{{#regex:{{{%TITLE%}}}|/^\d.*?-\d.*?-\d.*?: /|}}]]
+
{{#dplvar:set|checkIt|{{uc:{{{1}}}}}}}{{#ifeq:{{#dplvar:checkIt}}|DATE|{{#dplvar:set|useDates|true}}|}}{{#vardefineecho:logdate|{{#explode:{{{%TITLE%}}}|:|0}} }}***{{#vardefineecho:year|{{#explode:{{#var:logdate}}|-|2}} }}****{{#ifeq:{{#dplvar:useDates}}|true|class="colon"|style="display:none;"}}|{{{date|{{#ifeq:{{#len:{{#var:year}}}}|4|{{#explode:logdate|-|0}}/{{#explode:logdate|-|1}}/{{#var:year}}|??/??/????}} }}}||class="logtime"|{{{time|00:00 EST}}}||{{#ifeq:{{#dplvar:useDates}}|true||* }}[[{{{%PAGE%}}}|{{#regex:{{{%TITLE%}}}|/^\d.*?-\d.*?-\d.*?: /|}}]]

Revision as of 04:05, 7 December 2017

{{#explode:{{{%TITLE%}}}|:|0}}***{{#explode:{{#explode:{{{%TITLE%}}}|:|0}}|-|2}}****style="display:none;"|??/??/???? ||class="logtime"|00:00 EST||

  • [[{{{%PAGE%}}}|{{{%TITLE%}}}]]