Difference between revisions of "Template:LSR/doc"

From blackwiki
Jump to navigation Jump to search
(Add version codes for stable release)
imported>Labdajiwa
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{LSR|
+
{{documentation subpage}}
article = Bitwarden
+
{{high-use|1953}}
| latest_release_version = '''Android''' 1.20.0
 
| latest_release_date = {{Start date and age|2018|11|27}}<ref>{{cite web
 
|url=https://play.google.com/store/apps/details?id=com.x8bit.bitwarden&hl=en_US
 
|title=Bitwarden Password Manager
 
|author=8bit Solutions LLC
 
|website=Google Play
 
|publisher=Google
 
|date=27 November 2018
 
|accessdate=27 November 2018}}</ref>
 
}}<br />
 
{{LSR|
 
article = Bitwarden
 
| latest_release_version = '''iOS''' 1.20.0
 
| latest_release_date = {{Start date and age|2018|11|27}}<ref>{{cite web
 
|url=https://itunes.apple.com/us/app/id1137397744
 
|title=Bitwarden Password Manager
 
|author=8bit Solutions LLC
 
|website=App Store
 
|publisher=Apple
 
|date=27 November 2018
 
|accessdate=27 November 2018}}</ref>
 
}}<br />
 
{{LSR|
 
article = Bitwarden
 
| latest_release_version = '''Desktop''' 1.11.2
 
| latest_release_date = {{Start date and age|2018|11|28}}<ref>{{cite web
 
|url=https://bitwarden.com/#download
 
|title=Bitwarden Password Manager
 
|author=8bit Solutions LLC
 
|website=Bitwarden
 
|publisher=
 
|date=28 November 2018
 
|accessdate=28 November 2018}}</ref>
 
}}<br />
 
{{LSR|
 
article = Bitwarden
 
| latest_release_version = '''Browser''' 1.35.2
 
| latest_release_date = {{Start date and age|2018|11|28}}<ref>{{cite web
 
|url=https://bitwarden.com/#download
 
|title=Bitwarden Password Manager
 
|author=8bit Solutions LLC
 
|website=Bitwarden
 
|publisher=
 
|date=28 November 2018
 
|accessdate=28 November 2018}}</ref>
 
}}<noinclude>
 
  
➔ Back to article "'''[[Bitwarden]]'''"
+
==Function==
{{Template reference list}}
+
Format release version and date for display in [[Help:Infobox|infoboxes]] and [[Help:Table|wikitables]]; intended to identify the '''latest stable release'''.
  
[[Category:Latest stable software release templates|Bitwarden]]
+
==Usage==
</noinclude>
+
 
 +
===Infobox===
 +
{| style="float: left; border: none;"
 +
|<pre>
 +
{{LSR
 +
| article =
 +
| latest release version =
 +
| latest release date = <!-- {{Start date and age|2020|05|24}} -->
 +
| edit = <!-- yes -->
 +
}}
 +
</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==
 +
{{LSR
 +
| article = MediaWiki
 +
| latest release version = 1.20.3
 +
| latest release date = {{Start date and age|2020|05|24}}
 +
}}
 +
 
 +
<pre style="overflow:auto;">
 +
{{LSR
 +
| article = MediaWiki
 +
| latest release version = 1.20.3
 +
| latest release date = {{Start date and age|2020|05|24}}
 +
}}
 +
</pre>
 +
 
 +
==Parameters==
 +
The <code>article</code> parameter will default to <nowiki>{{PAGENAME}}</nowiki> if left empty.
 +
 
 +
If the <code>latest release version</code> parameter is empty this template will not display anything.
 +
 
 +
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==
 +
* {{tl|LPR}} – latest preview release
 +
* [[Special:PrefixIndex/Template:Latest_stable_software_release|Subpages of redirect "Latest stable software release"]]
 +
* {{tl|Multiple releases}}
 +
 
 +
<includeonly>{{Sandbox other||{{#ifeq:{{PAGENAME}}|LSR|
 +
<!-- ADD CATEGORIES BELOW THIS LINE -->
 +
[[Category:Software templates|LSR]]
 +
[[Category:Latest stable software release templates| ]]
 +
 
 +
}}}}</includeonly>

Latest revision as of 01:52, 2 February 2021

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