Template:Download: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
--><div style="float:left; margin-top: 8px; margin-left: 3px;">[[File:Download.png|24px|]]</div><!-- | --><div style="float:left; margin-top: 8px; margin-left: 3px;">[[File:Download.png|24px|]]</div><!-- | ||
--><div style="font-weight:bold;float:right;padding:0px;margin:0px;margin-top: 1px;"><!-- | --><div style="font-weight:bold;float:right;padding:0px;margin:0px;margin-top: 1px;"><!-- | ||
-->{{If|{{{path|}}}|[{{{path}}} {{{name}}}] | |||
-->{{If|{{{ | custom link | ||
-->{{GitHubDownload|file={{{file}}}|name={{{name}}}}}<!-- | -->{{If|{{{path|}}}|[{{{path}}} {{{name}}}]<!-- | ||
--> | |||
-->}}<!-- -->}}<!-- | github link | ||
-->|{{If|{{{github|1}}}|<!-- | |||
-->{{GitHubDownload|file={{{file}}}|name={{{name}}}}}<!-- | |||
... with sourceforge mirror | |||
--> {{If|{{{sourceforge}}}| {{SourceForgeDownload|file={{{file}}}|dir={{{sourceforge}}}|name=(mirror)}}|}}<!-- | |||
-->}}<!-- | |||
sourceforge link | |||
-->|{{SourceForgeDownload|file={{{file}}}|dir={{{sourceforge}}}|name={{{name}}}}}<!-- | |||
-->}}<!-- | |||
--></div><!-- | --></div><!-- | ||
-->{{Style|color:#888;font-size: 9px;margin:0px;display:block;padding:0px;|{{{file}}} {{If|{{{size|1}}}|{{Style|display:block;float:right;|{{{size}}}}}|}}}} | -->{{Style|color:#888;font-size: 9px;margin:0px;display:block;padding:0px;|{{{file}}} {{If|{{{size|1}}}|{{Style|display:block;float:right;|{{{size}}}}}|}}}} |
Revision as of 05:57, 18 April 2012
Parameters:
- name - title of the download [required]
- file - filename (without path) [required]
- path - full download path (should not be used for github or sourceforge downloads!)
- nogithub - don't use a github download path
- sourceforge - use a sourceforge download path, set to url-encoded directory
- size - textual filesize