Difference between revisions of "Template:LPR/doc"
Jump to navigation
Jump to search
imported>Eyesnore |
imported>Great Brightstar |
||
| Line 12: | Line 12: | ||
| 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 39: | Line 40: | ||
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|LSR}} – latest stable release | *{{tl|LSR}} – latest stable release | ||
Revision as of 14:16, 16 December 2017
| This is a documentation subpage for Template:LPR. It contains usage information, categories and other content that is not part of the original template page. |
| This template is used on approximately 790 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 preview release.
Usage
{{LPR
| article =
| latest release version =
| latest release date = <!-- {{Start date and age|YYYY|MM|DD}} -->
| edit = <!-- no -->
}}
|
Example
1.25 alpha (Template:Start date and age) [±]
{{LPR
| article = MediaWiki
| latest_release_version = 1.25 alpha
| latest_release_date = {{start date and age|2014|09|18}}
}}
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
- {{LSR}} – latest stable release
- Subpages of redirect "Latest preview software release"