Home
Random
Log in
Settings
About the Deadlock Wiki
Search
Editing
Module
:
LatestUpdate/doc
Give feedback
Warning:
You are not logged in. Once you make an edit, a temporary account will be created for you.
Learn more
.
Log in
or
create an account
to continue receiving notifications after this account expires, and to access other features.
Anti-spam check. Do
not
fill this in!
== Overview == This module calculates the days since the last update stored in [[Data:LatestUpdate.json]] and sends to [[Module:UpdateExcerpt]] to be displayed by [[Template:Deadlock Wiki/UpdateExcerpt]]. It can also be called to calculate the time since any given date, in days. == Examples == === days_since_date === This function can be called to calculate the days passed from a given date, using the format "Month/Day/Year". "Month" has to be in numbers. For days since January 30 2026: <code><nowiki>{{#invoke:LatestUpdate|days_since_date|1|30|2026}}</nowiki></code> {{#invoke:LatestUpdate|days_since_date|1|30|2026}} === days_since === This is an automated function that calculates the days since the latest update stored in [[Data:LatestUpdate.json]]. === days_since_text === This is an automated function that wraps the "days_since" data in a localized text template to be used by [[Module:UpdateExcerpt]].
Summary:
Please note that all contributions to The Deadlock Wiki are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
Deadlock:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Preview page with this template
Pages included on this page:
Module:LatestUpdate
(
edit
)
Data:LatestUpdate.json
(
edit
)