User:Gaerlin/Sandbox/NewVerified

From Lotro-Wiki.com
Jump to navigation Jump to search

This is a proposed re-working of the Verified template.

The new design uses just a single parameter which is the date on which the page was last verified, i.e.:

{{Verified|20170101112200}}

The template computes the age of that verification and displays a warning if the verification was too long ago. Currently it uses two thresholds, one threshold set to 180 days (which will display a warning in orange text) and another threshold set to 365 days (which will display a warning in red text). We can debate the best values for these thresholds based on our expectation of how often we will be re-verifying pages.

If the verification date is not older than the thresholds, the template displays nothing.

Also the template adds pages with an old verification to a category called "Pages requiring re-verification" so that we can easily know what pages to re-verify.

Here's what the warnings look like:


Verification > 180 days old

{{User:Gaerlin/VerifiedTest|20170901112200}}


Verification > 365 days old

{{User:Gaerlin/VerifiedTest|20160901112200}}