Template:LPR/sandbox
This is the template sandbox page for Template:LPR (diff). See also the companion subpage for test cases. |
Function[edit]
Format release version and date for display in infoboxes and wikitables; intended to identify the latest preview release.
Usage[edit]
{{LPR
| article =
| latest release version =
| latest release date = <!-- {{Start date and age|YYYY|MM|DD}} -->
| edit = <!-- no -->
}}
|
Example[edit]
1.25 alpha (September 18, 2014[±]
){{LPR
| article = MediaWiki
| latest_release_version = 1.25 alpha
| latest_release_date = {{start date and age|2014|09|18}}
}}
Parameters[edit]
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[edit]
- {{LSR}} – latest stable release
- Subpages of redirect "Latest preview software release"
- {{Multiple releases}}