Template:Download: Difference between revisions
Jump to navigation
Jump to search
(Use the new and improved CSS-based download-button from the innoextract website) |
mNo edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
icon | icon | ||
-->{{Icon|download}}<!-- | -->{{Icon|{{{icon|download}}}}}<!-- | ||
download link | download link | ||
Line 10: | Line 10: | ||
-->{{#if:{{{url|}}}|[{{{url}}} {{{name}}}]<!-- | -->{{#if:{{{url|}}}|[{{{url}}} {{{name}}}]<!-- | ||
-->{{#if:{{{mirror|}}}| [{{{mirror}}} (mirror)]|}}<!-- | |||
--> | |||
self-hosted link | |||
-->|{{#ifeq:{{{selfhosted|1}}}|1|<!-- | |||
-->{{SelfHostedDownload|file={{{file}}}|dir={{{dir|}}}|name={{{name}}}}}<!-- | |||
... with sourceforge mirror (TODO: move somewhere else) | |||
--> {{#ifeq:{{{sourceforge|1}}}|1|<!-- | |||
--> {{SourceForgeDownload|file={{{file}}}|dir={{{dir|}}}|name=(mirror)}}<!-- | |||
-->|}}<!-- | |||
sourceforge mirror (TODO: move somewhere else) | |||
-->|<!-- | |||
-->{{SourceForgeDownload|file={{{file}}}|dir={{{dir|}}}|name={{{name}}}}}<!-- | |||
-->}}<!-- | -->}}<!-- | ||
Line 36: | Line 46: | ||
and siganture | and siganture | ||
-->{{# | -->{{#ifeq:{{{signature|0}}}|1|<span class="signature"><!-- | ||
custom link | |||
-->{{#if:{{{url|}}}|[{{{url}}}.sig signature]<!-- | |||
self-hosted link | |||
-->|{{SelfHostedDownload|file={{{file}}}.sig|dir={{{dir|}}}|name=signature}}<!-- | |||
sourceforge link | |||
-->|{{#ifeq:{{{sourceforge|1}}}|1|{{SourceForgeDownload|file={{{file}}}.sig|dir={{{dir|}}}|name=signature}}<!-- | |||
-->}}<!-- | |||
-->}}<!-- | |||
--></span>}}<!-- | |||
--></li></ul><noinclude> | --></li></ul><noinclude> |
Latest revision as of 22:13, 9 March 2024
- {{{name}}} (mirror){{{file}}}
Parameters:
- name - title of the download [required]
- file - filename (without path) [required]
- dir - subdirectory for file for sourceforge/self-hosted [required]
- url - full download path (should not be used for sourceforge or self-hosted downloads!)
- sourceforge - set to 0 to not use a sourceforge download path
- selfhosted - set to 0 to not use a self-hosted download path
- size - textual filesize
- checksum - MD5 checksum
- signature - signature file