Template:VersionCard: Difference between revisions

From Miranda NG
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}}:''' {{Rev|{{#hashvalue: VerInfo |revision |}} }}
'''{{#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><includeonly>{{
</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

Template documentation[view] [edit] [history] [purge]

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

Version: 0.96.5

Rev: 27137

Released: 30 April 2024

When used for stable version. Here version 0.96.5.


Version: 0.96.6

Rev:

Released: in development

When used for alpha version.