Difference between revisions of "Template:LSR/doc"

From blackwiki
Jump to navigation Jump to search
imported>Tim@
imported>Great Brightstar
Line 13: Line 13:
 
| latest release version =  
 
| latest release version =  
 
| latest release date = <!-- {{Start date and age|YYYY|MM|DD}} -->
 
| latest release date = <!-- {{Start date and age|YYYY|MM|DD}} -->
 +
| edit = <!-- no -->
 
}}
 
}}
 
</pre>
 
</pre>
Line 48: Line 49:
 
The <code>latest release date</code> parameter is optional and if left empty no date will be shown.
 
The <code>latest release date</code> parameter is optional and if left empty no date will be shown.
  
 +
The <code>edit</code> parameter is optional and could be used to cancel the edit link.
 
==See also==
 
==See also==
 
*{{tl|LPR}} – latest preview release
 
*{{tl|LPR}} – latest preview release

Revision as of 14:13, 16 December 2017

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}}

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