Jump to content

Template:LSR/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Tags: Mobile edit Mobile web edit
Tags: Mobile edit Mobile web edit
Line 34: Line 34:
| article = MediaWiki
| article = MediaWiki
| latest release version = 1.20.3
| latest release version = 1.20.3
| latest release date = {{Start date and age|2013|03|04}}
| latest release date = {{Start date and age|2020|05|24}}
}}
}}


Line 41: Line 41:
| article = MediaWiki
| article = MediaWiki
| latest release version = 1.20.3
| latest release version = 1.20.3
| latest release date = {{Start date and age|2013|03|04}}
| latest release date = {{Start date and age|2020|05|24}}
}}
}}
</pre>
</pre>

Revision as of 12:23, 25 May 2020

Function

Format release version and date for display in infoboxes and wikitables; intended to identify the latest stable release.

Usage

Infobox

{{LSR
| article = 
| latest release version = 
| latest release date = <!-- {{Start date and age|2020|05|24}} -->
| edit = <!-- yes -->
}}

Table

{{Latest stable software release/Linux}}

If a page such as Template:Latest stable software release/Facebook Messenger exists then {{Infobox_software}} will automatically insert the contents in the corresponding article.

Example

1.20.3 (May 24, 2020; 4 years ago (2020-05-24)) [±]

{{LSR
| article = MediaWiki
| latest release version = 1.20.3
| latest release date = {{Start date and age|2020|05|24}}
}}

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.

The edit parameter is optional and can be set to "no" to cancel the edit link.

See also