Difference between revisions of "Template:LPR/doc"
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) |
||
| Line 2: | Line 2: | ||
== Function == | == Function == | ||
| − | Format release version and date for display in | + | Format release version and date for display in [[Help:Infobox|infoboxes]] and [[Help:Table|wikitables]]. |
== Usage == | == Usage == | ||
| − | <pre> | + | {| style="float: left; border: none;" |
| + | |<pre> | ||
{{LPR | {{LPR | ||
| − | + | | article = | |
| − | + | | latest_release_version = | |
| − | + | | latest_release_date = <!-- {{Start date and age|YYYY|MM|DD}} --> | |
}} | }} | ||
</pre> | </pre> | ||
| + | |} | ||
| + | {{-}} | ||
== Example == | == Example == | ||
{{LPR | {{LPR | ||
| − | + | | article = MediaWiki | |
| − | + | | latest_release_version = 1.15alpha | |
| − | + | | latest_release_date = {{Start date|2009|01}} | |
}} | }} | ||
<pre style="overflow:auto;"> | <pre style="overflow:auto;"> | ||
{{LPR | {{LPR | ||
| − | + | | article = MediaWiki | |
| − | + | | latest_release_version = 1.15alpha | |
| − | + | | latest_release_date = {{Start date|2009|01}} | |
}} | }} | ||
</pre> | </pre> | ||
| − | |||
== Parameters == | == Parameters == | ||
| Line 44: | Line 46: | ||
[[Category:Latest preview software release templates| ]] | [[Category:Latest preview software release templates| ]] | ||
<!-- ADD INTERWIKIS BELOW THIS LINE --> | <!-- ADD INTERWIKIS BELOW THIS LINE --> | ||
| + | [[fr:Modèle:Dernière version avancée/Préchargement]] | ||
</includeonly> | </includeonly> | ||
Revision as of 00:34, 9 October 2009
| This is a documentation subpage for Template:LPR. It contains usage information, categories and other content that is not part of the original template page. |
Contents
Function
Format release version and date for display in infoboxes and wikitables.
Usage
{{LPR
| article =
| latest_release_version =
| latest_release_date = <!-- {{Start date and age|YYYY|MM|DD}} -->
}}
|
Example
1.15alpha (January 2009) [±]
{{LPR
| article = MediaWiki
| latest_release_version = 1.15alpha
| latest_release_date = {{Start date|2009|01}}
}}
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.
See also
- {{LSR}}