Template:Download: Difference between revisions

From Arx Libertatis Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 17: Line 17:
{{If|{{{sourceforge}}}| {{SourceForgeDownload|file={{{file}}}|dir={{{sourceforge}}}|name=(mirror)}}|
{{If|{{{sourceforge}}}| {{SourceForgeDownload|file={{{file}}}|dir={{{sourceforge}}}|name=(mirror)}}|
}} }} }}
}} }} }}
{{If|{{{size|1}}}| {{Style|color:#ccc;|{{{size}}}}}|}}
</div>
</div>
{{If|{{{file|}}}
|<br><span >{{{file}}}{{If|{{{size}}}|<span style='float:right;'>{{{size}}}</span>|}}</span>
|
}}
</div>
</div>
<noinclude>
<noinclude>

Revision as of 05:30, 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