Template:Download: Difference between revisions

From Arx Libertatis Wiki
Jump to navigation Jump to search
(Change primary download links away from SourceForge)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


   icon
   icon
-->{{Icon|download}}<!--
-->{{Icon|{{{icon|download}}}}}<!--


   download link
   download link
Line 9: Line 9:
       custom link
       custom link
   -->{{#if:{{{url|}}}|[{{{url}}} {{{name}}}]<!--
   -->{{#if:{{{url|}}}|[{{{url}}} {{{name}}}]<!--
  -->{{#if:{{{mirror|}}}| [{{{mirror}}} (mirror)]|}}<!--


       self-hosted link
       self-hosted link

Latest revision as of 22:13, 9 March 2024

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