Template:ActiveDev: Difference between revisions

From EarthMC
Jump to navigation Jump to search
Created page with "{{#ifexpr: ( {{#time:U|now}} - {{#time:U|{{{1}}}-{{{2}}}-{{{3}}}}} ) > 15552000 | <span style="color:#ff0000; font-weight: bold">Not active</span> | {{AgeYMWD|year1={{{1}}}|month1={{{2}}}|day1={{{3}}}}} }} <noinclude><br>This template is dedicated for Community projects. It converts date to 1) date if it was less than 6 months ago, 2) "Not active" text if otherwise. 15552000 seconds, included in template's code is 6 months.</noinclude>"
 
No edit summary
Line 3: Line 3:
  | {{AgeYMWD|year1={{{1}}}|month1={{{2}}}|day1={{{3}}}}}
  | {{AgeYMWD|year1={{{1}}}|month1={{{2}}}|day1={{{3}}}}}
}}
}}
<noinclude><br>This template is dedicated for [[Community projects]]. It converts date to 1) date if it was less than 6 months ago, 2) "Not active" text if otherwise. 15552000 seconds, included in template's code is 6 months.</noinclude>
<noinclude>
== Documentation ==
This template is dedicated for [[Community projects]]. It converts date to:
* "How long ago" if it was less than 6 months ago,
* "Not active" text if otherwise.
15552000 seconds, included in template's code is 6 months. <br>
Ignore the "Expression error: Unexpected < operator." written here.
</noinclude>

Revision as of 18:22, 5 April 2026

Expression error: Unexpected < operator.

Documentation

This template is dedicated for Community projects. It converts date to:

  • "How long ago" if it was less than 6 months ago,
  • "Not active" text if otherwise.

15552000 seconds, included in template's code is 6 months.
Ignore the "Expression error: Unexpected < operator." written here.