Revision as of 23:37, 15 December 2017 view sourceSMcCandlish (talk | contribs)Autopatrolled, Extended confirmed users, Page movers, File movers, New page reviewers, Pending changes reviewers, Rollbackers, Template editors201,744 edits Tested to death, works fine.← Previous edit | Revision as of 02:25, 20 February 2020 view source Jonesey95 (talk | contribs)Autopatrolled, Extended confirmed users, Page movers, Mass message senders, Template editors375,163 edits Fix too small font per MOS:FONTSIZE. Renders at 75% in infoboxes.Next edit → | ||
Line 1: | Line 1: | ||
{{#if:{{{latest release version|{{{latest_release_version|}}}}}}| | {{#if:{{{latest release version|{{{latest_release_version|}}}}}}| | ||
{{{latest release version|{{{latest_release_version}}}}}} {{#if:{{{latest release date|{{{latest_release_date|}}}}}}| |
{{{latest release version|{{{latest_release_version}}}}}} {{#if:{{{latest release date|{{{latest_release_date|}}}}}}|({{{latest release date|{{{latest_release_date}}}}}})}}{{#if:{{{edit|}}}|| }} | ||
}}{{#ifeq:{{BASEPAGENAME}}|Latest preview software release|{{#ifexist:{{#if:{{{article|}}}|{{{article|}}}|{{#titleparts:{{PAGENAME}}||2}}}}|{{#ifeq:{{#invoke:redirect|isRedirect|{{#if:{{{article|}}}|{{{article|}}}|{{#titleparts:{{PAGENAME}}||2}}}}}}|yes|]|}}|]}}|}}<noinclude> | }}{{#ifeq:{{BASEPAGENAME}}|Latest preview software release|{{#ifexist:{{#if:{{{article|}}}|{{{article|}}}|{{#titleparts:{{PAGENAME}}||2}}}}|{{#ifeq:{{#invoke:redirect|isRedirect|{{#if:{{{article|}}}|{{{article|}}}|{{#titleparts:{{PAGENAME}}||2}}}}}}|yes|]|}}|]}}|}}<noinclude> | ||
{{documentation}}<!-- place categories and language links on the /doc page, not here! --> | {{documentation}}<!-- place categories and language links on the /doc page, not here! --> |
Revision as of 02:25, 20 February 2020
Template documentation[view] [edit] [history] [purge] Shortcut- {{LPR}}
{{Latest preview release}} formats the release version and date for display in infoboxes and wikitables; intended to identify the latest preview release.
Usage
{{Latest preview release | article = | latest release version = | latest release date = <!-- {{Start date and age|YYYY|MM|DD}} --> | edit = <!-- no --> }} |
Example
1.25 alpha (September 18, 2014; 10 years ago (2014-09-18)) [±]
{{Latest preview release | 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"
- {{Multiple releases}}
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template. Categories: