Jump to content

Template:Auto-outdated/doc: Difference between revisions

m
Text replacement - " " to " "
m (transferred from page)
m (Text replacement - " " to " ")
 
Line 24: Line 24:
<div style="clear:both"></div>
<div style="clear:both"></div>
'''Calculated parser equation values:'''<br><br>
'''Calculated parser equation values:'''<br><br>
'''{{#if:{{{1|}}}|{{{1}}}|30}}''' &nbsp;&nbsp;&nbsp;&nbsp;Set point (Default parameter one)<br>
'''{{#if:{{{1|}}}|{{{1}}}|30}}'''     Set point (Default parameter one)<br>
'''{{#time:z|{{CURRENTTIMESTAMP}}}}'''&nbsp;&nbsp;CurrentYear - day of year<br>
'''{{#time:z|{{CURRENTTIMESTAMP}}}}''' CurrentYear - day of year<br>
'''{{#time:z|{{REVISIONTIMESTAMP}}}}'''&nbsp;&nbsp;RevisionYear - day of year<br>
'''{{#time:z|{{REVISIONTIMESTAMP}}}}''' RevisionYear - day of year<br>
'''{{#expr:{{#time:z|{{CURRENTTIMESTAMP}}}}-{{#time:z|{{REVISIONTIMESTAMP}}}}}}'''&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Option 1: Current Year days minus Revision Year days<br>
'''{{#expr:{{#time:z|{{CURRENTTIMESTAMP}}}}-{{#time:z|{{REVISIONTIMESTAMP}}}}}}'''     Option 1: Current Year days minus Revision Year days<br>
'''{{#expr:365-{{#time:z|{{REVISIONTIMESTAMP}}}}+
'''{{#expr:365-{{#time:z|{{REVISIONTIMESTAMP}}}}+
{{#time:z|{{CURRENTTIMESTAMP}}}}}}'''&nbsp;&nbsp;Option 2: Revision days (from end of year) plus Current Year days<br>
{{#time:z|{{CURRENTTIMESTAMP}}}}}}''' Option 2: Revision days (from end of year) plus Current Year days<br>
'''{{#expr:730-{{#time:z|{{REVISIONTIMESTAMP}}}}+
'''{{#expr:730-{{#time:z|{{REVISIONTIMESTAMP}}}}+
{{#time:z|{{CURRENTTIMESTAMP}}}}}}'''&nbsp;&nbsp;Option 3: Revision days (from end of year) plus 365 plus Current Year days<br>
{{#time:z|{{CURRENTTIMESTAMP}}}}}}''' Option 3: Revision days (from end of year) plus 365 plus Current Year days<br>
'''Category:Auto-outdated'''&nbsp;&nbsp;Category added when "expired".<br>
'''Category:Auto-outdated''' Category added when "expired".<br>
'''{{#if:{{{2|}}}|{{{2}}}|Auto-outdated}}'''&nbsp;&nbsp;Default category for parameter two.<br>
'''{{#if:{{{2|}}}|{{{2}}}|Auto-outdated}}''' Default category for parameter two.<br>
'''{{#if:{{{3|}}}|{{{3}}}|Auto-outdated}}'''&nbsp;&nbsp;Default category for parameter three.<br>
'''{{#if:{{{3|}}}|{{{3}}}|Auto-outdated}}''' Default category for parameter three.<br>
<br>
<br>