Template:VersionAndDate

From LXDE.org
Revision as of 11:10, 25 October 2014 by Jcsl (talk | contribs) (Fix component name.)
Jump to: navigation, search

Invalid component name in template!

Description

This template collects the version and release date of all of the LXDE components in one place to ease maintenance burden. Release date is in YYYY-MM-DD format as expected by Infobox component template.

{{VersionAndDate | component-name | display-version | display-release-date }}
component-name
Mandatory. The name of the component you want to display. component-name must be in lowercase.
display-version
Optional. If non empty, it displays the version number of the component. If used, type 'y' for clarity, otherwise leave it empty, please.
display-release-date
Optional. If non empty, it displays the release date in format YYYY-MM-DD of the component. If used, type 'y' for clarity, otherwise leave it empty, please.

Note that you can pass an empty display-version and display-release-date, in which case nothing is displayed.

Usage examples

Code Result
{{VersionAndDate | pcmanfm-legacy | y |}} 0.5.2
{{VersionAndDate | pcmanfm-legacy | | y}} 2009-10-25
{{VersionAndDate | pcmanfm-legacy | y | y}} 0.5.2 2009-10-25