Template:RefDate/doc

The RefDate template is used for adding a red asterisk to references when the become unverified for a certain period of time (see examples). Its primary use is for citation templates. See the references and citations style guide and the citation wikiguild for more information.

First input
This is set above as  intentionally. All current citation templates use the input  as the date of last verification, so this should be used as the input. If the template uses a different named input, use that name instead.

Second input
Optional - specifies the number of date the template should wait before displaying the asterisk. Defaults to 30 days. Some areas of the RuneScape website changes less often than other areas (for example, the Forums are a lot more dynamic than the Game Guide).

Examples
Note - the following are static examples

*
 * If the first input does not exist - a date has not been given.

Category:References that need verification is added.

*
 * If the first input is a date of over 30 days ago

Category:References that need verification is added, and is sorted by the date given. Note the difference in hover text between this and the above examples.

Customisation
The asterisk is given the class. This can be used to customise the colour and behaviour of the asterisk. Some examples:

Add to User:/monaco.css for monaco, User:/monobook.css for monobook:

.outdate-ref {color:green !important;} .outdate-ref {display:none !important;}
 * Make the asterisk green instead of red:
 * Hide all outdated-reference asterisks: