User:Goraf/PluginCard: Difference between revisions
Jump to navigation
Jump to search
(partial code cleaning) |
(code cleaning) |
||
Line 23: | Line 23: | ||
{| 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="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;" | ||
<!-- | <!-- | ||
Title | Title | ||
--> | --> | ||
| align="center" colspan=2 bgcolor="#ccccff" style="font-size:110%;" | '''''{{ | | align="center" colspan=2 bgcolor="#ccccff" style="font-size:110%;" | '''''{{ | ||
Line 31: | Line 33: | ||
}}''''' | }}''''' | ||
<!-- | <!-- | ||
Screenshot | Screenshot | ||
-->{{ | -->{{ | ||
#ifeq: {{ | #ifeq: {{ | ||
Line 66: | Line 70: | ||
}} | }} | ||
<!-- | <!-- | ||
Filename | Filename | ||
-->|- | -->|- | ||
{{ | {{ | ||
#if: {{#hashvalue:{{#var:PluginFileName}} |hideFileName}} | #if: {{#hashvalue:{{#var:PluginFileName}} |hideFileName}} | ||
|  | |  | ||
| {{RowColor|#ccccff|'''{{#hashvalue:localisation|filename |{{#hashvalue:defaultL |filename}} }}''' | {{ <!-- display filename --> | |{{ | ||
RowColor|#ccccff|'''{{#hashvalue:localisation|filename |{{#hashvalue:defaultL |filename}} }}''' | |||
|{{ <!-- display filename --> | |||
#if: {{#hashvalue:{{#var:PluginFileName}} |filename}} | |||
| {{#hashvalue:{{#var:PluginFileName}} |filename}} | |||
| {{#var:PluginFileName}} | |||
}}.dll | |||
}} | |||
}} | }} | ||
<!-- | <!-- | ||
Author | Author | ||
-->{{#if:{{{author|}}} | {{RowColor|#ccccff|'''{{#hashvalue: localisation |plugin-author |{{#hashvalue:defaultL |plugin-author}} }}''' | {{Developer|{{{author|}}} }} }} | |||
-->{{ | |||
#if: {{{author|}}} | |||
|{{ | |||
RowColor|#ccccff|'''{{#hashvalue: localisation |plugin-author |{{#hashvalue:defaultL |plugin-author}} }}''' | |||
| {{Developer|{{{author|}}} }} | |||
}} | |||
|{{ | |||
#if: {{#hashvalue:{{#var:PluginFileName}} |author}} | |||
|{{ | |||
RowColor|#ccccff|'''{{#hashvalue: localisation |plugin-author |{{#hashvalue:defaultL |plugin-author}} }}''' | |||
| {{Developer|{{#hashvalue:{{#var:PluginFileName}} |author}} }} | |||
}} | |||
| | |||
}} | |||
}} | |||
<!-- | <!-- | ||
Authors | Authors | ||
-->{{#if:{{{authors|}}} | {{RowColor|#ccccff|'''{{#hashvalue: localisation |plugin-authors |{{#hashvalue:defaultL |plugin-authors}} }}''' | {{{authors|}}} }} | |||
-->{{ | |||
#if: {{{authors|}}} | |||
|{{ | |||
RowColor|#ccccff|'''{{#hashvalue: localisation |plugin-authors |{{#hashvalue:defaultL |plugin-authors}} }}''' | |||
| {{{authors|}}} | |||
}} | |||
|{{ | |||
#if: {{#hashvalue:{{#var:PluginFileName}} |authors}} | |||
|{{ | |||
RowColor|#ccccff|'''{{#hashvalue: localisation |plugin-authors |{{#hashvalue:defaultL |plugin-authors}} }}''' | |||
| {{#hashvalue:{{#var:PluginFileName}} |authors}} | |||
}} | |||
| | |||
}} | |||
}} | |||
<!-- | <!-- | ||
Requirements | Requirements | ||
-->|- valign="top" | -->|- valign="top" | ||
{{#if:{{{requirements|}}} | | {{ | ||
#if: {{{requirements|}}} | |||
|{{ | |||
RowColor|#ccccff|'''{{#hashvalue: localisation |systemreq |{{#hashvalue:defaultL |systemreq}}}}''' | |||
| {{{requirements|}}} | |||
}} | |||
|{{ | |||
#if: {{#hashvalue:{{#var:PluginFileName}} |requirements}} | |||
|{{ | |||
RowColor|#ccccff|'''{{#hashvalue: localisation |systemreq |{{#hashvalue:defaultL |systemreq}}}}''' | |||
| {{#hashvalue:{{#var:PluginFileName}} |requirements}} | |||
}} | |||
| | |||
}} | |||
}} | |||
<!-- | <!-- | ||
Homepage | Homepage | ||
-->|- | -->|- | ||
{{#if:{{{homepage|}}} | {{!}} align="center" colspan="2" {{!}}[{{{homepage|}}} '''{{#hashvalue: localisation |homepage |{{#hashvalue:defaultL |homepage}} }}'''] | {{ | ||
#if: {{{homepage|}}} | |||
| {{!}} align="center" colspan="2" {{!}}[{{{homepage|}}} '''{{#hashvalue: localisation |homepage |{{#hashvalue:defaultL |homepage}} }}'''] | |||
|{{ | |||
#if: {{#hashvalue:{{#var:PluginFileName}} |homepage}} | |||
| {{!}} align="center" colspan="2" {{!}}[{{#hashvalue:{{#var:PluginFileName}} |homepage}} '''{{#hashvalue: localisation |homepage |{{#hashvalue:defaultL |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%;" | | ||
'''{{#hashvalue:localisation |download-title |{{#hashvalue:defaultL |download-title}}}}:''' | '''{{#hashvalue:localisation |download-title |{{#hashvalue:defaultL |download-title}}}}:''' | ||
{{#if:{{#if:{{{hideDownloadLinks|}}} | {{{hideDownloadLinks}}} | {{#if:{{#hashvalue:{{#var:PluginFileName}} |hideDownloadLinks}} | {{#hashvalue:{{#var:PluginFileName}} |hideDownloadLinks}} }} }} | | | {{ | ||
<!-- | #if:{{ | ||
#if: {{{hideDownloadLinks|}}} | |||
{{RowColor|#fff|{{#hashvalue: localisation |download-stable |{{#hashvalue:defaultL |download-stable}} }}: | <!-- | | {{{hideDownloadLinks}}} | ||
|{{ | |||
#if: {{#hashvalue:{{#var:PluginFileName}} |hideDownloadLinks}} | |||
<!-- | | {{#hashvalue:{{#var:PluginFileName}} |hideDownloadLinks}} | ||
| | |||
{{RowColor|#fff|{{#hashvalue: localisation |download-current |{{#hashvalue:defaultL |download-current}} }}: | <!-- | }} | ||
}} | |||
|  | |||
| | |||
<!-- stable -->{{!}}- | |||
{{ | |||
RowColor|#fff|{{#hashvalue: localisation |download-stable |{{#hashvalue:defaultL |download-stable}} }}: | |||
|{{ <!-- s-x32 --> | |||
#if: {{#hashvalue:{{#var:PluginFileName}} |hide-s32}} | |||
| | |||
| [http://miranda-ng.org/distr/stable/x32/Plugins/{{lc:{{#var:PluginFileName}}}}.zip x32], | |||
}}{{ <!-- s-x64 --> | |||
#if: {{#hashvalue:{{#var:PluginFileName}} |hide-s64}} | |||
| | |||
| [http://miranda-ng.org/distr/stable/x64/Plugins/{{lc:{{#var:PluginFileName}}}}.zip x64] | |||
}} | |||
}} | |||
<!-- latest -->{{!}}- | |||
{{ | |||
RowColor|#fff|{{#hashvalue: localisation |download-current |{{#hashvalue:defaultL |download-current}} }}: | |||
|{{ <!-- l-x32 --> | |||
#if: {{#hashvalue:{{#var:PluginFileName}} |hide-l32}} | |||
| | |||
| [http://miranda-ng.org/distr/x32/Plugins/{{lc:{{#var:PluginFileName}}}}.zip x32], | |||
}}{{ <!-- l-x64 --> | |||
#if: {{#hashvalue:{{#var:PluginFileName}} |hide-l64}} | |||
| | |||
| [http://miranda-ng.org/distr/x64/Plugins/{{lc:{{#var:PluginFileName}}}}.zip x64] | |||
}} | |||
}} | |||
}} | |||
<!-- | <!-- | ||
Additional links | Additional links | ||
-->{{!}}- | -->{{!}}- | ||
<!-- | <!-- | ||
check if any -->{{#if:{{#if:{{{additionalLinks|}}} | {{{additionalLinks}}} | {{#if:{{#hashvalue:{{#var:PluginFileName}} |additionalLinks}} | {{#hashvalue:{{#var:PluginFileName}} |additionalLinks}} }} }} | | check if any --> | ||
{{ | |||
| {{#if:{{#hashvalue:{{#var:PluginFileName}} |additionalLinks}} | {{#hashvalue:{{#var:PluginFileName}} |additionalLinks}},{{#if:{{{additionalLinks|}}} | {{{additionalLinks}}} }} | #if:{{ | ||
| {{#if:{{{additionalLinks|}}} | {{{additionalLinks}}} }} }} }} }} | #if: {{{additionalLinks|}}} | ||
| {{{additionalLinks}}} | |||
|{{ | |||
#if: {{#hashvalue:{{#var:PluginFileName}} |additionalLinks}} | |||
| {{#hashvalue:{{#var:PluginFileName}} |additionalLinks}} | |||
| | |||
}} | |||
}} | |||
|{{ | |||
RowColor|#fff|{{#hashvalue: localisation |links-other |{{#hashvalue:defaultL |links-other}} }}: | |||
|{{ | |||
#if: {{#hashvalue:{{#var:PluginFileName}} |additionalLinks}} | |||
| {{#hashvalue:{{#var:PluginFileName}} |additionalLinks}},{{#if:{{{additionalLinks|}}} | {{{additionalLinks}}} |}} | |||
|{{ | |||
#if: {{{additionalLinks|}}} | |||
| {{{additionalLinks}}} | |||
| | |||
}} | |||
}} | |||
}} | |||
}} | |||
|}<!-- | |}<!-- | ||
--><includeonly>{{Languages}} | --><includeonly>{{Languages}} | ||
[[Category:{{#hashvalue: localisation |cat-lang |{{#hashvalue:defaultL |cat-lang}} }}]] | |||
{{#if:{{{screenshot}}}| |[[Category:Todo:{{#hashvalue: localisation |cat-todo |{{#hashvalue:defaultL |cat-lang}} }}]] }} | [[Category:Plugins]] | ||
{{#ifeq: {{#var:PluginLang}} | en | {{#if:{{#hashvalue:{{#var:PluginFileName}} |screenshot}} | | [[Category:Todo:{{#hashvalue: localisation |cat-todo |{{#hashvalue:defaultL |cat-lang}} }}]] }} | }}<nowiki/></includeonly><!-- | {{ | ||
#if: {{{screenshot}}} | |||
| | |||
| [[Category:Todo:{{#hashvalue: localisation |cat-todo |{{#hashvalue:defaultL |cat-lang}} }}]] | |||
}}{{ | |||
#ifeq: {{#var:PluginLang}} | en | |||
|{{ | |||
#if: {{#hashvalue:{{#var:PluginFileName}} |screenshot}} | |||
| | |||
| [[Category:Todo:{{#hashvalue: localisation |cat-todo |{{#hashvalue:defaultL |cat-lang}} }}]] | |||
}} | |||
| | |||
}}<nowiki/></includeonly><!-- | |||
--><noinclude> | --><noinclude> | ||
{{Todo| Doc }} | {{Todo| Doc }} | ||
</noinclude> | </noinclude> |