Template:PluginCard: Difference between revisions

From Miranda NG
Jump to navigation Jump to search
(ability to specify options for screenshot locally and globally (PluginInfo) using screenshotOpt parameter)
(now looking for "screenshotOpt" in the order locally -> globally -> default value, in any cases)
Line 53: Line 53:
               |  
               |  
             }}
             }}
           | border{{!}}200px <!-- default image options -->
           |{{
              #if: {{#hashkeyexists:{{#var:PluginFileName}} |screenshotOpt}} <!-- if specified -->
              | {{#hashvalue:{{#var:PluginFileName}} |screenshotOpt |&#32;}} <!-- &#32; if empty -->
              | border{{!}}200px <!-- default image options -->
            }}
         }} | <!-- caption -->{{
         }} | <!-- caption -->{{
           #if: {{{name|}}}
           #if: {{{name|}}}
Line 63: Line 67:
         #if: {{#hashvalue:{{#var:PluginFileName}} |screenshot}}
         #if: {{#hashvalue:{{#var:PluginFileName}} |screenshot}}
         | [[File:{{#hashvalue:{{#var:PluginFileName}} |screenshot}} | {{
         | [[File:{{#hashvalue:{{#var:PluginFileName}} |screenshot}} | {{
               #if: {{#hashkeyexists:{{#var:PluginFileName}} |screenshotOpt}} <!-- if specified -->
               #ifeq: {{{screenshotOpt|}}} | {{{screenshotOpt|-}}} <!-- specified and may be empty -->
              | {{#hashvalue:{{#var:PluginFileName}} |screenshotOpt |&#32;}} <!-- &#32; if empty -->
              |{{
              | border{{!}}200px  <!-- default image options -->
                #if: {{{screenshotOpt|}}} <!-- if not empty -->
                | {{{screenshotOpt}}}
                | &#32;
              }}
              |{{
                #if: {{#hashkeyexists:{{#var:PluginFileName}} |screenshotOpt}} <!-- if specified -->
                | {{#hashvalue:{{#var:PluginFileName}} |screenshotOpt |&#32;}} <!-- &#32; if empty -->
                | border{{!}}200px  <!-- default image options -->
              }}
             }} | <!-- caption  -->{{
             }} | <!-- caption  -->{{
               #if: {{{name|}}}
               #if: {{{name|}}}

Revision as of 18:05, 1 June 2013

PluginCard
No image
Filename PluginCard.dll


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