Template:PluginCard: Difference between revisions

From Miranda NG
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}}
    |{{ <!-- s-x32 -->
    |
      #if: {{#hashvalue:{{#var:PluginFileName}} |hide-s32}}
    |{{
      |
      RowColor|#fff|{{#hashvalue: localisation |download-stable |{{#hashvalue:defaultL |download-stable}} }}:
      | [http://miranda-ng.org/distr/stable/x32/Plugins/{{lc:{{#var:PluginFileName}}}}.zip x32],&#32;
      |{{ <!-- s-x32 -->
    }}{{ <!-- s-x64 -->
          #if: {{#hashvalue:{{#var:PluginFileName}} |hide-s32}}
      #if: {{#hashvalue:{{#var:PluginFileName}} |hide-s64}}
          |
      |
          |{{ <!-- custom download link -->
      | [http://miranda-ng.org/distr/stable/x64/Plugins/{{lc:{{#var:PluginFileName}}}}.zip x64]
            #if:  {{#hashvalue:{{#var:PluginFileName}} |link-s32}}
            | [{{#hashvalue:{{#var:PluginFileName}} |link-s32}} x32],&#32;
            | [http://miranda-ng.org/distr/stable/x32/Plugins/{{lc:{{#var:PluginFileName}}}}.zip x32],&#32;
          }}
        }}{{ <!-- 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}}
    |{{ <!-- l-x32 -->
    |
      #if: {{#hashvalue:{{#var:PluginFileName}} |hide-l32}}
    |{{
      |
      RowColor|#fff|{{#hashvalue: localisation |download-current |{{#hashvalue:defaultL |download-current}} }}:
      | [http://miranda-ng.org/distr/x32/Plugins/{{lc:{{#var:PluginFileName}}}}.zip x32],&#32;
      |{{ <!-- l-x32 -->
    }}{{ <!-- l-x64 -->
          #if: {{#hashvalue:{{#var:PluginFileName}} |hide-l32}}
      #if: {{#hashvalue:{{#var:PluginFileName}} |hide-l64}}
          |
      |
          |{{ <!-- custom download link -->
      | [http://miranda-ng.org/distr/x64/Plugins/{{lc:{{#var:PluginFileName}}}}.zip x64]
            #if:  {{#hashvalue:{{#var:PluginFileName}} |link-l32}}
            | [{{#hashvalue:{{#var:PluginFileName}} |link-l32}} x32],&#32;
            | [http://miranda-ng.org/distr/x32/Plugins/{{lc:{{#var:PluginFileName}}}}.zip x32],&#32;
          }}
        }}{{ <!-- 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]
          }}
        }}
     }}
     }}
   }}  
   }}
}}
}}
<!--
<!--

Revision as of 10:16, 31 May 2013

PluginCard
No image
Filename PluginCard.dll


Download links:
Stable version: x32, x64
Development version: x32, x64
Todo: Doc