Difference between revisions of "Template:LSR/doc"
Jump to navigation
Jump to search
imported>Labdajiwa |
|||
(18 intermediate revisions by 14 users not shown) | |||
Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
− | {{high-use}} | + | {{high-use|1953}} |
==Function== | ==Function== | ||
Line 6: | Line 6: | ||
==Usage== | ==Usage== | ||
+ | |||
+ | ===Infobox=== | ||
{| style="float: left; border: none;" | {| style="float: left; border: none;" | ||
|<pre> | |<pre> | ||
Line 11: | Line 13: | ||
| article = | | article = | ||
| latest release version = | | latest release version = | ||
− | | latest release date = <!-- {{Start date and age| | + | | latest release date = <!-- {{Start date and age|2020|05|24}} --> |
+ | | edit = <!-- yes --> | ||
}} | }} | ||
</pre> | </pre> | ||
|} | |} | ||
{{-}} | {{-}} | ||
+ | |||
+ | ===Table=== | ||
+ | {| style="float: left; border: none;" | ||
+ | |<pre> | ||
+ | {{Latest stable software release/Linux}} | ||
+ | </pre> | ||
+ | |} | ||
+ | {{-}} | ||
+ | |||
+ | 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 | ||
| article = MediaWiki | | article = MediaWiki | ||
− | | latest release version = 1. | + | | latest release version = 1.20.3 |
− | | latest release date = {{Start date and age| | + | | latest release date = {{Start date and age|2020|05|24}} |
}} | }} | ||
Line 27: | Line 40: | ||
{{LSR | {{LSR | ||
| article = MediaWiki | | article = MediaWiki | ||
− | | latest release version = 1. | + | | latest release version = 1.20.3 |
− | | latest release date = {{Start date and age| | + | | latest release date = {{Start date and age|2020|05|24}} |
}} | }} | ||
</pre> | </pre> | ||
Line 38: | Line 51: | ||
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 can be set to "no" to cancel the edit link. | ||
==See also== | ==See also== | ||
− | *{{tl|LPR}} – latest preview release | + | * {{tl|LPR}} – latest preview release |
+ | * [[Special:PrefixIndex/Template:Latest_stable_software_release|Subpages of redirect "Latest stable software release"]] | ||
+ | * {{tl|Multiple releases}} | ||
− | <includeonly> | + | <includeonly>{{Sandbox other||{{#ifeq:{{PAGENAME}}|LSR| |
<!-- ADD CATEGORIES BELOW THIS LINE --> | <!-- ADD CATEGORIES BELOW THIS LINE --> | ||
[[Category:Software templates|LSR]] | [[Category:Software templates|LSR]] | ||
[[Category:Latest stable software release templates| ]] | [[Category:Latest stable software release templates| ]] | ||
− | + | ||
− | + | }}}}</includeonly> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </includeonly> |
Latest revision as of 01:52, 2 February 2021
![]() | 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 approximately 2,000 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). |
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|2020|05|24}} --> | edit = <!-- yes --> }} |
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|2020|05|24}} }}
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 can be set to "no" to cancel the edit link.
See also
- {{LPR}} – latest preview release
- Subpages of redirect "Latest stable software release"
- {{Multiple releases}}