Difference between revisions of "Template:LSR/doc"

From blackwiki
Jump to navigation Jump to search
imported>Great Brightstar
imported>Salix alba
(describe automatic insertion of subpages via infobox software)
Line 27: Line 27:
 
{{-}}
 
{{-}}
  
 +
If a page such as [[Template:Latest stable software release/Facebook Messenger]] exists then {{tlx|Infobox_software}} will automatically insert the contents in the corresponding article.
 
==Example==
 
==Example==
 
{{LSR
 
{{LSR

Revision as of 06:16, 6 March 2018

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|YYYY|MM|DD}} -->
| edit = <!-- no -->
}}

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 (Template:Start date and age) [±]

{{LSR
| article = MediaWiki
| latest_release_version = 1.20.3
| latest_release_date = {{Start date and age|2013|03|04}}
}}

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 could be used to cancel the edit link.

See also

  • {{LPR}} – latest preview release