Difference between revisions of "Template:LPR/doc"
Jump to navigation
Jump to search
imported>Tothwolf ({{high-use}}; This is the message box I meant to use when I created the /doc subpage...) |
|||
| Line 2: | Line 2: | ||
{{high-use}} | {{high-use}} | ||
| − | == Function == | + | ==Function== |
Format release version and date for display in [[Help:Infobox|infoboxes]] and [[Help:Table|wikitables]]. | Format release version and date for display in [[Help:Infobox|infoboxes]] and [[Help:Table|wikitables]]. | ||
| − | == Usage == | + | ==Usage== |
{| style="float: left; border: none;" | {| style="float: left; border: none;" | ||
|<pre> | |<pre> | ||
{{LPR | {{LPR | ||
| article = | | article = | ||
| − | | | + | | latest release version = |
| − | | | + | | latest release date = <!-- {{Start date and age|YYYY|MM|DD}} --> |
}} | }} | ||
</pre> | </pre> | ||
| Line 17: | Line 17: | ||
{{-}} | {{-}} | ||
| − | == Example == | + | ==Example== |
{{LPR | {{LPR | ||
| article = MediaWiki | | article = MediaWiki | ||
| − | | | + | | latest release version = 1.15alpha |
| − | | | + | | latest release date = {{Start date|2009|01}} |
}} | }} | ||
| Line 27: | Line 27: | ||
{{LPR | {{LPR | ||
| article = MediaWiki | | article = MediaWiki | ||
| − | | | + | | latest release version = 1.15alpha |
| − | | | + | | latest release date = {{Start date|2009|01}} |
}} | }} | ||
</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. | ||
| − | If the <code> | + | If the <code>latest release version</code> parameter is empty this template will not display anything. |
| − | The <code> | + | The <code>latest release date</code> parameter is optional and if left empty no date will be shown. |
| − | == See also == | + | ==See also== |
| − | * {{tl|LSR}} | + | *{{tl|LSR}} |
<includeonly> | <includeonly> | ||
Revision as of 06:31, 11 May 2010
| 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. |
| This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Transclusion count updated automatically (see documentation). |
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}}