Difference between revisions of "Template:LSR/doc"
Jump to navigation
Jump to search
| Line 21: | Line 21: | ||
| article = MediaWiki | | article = MediaWiki | ||
| latest_release_version = 1.20.3 | | latest_release_version = 1.20.3 | ||
| − | | latest_release_date = {{ | + | | latest_release_date = {{Start date and age|2013|03|04}} |
}} | }} | ||
| Line 28: | Line 28: | ||
| article = MediaWiki | | article = MediaWiki | ||
| latest_release_version = 1.20.3 | | latest_release_version = 1.20.3 | ||
| − | | latest_release_date = {{ | + | | latest_release_date = {{Start date and age|2013|03|04}} |
}} | }} | ||
</pre> | </pre> | ||
Revision as of 09:18, 14 April 2013
| This is a documentation subpage for Template:LSR. It contains usage information, categories and other content that is not part of the original template page. |
| This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Transclusion count updated automatically (see documentation). |
Contents
Function
Format release version and date for display in infoboxes and wikitables; intended to identify the latest stable release.
Usage
{{LSR
| article =
| latest release version =
| latest release date = <!-- {{Start date and age|YYYY|MM|DD}} -->
}}
|
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.
See also
- {{LPR}} – latest preview release