Template:Download: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<div style="border-radius: 10px; background-color: #dfd; padding: 8px; padding-top: 0px; padding-bottom: 0px; border: 1px solid #7a7; display: inline-block;"> | <div style=" | ||
<b> | border-radius: 10px; | ||
background-color: #dfd; | |||
padding: 8px; | |||
padding-top: 0px; | |||
padding-bottom: 0px; | |||
border: 1px solid #7a7; | |||
display: inline-block; | |||
margin: 1px; | |||
margin-left: 20px; | |||
"><b> | |||
{{If|{{{path|}}} | {{If|{{{path|}}} | ||
|[{{{path}}} {{{name}}}] | |[{{{path}}} {{{name}}}] | ||
|{{If|{{{nogithub|}}} | |{{If|{{{nogithub|}}} | ||
|[http://sourceforge.net/projects/ | |[http://sourceforge.net/projects/arx/files/{{{sourceforge}}}/{{{file}}}/download {{{name}}}] | ||
|[https://github.com/downloads/arx/ArxLibertatis/{{{file}}} {{{name}}}] | |[https://github.com/downloads/arx/ArxLibertatis/{{{file}}} {{{name}}}] | ||
{{If|{{{sourceforge}}}| | {{If|{{{sourceforge}}}| | ||
<!-- --> [http://sourceforge.net/projects/ | <!-- --> [http://sourceforge.net/projects/arx/files/{{{sourceforge}}}/{{{file}}}/download (mirror)]| | ||
}} | }} }} }} | ||
}} | |||
}} | |||
</b> | </b> | ||
{{If|{{{file|}}}|<br><span style="color: #666; font-size: 7pt;">{{{file}}}{{If|{{{size}}}| - {{{size}}}|}}</span>|}} | {{If|{{{file|}}}|<br><span style="color: #666; font-size: 7pt;">{{{file}}}{{If|{{{size}}}| - {{{size}}}|}}</span>|a}} | ||
</div> | </div> | ||
<noinclude> | <noinclude> |
Revision as of 04:54, 18 April 2012
Parameters:
- name - title of the download [required]
- file - filename (without path) [required unless path is set]
- 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