Template:PluginCard/doc: Difference between revisions

From Miranda NG
Jump to navigation Jump to search
(Template:PluginCard/doc; pluginCard example (in progress))
 
m (-infobox bordered)
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
== Usage ==
== Usage ==


{| 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;"
{| 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;"
<!-- Title -->
<!-- Title -->
| align="center" colspan=2 bgcolor="#ccccff" style="font-size:110%;" | '''''name'''''
| align="center" colspan=2 bgcolor="#ccccff" style="font-size:110%;" | '''''name'''''
Line 15: Line 15:
{{RowColor|#ccccff|'''Author''' | {{Developer|author}} }}
{{RowColor|#ccccff|'''Author''' | {{Developer|author}} }}
<!-- Authors -->
<!-- Authors -->
{{RowColor|#ccccff|'''Authors''' | authors }}
{{RowColor|#ccccff|'''Authors''' | {{While|tpl=Developer|author_1|author_2}} }}
<!-- Requirements -->
<!-- Requirements -->
|- valign="top"
|- valign="top"
Line 21: Line 21:
<!-- Homepage -->
<!-- Homepage -->
|-
|-
| align="center" colspan="2" |[[{{FULLPAGENAMEE}} |'''Homepage''']]
| align="center" colspan="2" |[{{fullurl:{{FULLPAGENAMEE}}}} '''Homepage''']
<!-- Download links -->
<!-- Download links -->
|-
|-
| align="center" colspan="2" bgcolor="#ccccff" style="font-size:110%;" |{{
| align="center" colspan="2" bgcolor="#ccccff" style="font-size:110%;" | '''Download links'''
<!-- don't display download-title, if there is no links -->
{{RowColor|#fff|Stable version:| [{{fullurl:{{FULLPAGENAMEE}}}} x32], [{{fullurl:{{FULLPAGENAMEE}}}} x64]}}
  #if:{{
{{RowColor|#fff|Current version:| [{{fullurl:{{FULLPAGENAMEE}}}} x32], [{{fullurl:{{FULLPAGENAMEE}}}} x64]}}
        #if: {{{hideDownloadLinks|}}}
        |{{
          #if: {{{additionalLinks|}}}
          | display title
          |{{
              #if: {{#hashvalue:{{#var:PluginFileName}} |additionalLinks}}
              | display title
              |
            }}
        }}
        |{{
          #if: {{#hashvalue:{{#var:PluginFileName}} |hideDownloadLinks}}
          |{{
              #if: {{{additionalLinks|}}}
              | display title
              |{{
                #if: {{#hashvalue:{{#var:PluginFileName}} |additionalLinks}}
                | display title
                |
              }}
            }}
          | display title
        }}
      }}
  | '''Download links:'''
  |&#32;
}}
{{
  #if:
  |
  |
  <!-- stable -->
  {{
    #if: {{#hashvalue:{{#var:PluginFileName}} |hide-stable}}
    |
    |{{
      RowColor|#fff|Stable version:
      |{{ <!-- s-x32 -->
          #if: {{#hashvalue:{{#var:PluginFileName}} |hide-s32}}
          |
          |{{ <!-- custom download link -->
            #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 -->
  {{
    #if: {{#hashvalue:{{#var:PluginFileName}} |hide-latest}}
    |
    |{{
      RowColor|#fff|Current version:
      |{{ <!-- l-x32 -->
          #if: {{#hashvalue:{{#var:PluginFileName}} |hide-l32}}
          |
          |{{ <!-- custom download link -->
            #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]
          }}
        }}
    }}
  }}
}}
<!-- Additional links -->
<!-- Additional links -->
{{RowColor|#fff|Other: | additionalLink_1, additionalLink_2}}
{{RowColor|#fff|Other: | [{{fullurl:{{FULLPAGENAMEE}}}} additionalLink_1], [{{fullurl:{{FULLPAGENAMEE}}}} additionalLink_2]}}
|}
|}


{{clear}}
{{clear}}
== See also ==
== See also ==
* [[Help:Howto/Add a new plugin]]
* [[Help:Howto/Add a new plugin|Howto/Add a new plugin]]


<includeonly>
<includeonly>
<!-- Categories go here -->
[[Category:Managing plugins]]


</includeonly>
</includeonly>

Latest revision as of 20:05, 18 July 2015

This is a documentation subpage for Template:PluginCard .
It contains usage information, categories and other content that is not part of the original template page.

Usage

name
No image
Filename PluginFileName.dll
Author author
Authors author_1, author_2
System
requirements
requirements
Homepage
Download links
Stable version: x32, x64
Current version: x32, x64
Other: additionalLink_1, additionalLink_2

See also