Difference between revisions of "Template:LPR/doc"

From blackwiki
Jump to navigation Jump to search
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 45: Line 45:
 
*{{tl|Multiple releases}}
 
*{{tl|Multiple releases}}
  
<includeonly>{{#ifeq:{{PAGENAME}}|LPR|
+
<includeonly>{{Sandbox other||{{#ifeq:{{PAGENAME}}|LPR|
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
[[Category:Software templates|LPR]]
 
[[Category:Software templates|LPR]]
 
[[Category:Latest preview software release templates| ]]
 
[[Category:Latest preview software release templates| ]]
}}</includeonly>
+
 
 +
}}}}</includeonly>

Latest revision as of 00:22, 26 April 2020

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