Template:PluginCard: Difference between revisions

From Miranda NG
Jump to navigation Jump to search
(new option to hide links; support for custom download link;)
(ability to specify options for screenshot locally and globally (PluginInfo) using screenshotOpt parameter)
Line 46: Line 46:
     -->{{
     -->{{
     #if: {{{screenshot|}}}
     #if: {{{screenshot|}}}
     | [[Image:{{{screenshot}}}{{!}}border{{!}}200px{{!}}<!--
     | [[File:{{{screenshot}}} | {{
      caption
          #ifeq: {{{screenshotOpt|}}} | {{{screenshotOpt|-}}} <!-- specified and may be empty -->
      -->{{
          |{{
        #if: {{{name|}}}
              #if: {{{screenshotOpt|}}} <!-- if not empty -->
        | {{{name}}}
              | {{{screenshotOpt}}}
        | {{#hashvalue:{{#var:PluginFileName}} |name |{{#var:PluginFileName}} }}
              | &#32;
      }}]]
            }}
    |{{
          | border{{!}}200px <!-- default image options -->
        #if: {{#hashvalue:{{#var:PluginFileName}} |screenshot}}
        }} | <!-- caption -->{{
        | [[Image:{{#hashvalue:{{#var:PluginFileName}} |screenshot}}{{!}}border{{!}}200px{{!}}<!--
        caption
          -->{{
           #if: {{{name|}}}
           #if: {{{name|}}}
           | {{{name}}}
           | {{{name}}}
           | {{#hashvalue:{{#var:PluginFileName}} |name |{{#var:PluginFileName}} }}
           | {{#hashvalue:{{#var:PluginFileName}} |name |{{#var:PluginFileName}} }}
         }}]]<!--
         }}
        no screenshot -->
      ]]
         | ''{{#hashvalue: localisation |noimage |{{#hashvalue:defaultL |noimage}} }}''
    |{{
        #if: {{#hashvalue:{{#var:PluginFileName}} |screenshot}}
        | [[File:{{#hashvalue:{{#var:PluginFileName}} |screenshot}} | {{
              #if: {{#hashkeyexists:{{#var:PluginFileName}} |screenshotOpt}} <!-- if specified -->
              | {{#hashvalue:{{#var:PluginFileName}} |screenshotOpt |&#32;}} <!-- &#32; if empty -->
              | border{{!}}200px  <!-- default image options -->
            }} | <!-- caption  -->{{
              #if: {{{name|}}}
              | {{{name}}}
              | {{#hashvalue:{{#var:PluginFileName}} |name |{{#var:PluginFileName}} }}
            }}
          ]]
         | ''{{#hashvalue: localisation |noimage |{{#hashvalue:defaultL |noimage}} }}'' <!-- no screenshot -->
       }}
       }}
   }}
   }}

Revision as of 17:44, 1 June 2013

PluginCard
No image
Filename PluginCard.dll


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