Template:Ongoing: Difference between revisions

From Daniel Larson Wiki
Jump to navigation Jump to search
(Fixed (I think) by using "REVISIONTIMESTAMP" to know when the last edit occurred.)
(Added day ifeq so that if the last revision was less than a day ago there is no text...no clue if this will work, hard to test, hard to read.)
Line 6: Line 6:
| class = ambox-Refimprove
| class = ambox-Refimprove
| image = [[File:Canada Stop sign.svg|50x40px|alt=]]
| image = [[File:Canada Stop sign.svg|50x40px|alt=]]
| issue = The subject or contents of "{{PAGENAME}}" cover an ongoing situation/topic that is subject to change.
| issue = The subject or contents of "{{PAGENAME}}" cover an ongoing situation/topic that is subject to change.  
| fix  = This article may contain outdated or missing information as of {{#time:Y-m-d | {{REVISIONTIMESTAMP}}}} due to recent events.  {{#ifeq:{{#time:Y-m}}|{{#time:Y-m | {{REVISIONTIMESTAMP}}}}||'''This template was added over a month ago, does it still apply?'''}}
| fix  = {{#ifeq:{{#time:Y-m-d}}|{{#time:Y-m-d | {{REVISIONTIMESTAMP}}}}|| This article may contain outdated or missing information as of {{#time:Y-m-d | {{REVISIONTIMESTAMP}}}} due to recent events.  {{#ifeq:{{#time:Y-m}}|{{#time:Y-m | {{REVISIONTIMESTAMP}}}}||'''This template was added over a month ago, does it still apply?'''}} }}
| removalnotice = no
| removalnotice = no
}}
}}

Revision as of 02:13, 15 September 2023