Difference between revisions of "Template:Outdated"

From Trinity Desktop Project Wiki
Jump to navigation Jump to search
(Template updates)
(Added "reason" field)
Line 5: Line 5:
 
To use this template, use <code><nowiki>{{Outdated|year|month|day}}</nowiki></code> on the target page. You can use <code><nowiki>{{Outdated|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}</nowiki></code> to automatically insert the current date.
 
To use this template, use <code><nowiki>{{Outdated|year|month|day}}</nowiki></code> on the target page. You can use <code><nowiki>{{Outdated|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}</nowiki></code> to automatically insert the current date.
  
Using this template on a page results in the following box being placed:
+
 
{{Outdated|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}
+
==Example==
</noinclude><includeonly>{{Box|caption=Information found here might be outdated!|text=This page has been marked as having outdated and/or no more relevant information. Please regard information in this page with extra caution.<br><small>This warning was placed on {{{1}}}/{{{2}}}/{{{3}}}.</small>|icon=Clock.png|background=#FFFAB4|highlight=#FFF700}}</includeonly>
+
 
 +
<syntaxhighlight lang="html+handlebars">
 +
{{Outdated
 +
|reason=Some good reason.
 +
|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}
 +
}}
 +
</syntaxhighlight>
 +
 
 +
{{Outdated
 +
|reason=Some good reason.
 +
|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}
 +
}}
 +
 
 +
 
 +
</noinclude><includeonly>{{Box|caption=Information found here might be outdated!|text=This page has been marked as having outdated and/or no more relevant information. Please regard information in this page with extra caution. </small><br><small>This warning was placed on {{{1}}}/{{{2}}}/{{{3}}}. ('''Reason:''' {{{reason}}})|icon=Clock.png|background=#FFFAB4|highlight=#FFF700}}</includeonly>

Revision as of 17:11, 24 August 2021

Template:Outdated

Template:Outdated is a template which is meant to be put on pages where information might be outdated, no more accurate or relevant as a precaution for users until the page is updated.

To use this template, use {{Outdated|year|month|day}} on the target page. You can use {{Outdated|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}} to automatically insert the current date.


Example

{{Outdated
 |reason=Some good reason.
 |{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}
}}
Clock.png
Information found here might be outdated!
This page has been marked as having outdated and/or no more relevant information. Please regard information in this page with extra caution.
This warning was placed on 2025/05/18 . (Reason: Some good reason.)