Template:VersionCard: Difference between revisions
Jump to navigation
Jump to search
(fix for languagebar) |
(replacing revision with github release tag) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<!-- Language localization -->{{ | <includeonly><!-- Language localization -->{{ | ||
Localization/VersionCard| {{#var:PageLang}} | Localization/VersionCard| {{#var:PageLang}} | ||
}}{{VersionInfo| {{SUBPAGENAME}} }}<div style="float:right; width:200px; margin:5px 10px; padding:1em; box-shadow:1px 1px 3px #ddd;"> | }}{{VersionInfo| {{SUBPAGENAME}} }}<div style="float:right; width:200px; margin:5px 10px; padding:1em; box-shadow:1px 1px 3px #ddd;"> | ||
'''{{#hashvalue: localisation |version |Version}}:''' {{SUBPAGENAME}} | '''{{#hashvalue: localisation |version |Version}}:''' {{SUBPAGENAME}} | ||
'''{{#hashvalue: localisation |revision |Rev}}:''' | '''{{#hashvalue: localisation |revision |Rev}}:''' {{#hashkeyexists: VerInfo |released | [https://github.com/miranda-ng/miranda-ng/releases/tag/v{{SUBPAGENAME}} v{{SUBPAGENAME}}] | }} | ||
'''{{#hashvalue: localisation |released |Released}}:''' {{#hashkeyexists: VerInfo |released |{{Date/VerInfo | {{#hashvalue: VerInfo |released |}} }} |{{#hashvalue: localisation |indev |in development}} }} | '''{{#hashvalue: localisation |released |Released}}:''' {{#hashkeyexists: VerInfo |released |{{Date/VerInfo | {{#hashvalue: VerInfo |released |}} }} |{{#hashvalue: localisation |indev |in development}} }} | ||
</div | </div>{{ | ||
#if: {{#hashvalue: localisation |cat-changelog}} | #if: {{#hashvalue: localisation |cat-changelog}} | ||
| [[Category:{{#hashvalue: localisation |cat-changelog}}]] | | [[Category:{{#hashvalue: localisation |cat-changelog}}]] |
Latest revision as of 15:50, 11 August 2017
Displays basic information about releases in form of the card. See below.
Usage
{{VersionCard}}
That's all. Nothing else is needed. Template extracts all needed information by itself.
Examples
When used for stable version. Here version 0.96.6.
Version: 0.96.7
Rev: 4479
Released: in developmentWhen used for alpha version.
The above documentation is transcluded from Template:VersionCard/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |