Template:Download: Difference between revisions

From Arx Libertatis Wiki
Jump to navigation Jump to search
(Created page with "<div style="border-radius: 15px; background-color: #aea; padding: 8px; padding-top: 0px; padding-bottom: 0px; border: 1px solid #282; display: inline-block;"> <b> {{If|{{{path}}}...")
 
No edit summary
Line 1: Line 1:
<div style="border-radius: 15px; background-color: #aea; padding: 8px; padding-top: 0px; padding-bottom: 0px; border: 1px solid #282; display: inline-block;">
<div style="border-radius: 10px; background-color: #dfd; padding: 8px; padding-top: 0px; padding-bottom: 0px; border: 1px solid #7a7; display: inline-block;">
<b>
<b>
{{If|{{{path}}}|
{{If|{{{path|}}}
  [{{{path}}} {{{name}}}]
|[{{{path}}} {{{name}}}]
  |{{If|{{{nogithub}}}
|{{If|{{{nogithub|}}}
    |[http://sourceforge.net/projects/innoextract/files/{{{sourceforge}}}/{{{file}}}/download {{{name}}}]
|[http://sourceforge.net/projects/innoextract/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/innoextract/files/{{{sourceforge}}}/{{{file}}}/download (mirror)]|
<!-- --> [http://sourceforge.net/projects/innoextract/files/{{{sourceforge}}}/{{{file}}}/download (mirror)]|
      }}
  }}
}}
}}
</b><br>
}}
{{If|{{{file}}}|<span style="color: #666; font-size: 7pt;">{{{file}}}{{If|{{{size}}}| - {{{size}}}|}}</span>|}}
}}
</b>
{{If|{{{file|}}}|<br><span style="color: #666; font-size: 7pt;">{{{file}}}{{If|{{{size}}}| - {{{size}}}|}}</span>|}}
</div>
</div>
<noinclude>
<noinclude>


Parameters:
Parameters:
* name - title of the download
* name - title of the download [required]
* file - filename (without path)
* file - filename (without path) [required unless path is set]
* path - full download path (optional)
* path - full download path (should not be used for github or sourceforge downloads!)
* nogithub - don't use a github download path
* nogithub - don't use a github download path
* sourceforge - use a sourceforge download path, set to url-encoded directory
* sourceforge - use a sourceforge download path, set to url-encoded directory
* size - textual filesize
* size - textual filesize
</noinclude>
</noinclude>

Revision as of 04:47, 18 April 2012

{{{name}}} (mirror)


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