User:Goraf/PluginCard: Difference between revisions

From Miranda NG
Jump to navigation Jump to search
(now looking for "screenshotOpt" in the order locally -> globally -> default value, in any cases)
(synced)
Line 1: Line 1:
<!-- info about needed changes for implementation
</includeonly><!-- use #titleparts instead of MagicWords if pagetitle will change -->{{
 
1. copy
 
--><!-- use #titleparts instead of MagicWords if pagetitle will change -->{{
   #vardefine:PluginFileName | {{BASEPAGENAMEE}}
   #vardefine:PluginFileName | {{BASEPAGENAMEE}}
}}{{
}}{{
   #vardefine:PluginLang | {{SUBPAGENAME}}
   #if: {{#varexists:PluginLang}}
}}<!-- Load information about plugin
  | {{PageLang | {{#var:PluginLang}} }} <!-- from ResolveLang pages -->
  -->{{PluginInfo|}}<!--  
  | {{#vardefine:PluginLang | {{SUBPAGENAME}} }}{{PageLang | {{SUBPAGENAME}} }} <!-- remove the first one after transition to PageLang -->
Language localisation ...  
}}<!-- Language localisation ...  
   -->{{Localization/PluginCard|{{#var:PluginLang}} }}<!--  
   -->{{Localization/PluginCard|{{#var:PageLang}} }}<!--  
  and default values  
  and default values  
   -->{{Localization/PluginCard|}}<!--
   -->{{Localization/PluginCard|}}<!--
Load information about plugin
  -->{{PluginInfo|}}<!--
  Page title  
  Page title  
   -->{{DISPLAYTITLE: {{
   -->{{DISPLAYTITLE: {{
Line 19: Line 17:
       | {{#hashvalue:{{#var:PluginFileName}} |name |{{#var:PluginFileName}} }}
       | {{#hashvalue:{{#var:PluginFileName}} |name |{{#var:PluginFileName}} }}
       }}
       }}
     }}<!--   
     }}<!--
-->
  Check if Plugin:PluginName page exist if not display warning and add creation link
{| class="infobox bordered plugincard" cellpadding="4" style="margin: 0 0 10px 10px; width: 22em; font-size: 90%; float: right;clear: right; box-shadow:1px 1px 3px #999;"
-->{{#ifexist: Plugin:{{#var:PluginFileName}}
  |
  | {{Warning|Page <tt>Plugin:{{#var:PluginFileName}}</tt> doesn't exist. Please create it using the link below. Content will be generated automatically. You only need to save the changes.
}}<span class="plainlinks createlinks">[{{fullurl:Plugin:{{#var:PluginFileName}} | action=edit&preload=Template:PluginPage/preload&summary=Plugin:{{#var:PluginFileName}} }} '''Create page''']</span>{{clear}}<br/>
}}
{| class="plugincard" cellpadding="4" style="margin: 0 0 10px 10px; width: 22em; font-size: 90%; float: right;clear: right; box-shadow:1px 1px 3px #999;"
<!--
<!--


Line 27: Line 30:


  -->
  -->
| align="center" colspan=2 bgcolor="#ccccff" style="font-size:110%;" | '''''{{
! colspan=2 style="font-size:110%;background-color:#ccccff;" | {{
   #if: {{{name|}}}
   #if: {{{name|}}}
   | {{{name}}}
   | {{{name}}}
   | {{#hashvalue:{{#var:PluginFileName}} |name |{{#var:PluginFileName}} }}
   | {{#hashvalue:{{#var:PluginFileName}} |name |{{#var:PluginFileName}} }}
}}'''''
}}
<!--
<!--


Line 44: Line 47:
   |&#32;
   |&#32;
   |{{!}}-
   |{{!}}-
   {{!}} align="center" colspan="2" {{!}} <!--
   {{!}} colspan="2" style="text-align:center;font-style: italic;"{{!}} <!--
       display an image  
       display an image  
     -->{{
     -->{{
Line 86: Line 89:
             }}
             }}
           ]]
           ]]
         | ''{{#hashvalue: localisation |noimage |{{#hashvalue:defaultL |noimage}} }}'' <!-- no screenshot -->
         | {{#hashvalue: localisation |noimage |{{#hashvalue:defaultL |noimage}} }} <!-- no screenshot -->
       }}
       }}
   }}
   }}
Line 99: Line 102:
   |&#32;
   |&#32;
   |{{
   |{{
     RowColor|#ccccff|'''{{#hashvalue:localisation|filename |{{#hashvalue:defaultL |filename}} }}'''
     RowColor|#ccccff;font-weight:bold|{{#hashvalue:localisation|filename |{{#hashvalue:defaultL |filename}} }}
     |{{ <!-- display filename -->
     |{{ <!-- display filename -->
         #if: {{#hashvalue:{{#var:PluginFileName}} |filename}}
         #if: {{#hashvalue:{{#var:PluginFileName}} |filename}}
Line 114: Line 117:
   #if: {{{author|}}}
   #if: {{{author|}}}
   |{{
   |{{
     RowColor|#ccccff|'''{{#hashvalue: localisation |plugin-author |{{#hashvalue:defaultL |plugin-author}} }}'''
     RowColor|#ccccff;font-weight:bold|{{#hashvalue: localisation |plugin-author |{{#hashvalue:defaultL |plugin-author}} }}
     | {{Developer|{{{author|}}} }}
     | {{Developer|{{{author|}}} }}
   }}
   }}
Line 120: Line 123:
     #if: {{#hashvalue:{{#var:PluginFileName}} |author}}
     #if: {{#hashvalue:{{#var:PluginFileName}} |author}}
     |{{
     |{{
         RowColor|#ccccff|'''{{#hashvalue: localisation |plugin-author |{{#hashvalue:defaultL |plugin-author}} }}'''
         RowColor|#ccccff;font-weight:bold|{{#hashvalue: localisation |plugin-author |{{#hashvalue:defaultL |plugin-author}} }}
         | {{Developer|{{#hashvalue:{{#var:PluginFileName}} |author}} }}
         | {{Developer|{{#hashvalue:{{#var:PluginFileName}} |author}} }}
       }}
       }}
Line 133: Line 136:
   #if: {{{authors|}}}
   #if: {{{authors|}}}
   |{{
   |{{
     RowColor|#ccccff|'''{{#hashvalue: localisation |plugin-authors |{{#hashvalue:defaultL |plugin-authors}} }}'''
     RowColor|#ccccff;font-weight:bold|{{#hashvalue: localisation |plugin-authors |{{#hashvalue:defaultL |plugin-authors}} }}
     | {{{authors|}}}
     | {{{authors|}}}
   }}
   }}
Line 139: Line 142:
     #if: {{#hashvalue:{{#var:PluginFileName}} |authors}}
     #if: {{#hashvalue:{{#var:PluginFileName}} |authors}}
     |{{
     |{{
         RowColor|#ccccff|'''{{#hashvalue: localisation |plugin-authors |{{#hashvalue:defaultL |plugin-authors}} }}'''
         RowColor|#ccccff;font-weight:bold|{{#hashvalue: localisation |plugin-authors |{{#hashvalue:defaultL |plugin-authors}} }}
         | {{#hashvalue:{{#var:PluginFileName}} |authors}}
         | {{#hashvalue:{{#var:PluginFileName}} |authors}}
       }}
       }}
Line 149: Line 152:
  Requirements
  Requirements


  -->|- valign="top"
  -->|- style="vertical-align:top;"
{{
{{
   #if: {{{requirements|}}}
   #if: {{{requirements|}}}
   |{{
   |{{
     RowColor|#ccccff|'''{{#hashvalue: localisation |systemreq |{{#hashvalue:defaultL |systemreq}}}}'''
     RowColor|#ccccff;font-weight:bold|{{#hashvalue: localisation |systemreq |{{#hashvalue:defaultL |systemreq}}}}
     | {{{requirements|}}}
     | {{{requirements|}}}
   }}
   }}
Line 159: Line 162:
     #if: {{#hashvalue:{{#var:PluginFileName}} |requirements}}
     #if: {{#hashvalue:{{#var:PluginFileName}} |requirements}}
     |{{
     |{{
         RowColor|#ccccff|'''{{#hashvalue: localisation |systemreq |{{#hashvalue:defaultL |systemreq}}}}'''
         RowColor|#ccccff;font-weight:bold|{{#hashvalue: localisation |systemreq |{{#hashvalue:defaultL |systemreq}}}}
         | {{#hashvalue:{{#var:PluginFileName}} |requirements}}
         | {{#hashvalue:{{#var:PluginFileName}} |requirements}}
       }}
       }}
Line 172: Line 175:
{{
{{
   #if: {{{homepage|}}}
   #if: {{{homepage|}}}
   | {{!}} align="center" colspan="2" {{!}}[{{{homepage|}}} '''{{#hashvalue: localisation |homepage |{{#hashvalue:defaultL |homepage}} }}''']
   | {{!}} style="text-align:center;font-weight:bold;" colspan="2" {{!}}[{{{homepage|}}} {{#hashvalue: localisation |homepage |{{#hashvalue:defaultL |homepage}} }}]
   |{{
   |{{
     #if: {{#hashvalue:{{#var:PluginFileName}} |homepage}}
     #if: {{#hashvalue:{{#var:PluginFileName}} |homepage}}
     | {{!}} align="center" colspan="2" {{!}}[{{#hashvalue:{{#var:PluginFileName}} |homepage}} '''{{#hashvalue: localisation |homepage |{{#hashvalue:defaultL |homepage}} }}''']
     | {{!}} style="text-align:center;font-weight:bold;" colspan="2" {{!}}[{{#hashvalue:{{#var:PluginFileName}} |homepage}} {{#hashvalue: localisation |homepage |{{#hashvalue:defaultL |homepage}} }}]
     |
     |
   }}
   }}
Line 184: Line 187:


  -->|-
  -->|-
| align="center" colspan="2" bgcolor="#ccccff" style="font-size:110%;" |{{
! colspan="2" style="font-size:110%;background-color:#ccccff;" |{{
<!-- don't display download-title, if there is no links -->
<!-- don't display download-title, if there is no links -->
   #if:{{
   #if:{{
Line 211: Line 214:
         }}
         }}
       }}
       }}
   | '''{{#hashvalue:localisation |download-title |{{#hashvalue:defaultL |download-title}}}}:'''
   | {{#hashvalue:localisation |download-title |{{#hashvalue:defaultL |download-title}}}}
   |&#32;
   |&#32;
}}
}}
Line 226: Line 229:
   |
   |
   |
   |
   <!-- 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],
      |{{ <!-- 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;
            | [//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]
            | [//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],
      |{{ <!-- 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;
            | [//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]
            | [//miranda-ng.org/distr/x64/Plugins/{{lc:{{#var:PluginFileName}}}}.zip x64]
          }}
        }}
     }}
     }}
   }}  
   }}
}}
}}
<!--
<!--
Line 257: Line 284:
  Additional links
  Additional links


  -->{{!}}-
  -->
<!-- check if any -->{{
<!-- check if any -->{{
   #if:{{
   #if:{{
Line 272: Line 299:
     |{{
     |{{
         #if: {{#hashvalue:{{#var:PluginFileName}} |additionalLinks}}
         #if: {{#hashvalue:{{#var:PluginFileName}} |additionalLinks}}
         | {{#hashvalue:{{#var:PluginFileName}} |additionalLinks}},{{#if:{{{additionalLinks|}}} | {{{additionalLinks}}} |}}  
         | {{#hashvalue:{{#var:PluginFileName}} |additionalLinks}},&#32;{{#if:{{{additionalLinks|}}} | {{{additionalLinks}}} |}}  
         |{{
         |{{
           #if: {{{additionalLinks|}}}
           #if: {{{additionalLinks|}}}
Line 283: Line 310:
|}<!--
|}<!--


--><includeonly>{{Languages}}
-->{{Languages}}<!--
[[Category:{{#hashvalue: localisation |cat-lang |{{#hashvalue:defaultL |cat-lang}} }}]]
Load information about plugin's gropus
  -->{{PluginInfo/Groups|}}<!--
Check if plugin is part of a group 'testing' and if so then display proper communicats (warnings etc.)
-->{{
  #if: {{#hashvalue:{{#var:PluginFileName}} |grp-testing}}
  | {{Warning|{{L10n:Messages| test_plug_warn}} }} {{Message|message={{L10n:Messages| test_plug_msg}} }}
}}<!--
 
Categories
 
-->[[Category:{{#hashvalue: localisation |cat-lang |{{#hashvalue:defaultL |cat-lang}} }}]]
[[Category:Plugins]]
[[Category:Plugins]]
{{
{{
Line 291: Line 328:
   | [[Category:Todo:{{#hashvalue: localisation |cat-todo |{{#hashvalue:defaultL |cat-lang}} }}]]
   | [[Category:Todo:{{#hashvalue: localisation |cat-todo |{{#hashvalue:defaultL |cat-lang}} }}]]
}}{{
}}{{
   #ifeq: {{#var:PluginLang}} | en
   #ifeq: {{#var:PageLang}} | en
   |{{
   |{{
     #if: {{#hashvalue:{{#var:PluginFileName}} |screenshot}}
     #if: {{#hashvalue:{{#var:PluginFileName}} |screenshot}}
Line 298: Line 335:
   }}
   }}
   |
   |
}}<nowiki/></includeonly><!--
}}<nowiki/></includeonly>
 
--><noinclude>
 
</noinclude>

Revision as of 21:52, 23 December 2015

</includeonly>

<translate> Warning</translate>
Page Plugin:Goraf doesn't exist. Please create it using the link below. Content will be generated automatically. You only need to save the changes.

Create page


Goraf
No image
Filename Goraf.dll


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

</includeonly>