Template:PluginCard: Difference between revisions
Jump to navigation
Jump to search
m (unnecessary part of the code) |
(new option to hide links; support for custom download link;) |
||
Line 205: | Line 205: | ||
<!-- stable --> | <!-- stable --> | ||
{{ | {{ | ||
RowColor|#fff|{{#hashvalue: localisation |download-stable |{{#hashvalue:defaultL |download-stable}} }}: | #if: {{#hashvalue:{{#var:PluginFileName}} |hide-stable}} | ||
| | |||
|{{ | |||
RowColor|#fff|{{#hashvalue: localisation |download-stable |{{#hashvalue:defaultL |download-stable}} }}: | |||
|{{ <!-- s-x32 --> | |||
#if: {{#hashvalue:{{#var:PluginFileName}} |hide-s32}} | |||
| | |||
|{{ <!-- custom download link --> | |||
#if: {{#hashvalue:{{#var:PluginFileName}} |link-s32}} | |||
| [{{#hashvalue:{{#var:PluginFileName}} |link-s32}} x32],  | |||
| [http://miranda-ng.org/distr/stable/x32/Plugins/{{lc:{{#var:PluginFileName}}}}.zip x32],  | |||
}} | |||
}}{{ <!-- s-x64 --> | |||
#if: {{#hashvalue:{{#var:PluginFileName}} |hide-s64}} | |||
| | |||
|{{ <!-- custom download link --> | |||
#if: {{#hashvalue:{{#var:PluginFileName}} |link-s64}} | |||
| [{{#hashvalue:{{#var:PluginFileName}} |link-s64}} x64] | |||
| [http://miranda-ng.org/distr/stable/x64/Plugins/{{lc:{{#var:PluginFileName}}}}.zip x64] | |||
}} | |||
}} | |||
}} | }} | ||
}} | }} | ||
<!-- latest --> | <!-- latest --> | ||
{{ | {{ | ||
RowColor|#fff|{{#hashvalue: localisation |download-current |{{#hashvalue:defaultL |download-current}} }}: | #if: {{#hashvalue:{{#var:PluginFileName}} |hide-latest}} | ||
| | |||
|{{ | |||
RowColor|#fff|{{#hashvalue: localisation |download-current |{{#hashvalue:defaultL |download-current}} }}: | |||
|{{ <!-- l-x32 --> | |||
#if: {{#hashvalue:{{#var:PluginFileName}} |hide-l32}} | |||
| | |||
|{{ <!-- custom download link --> | |||
#if: {{#hashvalue:{{#var:PluginFileName}} |link-l32}} | |||
| [{{#hashvalue:{{#var:PluginFileName}} |link-l32}} x32],  | |||
| [http://miranda-ng.org/distr/x32/Plugins/{{lc:{{#var:PluginFileName}}}}.zip x32],  | |||
}} | |||
}}{{ <!-- l-x64 --> | |||
#if: {{#hashvalue:{{#var:PluginFileName}} |hide-l64}} | |||
| | |||
|{{ <!-- custom download link --> | |||
#if: {{#hashvalue:{{#var:PluginFileName}} |link-l64}} | |||
| [{{#hashvalue:{{#var:PluginFileName}} |link-l64}} x64] | |||
| [http://miranda-ng.org/distr/x64/Plugins/{{lc:{{#var:PluginFileName}}}}.zip x64] | |||
}} | |||
}} | |||
}} | }} | ||
}} | }} | ||
}} | }} | ||
<!-- | <!-- |