Template:Auto-outdated: Difference between revisions

m
test
m (test)
m (test)
Line 8: Line 8:
[[Image:Ambox outdated serious.png|right|60px|Ambox outdated serious.png]]  
[[Image:Ambox outdated serious.png|right|60px|Ambox outdated serious.png]]  
<center>Set<br>point<br>'''{{#if:{{{1|}}}|{{{1}}}|30}}'''<br>days</center>  
<center>Set<br>point<br>'''{{#if:{{{1|}}}|{{{1}}}|30}}'''<br>days</center>  
| width="220" nowrap="nowrap" align="center" | '''Article review needed''' ( Setpoint''': {{#if:{{{1|}}}|{{{1}}}|30}}''' days )<br>
| width="220" nowrap="nowrap" align="center" | '''Article review is needed in {{#expr:{{#if:{{{ 1|}}}|{{{1}}}|30}}-
{{#switch:{{#expr:{{CURRENTYEAR}} - {{REVISIONYEAR}}}}
|0={{#expr:{{#time:z|{{CURRENTTIMESTAMP}}}}-{{#time:z|{{REVISIONTIMESTAMP}}}}}}
|1={{#expr:365-{{#time:z|{{REVISIONTIMESTAMP}}}}+
{{#time:z|{{CURRENTTIMESTAMP}}}}}}
|2={{#expr:730-{{#time:z|{{REVISIONTIMESTAMP}}}}+
{{#time:z|{{CURRENTTIMESTAMP}}}}}}|0}}}} days'''<br>
<!----------------------------------------------------------------->
<!----------------------------------------------------------------->
|-
|-
| nowrap="nowrap" align="center" | <font color="maroon"></font><div style="font-size:11px"><font color="maroon">'''Current alert status:&nbsp;&nbsp;'''</font>'''<font color="red"></font>'''<font color="red">
| nowrap="nowrap" align="center" | <font color="maroon"></font><div style="font-size:11px"><font color="maroon">'''Current alert status:&nbsp;&nbsp;'''</font>'''<font color="red"></font>'''<font color="red">
<!----------------------------------------------------------------->
<!----------------------------------------------------------------->
'''{{#switch:{{#ifexpr:{{#if:{{{1|}}}|{{{1}}}|7}}>{{#switch:
'''{{#switch:{{#ifexpr:{{#if:{{{1|}}}|{{{1}}}|30}}>{{#switch:
{{#expr:{{CURRENTYEAR}} - {{REVISIONYEAR}}}}
{{#expr:{{CURRENTYEAR}} - {{REVISIONYEAR}}}}
|0={{#expr:{{#time:z|{{CURRENTTIMESTAMP}}}}-{{#time:z|{{REVISIONTIMESTAMP}}}}}}
|0={{#expr:{{#time:z|{{CURRENTTIMESTAMP}}}}-{{#time:z|{{REVISIONTIMESTAMP}}}}}}
3,970

edits