3,970
edits
Luccagenes (talk | contribs) (simplified equations using different magic words) |
Luccagenes (talk | contribs) (testing subcategory possibility via parameter input) |
||
Line 6: | Line 6: | ||
[[Image:Ambox outdated serious.png|center|60px|Ambox outdated serious.png]] | [[Image:Ambox outdated serious.png|center|60px|Ambox outdated serious.png]] | ||
| width=" | | width="220" nowrap="nowrap" align="center" | '''Auto-outdated''' ( Setpoint''': {{#if:{{{1|}}}|{{{1}}}|7}}''' days )<br> | ||
|- | |- | ||
| nowrap="nowrap" align="center" | <font color="maroon"></font><div style="font-size:11px"><font color="maroon">'''Current alert status: '''</font>'''<font color="red"></font>'''<font color="red">'''{{#switch: | | nowrap="nowrap" align="center" | <font color="maroon"></font><div style="font-size:11px"><font color="maroon">'''Current alert status: '''</font>'''<font color="red"></font>'''<font color="red">'''{{#switch:{{#ifexpr:14>{{#switch: | ||
{{#ifexpr:14> | |||
{{#switch: | |||
{{#expr:{{CURRENTYEAR}} - {{REVISIONYEAR}}}} | {{#expr:{{CURRENTYEAR}} - {{REVISIONYEAR}}}} | ||
|0={{#expr:{{#time:z|{{CURRENTTIMESTAMP}}}}-{{#time:z|{{REVISIONTIMESTAMP}}}}}} | |0={{#expr:{{#time:z|{{CURRENTTIMESTAMP}}}}-{{#time:z|{{REVISIONTIMESTAMP}}}}}} | ||
Line 16: | Line 14: | ||
{{#time:z|{{CURRENTTIMESTAMP}}}}}} | {{#time:z|{{CURRENTTIMESTAMP}}}}}} | ||
|2={{#expr:730-{{#time:z|{{REVISIONTIMESTAMP}}}}+ | |2={{#expr:730-{{#time:z|{{REVISIONTIMESTAMP}}}}+ | ||
{{#time:z|{{CURRENTTIMESTAMP}}}}}}|error1}}|yes|no}} | {{#time:z|{{CURRENTTIMESTAMP}}}}}}|error1}} | ||
|yes=OKAY|no=Expired [[Category:Auto-outdated]]|error2}}'''</font></div> | |yes|no}}|yes=OKAY|no=Expired [[Category:Auto-outdated]] [[Category: {{#if:{{{2|}}}|{{{2}}}| }}]]|error2}}'''</font></div> | ||
|- | |- | ||
| nowrap="nowrap" align="center" | '''Last Rev Date: {{REVISIONDAY}} {{REVISIONMONTH}} {{REVISIONYEAR}}''' (d/m/y)<br> | | nowrap="nowrap" align="center" | '''Last Rev Date: {{REVISIONDAY}} {{REVISIONMONTH}} {{REVISIONYEAR}}''' (d/m/y)<br> | ||
|} | |} | ||
edits