Template:Notice timer

From NPOWiki
Jump to navigation Jump to search

Documentation [edit]

This template is used to check whether certain page notices have been present for a certain amount of time. When past this time period, the page will be added to Category:Pages with expired notices.

Parameters

  • first unnamed parameter: the date the notice was added. If missing or blank, the page will be added to Category:Pages with missing notice dates. If passing through a template parameter, it should be passed piped, e.g. {{notice timer|{{{date|}}}}}.
  • second unnamed parameter: the amount of time the notice should be present before marking it as expired. The default is one year. This must be formatted such as "1 week" or "6 months". For more information, see mw:Help:Extension:ParserFunctions##time.

The above documentation is transcluded from Template:Notice timer/doc.