Template:Date page: Difference between revisions

From Illerai
Jump to navigation Jump to search
imported>Shayani
was displaying "Nothing interesting happened" despite at least 2 updates being released to date
 
Created page with "<includeonly>{{#vardefine:datedpl|{{#dpl: |category = {{{1|{{PAGENAME}}}}} updates |uses = Template:Update¦Template:Patch Notes |ordermethod = sortkey |order = descending |include = {Update¦Date page dpl},{Patch Notes¦Date page dpl} |format = ,\n* ,, }}}}{{#ifexpr:{{#len:{{#var:datedpl}}}} > 100 |{{#var:datedpl}} |{{#if:{{{1|}}}|* ... Nothing interesting happened.|{{#var:datedpl}}}} }}{{mainonly|{{#iferror:{{#time:j F|{{PAGENAME}}}}||Category:{{PAGENAME}} updates|..."
 
(No difference)

Latest revision as of 06:17, 4 November 2024

Template documentation
This documentation is transcluded from Template:Date page/doc. [edit] [history] [purge]

This template is a DPL call to collect and format all update pages with a specific date. It uses Template:Date page dpl (based on Module:Update) and Template:Date page dpl.default to do so.

In the case of a date featuring no historic updates, no output will be shown if the first parameter is left blank (ie. date pages), or "... Nothing interesting happened" will show if the first parameter is set.

Usage

{{Date page}}

The template will use the PAGENAME as the date to find. If the PAGENAME isn't a date, you can use the first parameter to pass a date:

{{Date page|date}}