Template:LSR/doc: Difference between revisions
Appearance
Content deleted Content added
interwiki |
Neustradamus (talk | contribs) mNo edit summary |
||
Line 5: | Line 5: | ||
== Usage == |
== Usage == |
||
⚫ | |||
{| class="wikitable" |
|||
⚫ | |||
!Parameters: |
|||
⚫ | |||
|- |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
Example |
== Example == |
||
{{LSR |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
}} |
|||
⚫ | |||
⚫ | |||
Appears as: |
|||
⚫ | |||
{{LSR |
{{LSR |
||
| article = MediaWiki |
| article = MediaWiki |
||
| latest_release_version = 1.14.0 |
| latest_release_version = 1.14.0 |
||
| latest_release_date = {{Start date and age|2009|02|22}} |
| latest_release_date = {{Start date and age|2009|02|22}} |
||
}} |
}} |
||
</pre> |
|||
{{-}} |
|||
== |
== 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. |
||
Revision as of 14:30, 30 September 2009
This is a documentation subpage for Template:LSR. It may contain usage information, categories and other content that is not part of the original template page. |
Function
Format release version and date for display in an Infobox.
Usage
{{LSR | article = | latest_release_version = | latest_release_date = <!-- {{Start date and age|YYYY|MM|DD}} --> }}
Example
1.14.0 (February 22, 2009[±]
){{LSR | article = MediaWiki | latest_release_version = 1.14.0 | latest_release_date = {{Start date and age|2009|02|22}} }}
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
- {{LPR}}