Template:PluginCard and Template:PluginCard/sandbox: Difference between pages
(Difference between pages)
Jump to navigation
Jump to search
Dart Raiden (talk | contribs) No edit summary Tag: Manual revert |
Dart Raiden (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
#if: {{#varexists:PluginLang}} | #if: {{#varexists:PluginLang}} | ||
| {{PageLang | {{#var:PluginLang}} }} <!-- from ResolveLang pages --> | | {{PageLang | {{#var:PluginLang}} }} <!-- from ResolveLang pages --> | ||
| {{#vardefine:PluginLang | {{ | | {{#vardefine:PluginLang | {{SUBPAGENAME}} }}{{PageLang | {{SUBPAGENAME}} }} <!-- remove the first one after transition to PageLang --> | ||
}}<!-- Language localisation ... | }}<!-- Language localisation ... | ||
-->{{Localization/PluginCard|{{#var:PageLang}} }}<!-- | -->{{Localization/PluginCard|{{#var:PageLang}} }}<!-- | ||
Line 21: | Line 21: | ||
-->{{#ifexist: Plugin:{{#var:PluginFileName}} | -->{{#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/> | }}<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 | {| 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 30: | Line 30: | ||
--> | --> | ||
| colspan=2 style="font-size:110%;background-color:#ccccff;text-align:center;" | '''''{{ | |||
#if: {{{name|}}} | #if: {{{name|}}} | ||
| {{{name}}} | | {{{name}}} | ||
| {{#hashvalue:{{#var:PluginFileName}} |name |{{#var:PluginFileName}} }} | | {{#hashvalue:{{#var:PluginFileName}} |name |{{#var:PluginFileName}} }} | ||
}} | }}''''' | ||
<!-- | <!-- | ||
Line 47: | Line 47: | ||
|  | |  | ||
|{{!}}- | |{{!}}- | ||
{{!}} colspan="2 | {{!}} colspan="2" style="text-align:center;"{{!}} <!-- | ||
display an image | display an image | ||
-->{{ | -->{{ | ||
Line 89: | Line 89: | ||
}} | }} | ||
]] | ]] | ||
| {{#hashvalue: localisation |noimage |{{#hashvalue:defaultL |noimage}} }} <!-- no screenshot --> | | ''{{#hashvalue: localisation |noimage |{{#hashvalue:defaultL |noimage}} }}'' <!-- no screenshot --> | ||
}} | }} | ||
}} | }} | ||
Line 97: | Line 97: | ||
Filename | Filename | ||
-->|- | -->|- | ||
{{ | {{ | ||
#if: {{#hashvalue:{{#var:PluginFileName}} |hideFileName}} | #if: {{#hashvalue:{{#var:PluginFileName}} |hideFileName}} | ||
|  | |  | ||
|{{ | |{{ | ||
RowColor|#ccccff | RowColor|#ccccff|'''{{#hashvalue:localisation|filename |{{#hashvalue:defaultL |filename}} }}''' | ||
|{{ <!-- display filename --> | |{{ <!-- display filename --> | ||
#if: {{#hashvalue:{{#var:PluginFileName}} |filename}} | #if: {{#hashvalue:{{#var:PluginFileName}} |filename}} | ||
Line 117: | Line 117: | ||
#if: {{{author|}}} | #if: {{{author|}}} | ||
|{{ | |{{ | ||
RowColor|#ccccff | RowColor|#ccccff|'''{{#hashvalue: localisation |plugin-author |{{#hashvalue:defaultL |plugin-author}} }}''' | ||
| {{Developer|{{{author|}}} }} | | {{Developer|{{{author|}}} }} | ||
}} | }} | ||
Line 123: | Line 123: | ||
#if: {{#hashvalue:{{#var:PluginFileName}} |author}} | #if: {{#hashvalue:{{#var:PluginFileName}} |author}} | ||
|{{ | |{{ | ||
RowColor|#ccccff | RowColor|#ccccff|'''{{#hashvalue: localisation |plugin-author |{{#hashvalue:defaultL |plugin-author}} }}''' | ||
| {{Developer|{{#hashvalue:{{#var:PluginFileName}} |author}} }} | | {{Developer|{{#hashvalue:{{#var:PluginFileName}} |author}} }} | ||
}} | }} | ||
Line 136: | Line 136: | ||
#if: {{{authors|}}} | #if: {{{authors|}}} | ||
|{{ | |{{ | ||
RowColor|#ccccff | RowColor|#ccccff|'''{{#hashvalue: localisation |plugin-authors |{{#hashvalue:defaultL |plugin-authors}} }}''' | ||
| {{{authors|}}} | | {{{authors|}}} | ||
}} | }} | ||
Line 142: | Line 142: | ||
#if: {{#hashvalue:{{#var:PluginFileName}} |authors}} | #if: {{#hashvalue:{{#var:PluginFileName}} |authors}} | ||
|{{ | |{{ | ||
RowColor|#ccccff | RowColor|#ccccff|'''{{#hashvalue: localisation |plugin-authors |{{#hashvalue:defaultL |plugin-authors}} }}''' | ||
| {{#hashvalue:{{#var:PluginFileName}} |authors}} | | {{#hashvalue:{{#var:PluginFileName}} |authors}} | ||
}} | }} | ||
Line 152: | Line 152: | ||
Requirements | Requirements | ||
-->|- style="vertical-align:top; | -->|- style="vertical-align:top;" | ||
{{ | {{ | ||
#if: {{{requirements|}}} | #if: {{{requirements|}}} | ||
|{{ | |{{ | ||
RowColor|#ccccff | RowColor|#ccccff|'''{{#hashvalue: localisation |systemreq |{{#hashvalue:defaultL |systemreq}}}}''' | ||
| {{{requirements|}}} | | {{{requirements|}}} | ||
}} | }} | ||
Line 162: | Line 162: | ||
#if: {{#hashvalue:{{#var:PluginFileName}} |requirements}} | #if: {{#hashvalue:{{#var:PluginFileName}} |requirements}} | ||
|{{ | |{{ | ||
RowColor|#ccccff | RowColor|#ccccff|'''{{#hashvalue: localisation |systemreq |{{#hashvalue:defaultL |systemreq}}}}''' | ||
| {{#hashvalue:{{#var:PluginFileName}} |requirements}} | | {{#hashvalue:{{#var:PluginFileName}} |requirements}} | ||
}} | }} | ||
Line 172: | Line 172: | ||
Homepage | Homepage | ||
-->|- | -->|- | ||
{{ | {{ | ||
#if: {{{homepage|}}} | #if: {{{homepage|}}} | ||
| {{!}} style="text-align:center | | {{!}} style="text-align:center;" colspan="2" {{!}}[{{{homepage|}}} '''{{#hashvalue: localisation |homepage |{{#hashvalue:defaultL |homepage}} }}'''] | ||
|{{ | |{{ | ||
#if: {{#hashvalue:{{#var:PluginFileName}} |homepage}} | #if: {{#hashvalue:{{#var:PluginFileName}} |homepage}} | ||
| {{!}} style="text-align:center | | {{!}} style="text-align:center;" colspan="2" {{!}}[{{#hashvalue:{{#var:PluginFileName}} |homepage}} '''{{#hashvalue: localisation |homepage |{{#hashvalue:defaultL |homepage}} }}'''] | ||
| | | | ||
}} | }} | ||
Line 186: | Line 186: | ||
Download links | Download links | ||
-->|- | -->|- | ||
| colspan="2" style="font-size:110%;background-color:#ccccff;text-align:center;" |{{ | |||
<!-- don't display download-title, if there is no links --> | <!-- don't display download-title, if there is no links --> | ||
#if:{{ | #if:{{ | ||
Line 214: | Line 214: | ||
}} | }} | ||
}} | }} | ||
| {{#hashvalue:localisation |download-title |{{#hashvalue:defaultL |download-title}}}} | | '''{{#hashvalue:localisation |download-title |{{#hashvalue:defaultL |download-title}}}}''' | ||
|  | |  | ||
}} | }} | ||
Line 235: | Line 235: | ||
|{{ | |{{ | ||
RowColor|#fff|{{#hashvalue: localisation |download-stable |{{#hashvalue:defaultL |download-stable}} }}: | RowColor|#fff|{{#hashvalue: localisation |download-stable |{{#hashvalue:defaultL |download-stable}} }}: | ||
|{{ <!-- s- | |{{ <!-- s-x32 --> | ||
#if: {{#hashvalue:{{#var:PluginFileName}} |hide-s32}} | #if: {{#hashvalue:{{#var:PluginFileName}} |hide-s32}} | ||
| | | | ||
|{{ <!-- custom download link --> | |{{ <!-- custom download link --> | ||
#if: {{#hashvalue:{{#var:PluginFileName}} |link-s32}} | #if: {{#hashvalue:{{#var:PluginFileName}} |link-s32}} | ||
| [{{#hashvalue:{{#var:PluginFileName}} |link-s32}} | | [{{#hashvalue:{{#var:PluginFileName}} |link-s32}} x32],  | ||
| [//miranda-ng.org/distr/stable/x32/Plugins/{{lc:{{#var:PluginFileName}}}}.zip | | [//miranda-ng.org/distr/stable/x32/Plugins/{{lc:{{#var:PluginFileName}}}}.zip x32],  | ||
}} | }} | ||
}}{{ <!-- s- | }}{{ <!-- s-x64 --> | ||
#if: {{#hashvalue:{{#var:PluginFileName}} |hide-s64}} | #if: {{#hashvalue:{{#var:PluginFileName}} |hide-s64}} | ||
| | | | ||
|{{ <!-- custom download link --> | |{{ <!-- custom download link --> | ||
#if: {{#hashvalue:{{#var:PluginFileName}} |link-s64}} | #if: {{#hashvalue:{{#var:PluginFileName}} |link-s64}} | ||
| [{{#hashvalue:{{#var:PluginFileName}} |link-s64}} | | [{{#hashvalue:{{#var:PluginFileName}} |link-s64}} x64] | ||
| [//miranda-ng.org/distr/stable/x64/Plugins/{{lc:{{#var:PluginFileName}}}}.zip | | [//miranda-ng.org/distr/stable/x64/Plugins/{{lc:{{#var:PluginFileName}}}}.zip x64] | ||
}} | }} | ||
}} | }} | ||
Line 260: | Line 260: | ||
|{{ | |{{ | ||
RowColor|#fff|{{#hashvalue: localisation |download-current |{{#hashvalue:defaultL |download-current}} }}: | RowColor|#fff|{{#hashvalue: localisation |download-current |{{#hashvalue:defaultL |download-current}} }}: | ||
|{{ <!-- l- | |{{ <!-- l-x32 --> | ||
#if: {{#hashvalue:{{#var:PluginFileName}} |hide-l32}} | #if: {{#hashvalue:{{#var:PluginFileName}} |hide-l32}} | ||
| | | | ||
|{{ <!-- custom download link --> | |{{ <!-- custom download link --> | ||
#if: {{#hashvalue:{{#var:PluginFileName}} |link-l32}} | #if: {{#hashvalue:{{#var:PluginFileName}} |link-l32}} | ||
| [{{#hashvalue:{{#var:PluginFileName}} |link-l32}} | | [{{#hashvalue:{{#var:PluginFileName}} |link-l32}} x32],  | ||
| [//miranda-ng.org/distr/x32/Plugins/{{lc:{{#var:PluginFileName}}}}.zip | | [//miranda-ng.org/distr/x32/Plugins/{{lc:{{#var:PluginFileName}}}}.zip x32],  | ||
}} | }} | ||
}}{{ <!-- l- | }}{{ <!-- l-x64 --> | ||
#if: {{#hashvalue:{{#var:PluginFileName}} |hide-l64}} | #if: {{#hashvalue:{{#var:PluginFileName}} |hide-l64}} | ||
| | | | ||
|{{ <!-- custom download link --> | |{{ <!-- custom download link --> | ||
#if: {{#hashvalue:{{#var:PluginFileName}} |link-l64}} | #if: {{#hashvalue:{{#var:PluginFileName}} |link-l64}} | ||
| [{{#hashvalue:{{#var:PluginFileName}} |link-l64}} | | [{{#hashvalue:{{#var:PluginFileName}} |link-l64}} x64] | ||
| [//miranda-ng.org/distr/x64/Plugins/{{lc:{{#var:PluginFileName}}}}.zip | | [//miranda-ng.org/distr/x64/Plugins/{{lc:{{#var:PluginFileName}}}}.zip x64] | ||
}} | }} | ||
}} | }} | ||
Line 310: | Line 310: | ||
|}<!-- | |}<!-- | ||
--><!-- | -->{{Languages}}<!-- | ||
Load information about plugin's gropus | Load information about plugin's gropus | ||
-->{{PluginInfo/Groups|}}<!-- | -->{{PluginInfo/Groups|}}<!-- | ||
Line 316: | Line 316: | ||
Categories | Categories | ||
-->[[Category: | -->[[Category:{{#hashvalue: localisation |cat-lang |{{#hashvalue:defaultL |cat-lang}} }}]] | ||
[[Category: | [[Category:Plugins]] | ||
{{ | {{ | ||
#if: {{{screenshot}}} | #if: {{{screenshot}}} | ||
| | | | ||
|{{#ifeq: {{#var:PageLang}} | en | | [[Category:Todo:{{#hashvalue: localisation |cat-todo |{{#hashvalue:defaultL |cat-lang}} }}]] | ||
}}{{ | |||
#ifeq: {{#var:PageLang}} | en | |||
|{{ | |||
#if: {{#hashvalue:{{#var:PluginFileName}} |screenshot}} | |||
| | |||
| [[Category:Todo:{{#hashvalue: localisation |cat-todo |{{#hashvalue:defaultL |cat-lang}} }}]] | |||
}} | |||
| | |||
}}<nowiki/></includeonly><noinclude> | }}<nowiki/></includeonly><noinclude> | ||
{{ | |||
{{template sandbox notice}} | |||
</noinclude> | </noinclude> |