Template:Auto-outdated: Difference between revisions
Luccagenes (talk | contribs) m (test) |
m (Text replacement - " " to " ") |
||
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<!-----------------add_or_remove_space_from_this_line_for_DUMMY_edit------------> | <!-----------------add_or_remove_space_from_this_line_for_DUMMY_edit------------> | ||
{| class="FCK__ShowTableBorders collapsible collapsed" style="border-bottom: #fc8945 2px solid; border-left: #fc8945 10px solid; margin: 0px 10%; border-collapse: collapse; font-size:10px; background: white; border-top: #fc8945 2px solid; border-right: #fc8945 2px solid; float:right;" | {| class="FCK__ShowTableBorders collapsible collapsed" style="border-bottom: #fc8945 2px solid; border-left: #fc8945 10px solid; margin: 0px 10%; border-collapse: collapse; font-size:10px; background: white; border-top: #fc8945 2px solid; border-right: #fc8945 2px solid; float:right;" | ||
|- | |- | ||
! Auto-outdated | ! [[:Category:Auto-outdated|Auto-outdated]] | ||
|- | |- | ||
| style="vertical-align: middle" rowspan="3" | | | style="vertical-align: middle" rowspan="3" | | ||
[[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>{{#ifeq:{{{1|}}}|1|day|days}}</center> | ||
| width="220" nowrap="nowrap" align="center" | '''Article review is needed in {{#expr:{{#if:{{{ 1|}}}|{{{1}}}|30}}- | | 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}}}} <!--------------->{{#ifeq:{{#expr:{{#if:{{{1|}}}|{{{1}}}|30}}- | |||
{{#switch:{{#expr:{{CURRENTYEAR}} - {{REVISIONYEAR}}}} | {{#switch:{{#expr:{{CURRENTYEAR}} - {{REVISIONYEAR}}}} | ||
|0={{#expr:{{#time:z|{{CURRENTTIMESTAMP}}}}-{{#time:z|{{REVISIONTIMESTAMP}}}}}} | |0={{#expr:{{#time:z|{{CURRENTTIMESTAMP}}}}-{{#time:z|{{REVISIONTIMESTAMP}}}}}} | ||
Line 14: | Line 20: | ||
{{#time:z|{{CURRENTTIMESTAMP}}}}}} | {{#time:z|{{CURRENTTIMESTAMP}}}}}} | ||
|2={{#expr:730-{{#time:z|{{REVISIONTIMESTAMP}}}}+ | |2={{#expr:730-{{#time:z|{{REVISIONTIMESTAMP}}}}+ | ||
{{#time:z|{{CURRENTTIMESTAMP}}}}}}|0}}}} days'''<br> | {{#time:z|{{CURRENTTIMESTAMP}}}}}}|0}}}}|1|day|days}}'''<br> | ||
<!-----------------------------------------------------------------> | <!-----------------------------------------------------------------> | ||
|- | |- | ||
| nowrap="nowrap" align="center" | <font color="maroon"></font><div style="font-size:11px"><font color="maroon">'''Current alert status: | | 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:{{#if:{{{1|}}}|{{{1}}}|30}}>{{#switch: | '''{{#switch:{{#ifexpr:{{#if:{{{1|}}}|{{{1}}}|30}}>{{#switch: | ||
Line 26: | Line 32: | ||
|2={{#expr:730-{{#time:z|{{REVISIONTIMESTAMP}}}}+ | |2={{#expr:730-{{#time:z|{{REVISIONTIMESTAMP}}}}+ | ||
{{#time:z|{{CURRENTTIMESTAMP}}}}}}|error1}} | {{#time:z|{{CURRENTTIMESTAMP}}}}}}|error1}} | ||
|yes|no}}|yes=OKAY|no=Expired [[Category:Auto-outdated]] [[Category:{{#if:{{{2|}}}|{{{2}}}|Auto-outdated}}]] [[Category:{{#if:{{{3|}}}|{{{3}}}|Auto-outdated}}]]|error2}}'''</font></div> | |yes|no}}|yes=OKAY|no=Expired <includeonly>[[Category:Auto-outdated]] [[Category:{{#if:{{{2|}}}|{{{2}}}|Auto-outdated}}]] [[Category:{{#if:{{{3|}}}|{{{3}}}|Auto-outdated}}]]</includeonly>|error2}}'''</font></div> | ||
|- | |- | ||
| nowrap="nowrap" align="center" | ''' | | nowrap="nowrap" align="center" | Revision Date: '''{{REVISIONDAY}} {{#switch:{{REVISIONMONTH}} | ||
|} | |01=January | ||
|02=February | |||
|03=March | |||
|04=April | |||
|05=May | |||
|06=June | |||
|07=July | |||
|08=August | |||
|09=September | |||
|10=October | |||
|11=November | |||
|12=December | |||
|error | |||
}} {{REVISIONYEAR}}'''<br> | |||
|} | |||
<noinclude> | <noinclude> | ||
<br> | <br> | ||
{{documentation}} | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 17:44, 30 October 2023
Auto-outdated | |
---|---|
point 30 days |
Article review is needed in -631 days |
Current alert status:
Expired
| |
Revision Date: 30 October 2023 |
The above documentation is transcluded from Template:Auto-outdated/doc. (editEditors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |