Difference between revisions of "Template:DownloadItem"
From The Battle for Wesnoth Wiki
Line 1: | Line 1: | ||
<noinclude>Parameters: | <noinclude>Parameters: | ||
− | + | * label Label (e.g. "Current version") | |
− | + | * group SF.net file group (usually <code>wesnoth-X.Y</code> for stable branches and <code>wesnoth</code> for development versions. | |
− | + | * version SF.net version number (should match the tagged version). | |
− | + | * filename SF.net file name. | |
− | + | * size Size label. | |
− | + | * hash SHA256. | |
− | + | * pkgversion Package version number (optional, for packaging fix versions only) | |
− | </noinclude>[http://sourceforge.net/projects/wesnoth/files/{{{ | + | </noinclude>[http://sourceforge.net/projects/wesnoth/files/{{{group}}}/wesnoth-{{{version}}}/{{{filename}}}/download {{{label}}}] ({{#if: {{{pkgversion|}}} | {{{pkgversion}}}} | {{{version}}} }}, {{{size}}}<br />SHA256: <code>{{{hash}}}</code> ([http://files.wesnoth.org/releases/{{#if: {{{pkgversion|}}} | {{{pkgversion}}} | {{{version}}} }}.sha256 file]) |
Revision as of 21:58, 9 November 2015
Parameters:
- label Label (e.g. "Current version")
- group SF.net file group (usually
wesnoth-X.Y
for stable branches andwesnoth
for development versions. - version SF.net version number (should match the tagged version).
- filename SF.net file name.
- size Size label.
- hash SHA256.
- pkgversion Package version number (optional, for packaging fix versions only)
{{{label}}} ({{{version}}}, {{{size}}}
SHA256: {{{hash}}}
(file)