Template:Download: Difference between revisions

From Arx Libertatis Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
  border: 1px solid #7a7;
  border: 1px solid #7a7;
  display: inline-block;
  display: inline-block;
  margin: 1px;
  margin: 3px;
  margin-left: 20px;
  margin-left: 20px;
"><div style="float:left; margin-top: 5px; margin-left: 1px;">[[File:Download.png|24px|]]</div><div style="font-weight:bold;float:right;padding:0px;margin:0px;margin-top: 1px;"><!--
"><!--
--><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;"><!--
-->{{If|{{{path|}}}
-->{{If|{{{path|}}}
|[{{{path}}} {{{name}}}]
|[{{{path}}} {{{name}}}]

Revision as of 05:48, 18 April 2012

{{{file}}} {{{size}}}


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