Difference between revisions of "Template:DownloadItem"

From The Battle for Wesnoth Wiki
 
(12 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
<noinclude>Parameters:
 
<noinclude>Parameters:
# Label (e.g. "Current version")
+
* label Label (e.g. "Current version")
# SF.net file group (usually <code>wesnoth-X.Y</code> for stable branches and <code>wesnoth</code> for development versions.
+
* group SF.net file group (usually <code>wesnoth-X.Y</code> for stable branches and <code>wesnoth</code> for development versions.
# SF.net version number (should match the tagged version).
+
* version SF.net version number (should match the tagged version).
# SF.net file name.
+
* filename SF.net file name.
# Size label.
+
* hash SHA256.
# SHA256.
+
* pkgversion Package version number (optional, for packaging fix versions only)
# Package version number (optional, for packaging fix versions only)
+
</noinclude><b>[https://sourceforge.net/projects/wesnoth/files/{{{group}}}/wesnoth-{{{version}}}/{{{filename}}}/download {{#if: {{{pkgversion|}}} | {{{pkgversion}}} | {{{version}}} }} {{{label}}}]</b> <small>{{#if: {{{hash|}}} | <br />[https://files.wesnoth.org/releases/{{{filename}}}.sha256 SHA256]: <code>{{{hash}}}</code>}}</small>
</noinclude>[http://sourceforge.net/projects/wesnoth/files/{{{2}}}/wesnoth-{{{3}}}/{{{4}}}/download {{{1}}}] ({{#if: {{{7|}}} | {{{7}}}} | {{{3}}} }}, {{{5}}}<br />SHA256: <code>{{{6}}}</code> ([http://files.wesnoth.org/releases/{{{4}}}.sha256 file])
 

Latest revision as of 16:26, 22 August 2022

Parameters:

  • label Label (e.g. "Current version")
  • group SF.net file group (usually wesnoth-X.Y for stable branches and wesnoth for development versions.
  • version SF.net version number (should match the tagged version).
  • filename SF.net file name.
  • hash SHA256.
  • pkgversion Package version number (optional, for packaging fix versions only)

{{{version}}} — {{{label}}}

This page was last edited on 22 August 2022, at 16:26.