Difference between revisions of "Template:LPR/syntax"

From blackwiki
Jump to navigation Jump to search
imported>Neustradamus
m
imported>Tothwolf
m (Removed leading whitespace; often causes markup problems when editors copy and paste examples into articles, Moved interwiki to doc subpage; template is used with WP:Preload)
Line 1: Line 1:
 
{{LPR
 
{{LPR
| article =  
+
| article =  
| latest_release_version =  
+
| latest_release_version =  
| latest_release_date = <!-- {{Start date and age|YYYY|MM|DD}} -->
+
| latest_release_date = <!-- {{Start date and age|YYYY|MM|DD}} -->
 
}}<noinclude>
 
}}<noinclude>
  
Line 8: Line 8:
 
➔ Back to article "'''[[{{SUBPAGENAME}}]]'''"
 
➔ Back to article "'''[[{{SUBPAGENAME}}]]'''"
  
[[Category:Latest preview software release templates|{{SUBPAGENAME}}]]
+
[[Category:Latest preview software release templates|{{SUBPAGENAME}}]]</noinclude>
 
+
<noinclude>{{documentation|Template:LPR/doc}}<!-- place categories and language links on the /doc page, not here! --></noinclude>
[[fr:Modèle:Dernière version avancée/Préchargement]]
 
</noinclude>
 

Revision as of 00:35, 9 October 2009


➔ Back to article "syntax"

Template documentation[view] [edit] [history] [purge]

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