Jump to content

Template:LSR/doc

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Neustradamus (talk | contribs) at 01:42, 9 October 2009. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Function

Format release version and date for display in infoboxes and wikitables.

Usage

{{LSR
 | article = 
 | latest_release_version = 
 | latest_release_date = <!-- {{Start date and age|YYYY|MM|DD}} -->
}}

Example

1.14.0 (February 22, 2009; 15 years ago (2009-02-22)) [±]

{{LSR
 | article = MediaWiki
 | latest_release_version = 1.14.0
 | latest_release_date = {{Start date and age|2009|02|22}}
}}

Parameters

The article parameter will default to {{PAGENAME}} if left empty.

If the latest_release_version parameter is empty this template will not display anything.

The latest_release_date parameter is optional and if left empty no date will be shown.

See also