Templat:LSR/doc: Perbedaan antara revisi
Tampilan
Konten dihapus Konten ditambahkan
Google9999 (bicara | kontrib) Tidak ada ringkasan suntingan |
Tag: Suntingan visualeditor-wikitext |
||
(3 revisi perantara oleh 3 pengguna tidak ditampilkan) | |||
Baris 2: | Baris 2: | ||
{{high-use}} |
{{high-use}} |
||
==Function== |
== Function == |
||
Format release version and date for display in [[ |
Format release version and date for display in [[Bantuan:Infobox|infoboxes]] and [[Bantuan:Table|wikitables]]; intended to identify the '''latest stable release'''. |
||
==Usage== |
== Usage == |
||
=== Infobox === |
|||
{| style="float: left; border: none;" |
{| style="float: left; border: none;" |
||
|<pre> |
|<pre> |
||
Baris 11: | Baris 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> |
||
Baris 17: | Baris 20: | ||
{{-}} |
{{-}} |
||
== |
=== 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 |
{{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}} |
||
}} |
}} |
||
Baris 27: | Baris 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> |
||
==Parameters== |
== Parameters == |
||
The <code>article</code> parameter will default to <nowiki>{{PAGENAME}}</nowiki> if left empty. |
The <code>article</code> parameter will default to <nowiki>{{PAGENAME}}</nowiki> if left empty. |
||
Baris 39: | Baris 52: | ||
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. |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
*[[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 --> |
<!-- ADD CATEGORIES BELOW THIS LINE --> |
||
[[ |
[[Kategori:Software templates|LSR]] |
||
[[Kategori:Latest stable software release templates| ]] |
|||
[[Category:Template software terbaru stabil rilis| ]] |
|||
<!-- ADD INTERWIKIS BELOW THIS LINE --> |
|||
⚫ | |||
[[fr:Modèle:Dernière version stable]] |
|||
[[ko:틀:LSR]] |
|||
[[ja:Template:LSR]] |
|||
[[pl:Template:Ostatnie stabilne wydanie]] |
|||
[[pt:Predefinição:ULE]] |
|||
[[zh:Template:LSR]] |
|||
</includeonly> |
Revisi terkini sejak 2 Februari 2021 01.51
![]() | Templat ini digunakan pada banyak halaman dan perubahannya kemungkinan dipantau. Uji cobalah di subhalaman /bak pasir atau /kasus uji templat, atau subhalaman pengguna Anda. Pertimbangkan untuk mendiskusikan perubahan di halaman pembicaraan sebelum mengimplementasikannya. |
Function
[sunting sumber]Format release version and date for display in infoboxes and wikitables; intended to identify the latest stable release.
Usage
[sunting sumber]Infobox
[sunting sumber]{{LSR | article = | latest release version = | latest release date = <!-- {{Start date and age|2020|05|24}} --> | edit = <!-- yes --> }} |
Table
[sunting sumber]{{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
[sunting sumber]1.20.3 (24 Mei 2020[±]
){{LSR | article = MediaWiki | latest release version = 1.20.3 | latest release date = {{Start date and age|2020|05|24}} }}
Parameters
[sunting sumber]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
[sunting sumber]- {{LPR}} – latest preview release
- Subpages of redirect "Latest stable software release"
- {{Multiple releases}}