Template:SnowglobeDownloadBox: Difference between revisions
Jump to navigation
Jump to search
Attempt at adding 'snapshot' type. |
No edit summary |
||
| Line 5: | Line 5: | ||
: '''(optional)''' Name of the download. If omitted, "Snowglobe w.x.y" will be used instead (with x, y and z as given below). | : '''(optional)''' Name of the download. If omitted, "Snowglobe w.x.y" will be used instead (with x, y and z as given below). | ||
;type | ;type | ||
: <code>release</code>, <code>test build</code> etc. | : <code>release</code>, <code>test build</code>, <code>snapshot</code> etc. | ||
: <code>release</code> will cause different visuals (only color, currently) and will cause macsuffix to be ignored. Other values don't have any effect for now. | : <code>release</code> will cause different visuals (only color, currently) and will cause macsuffix to be ignored. <code>snapshot</code> has visual effect (color) only. Other values don't have any effect for now. | ||
;w, x, y, z | ;w, x, y, z | ||
: Components of the version number: Major, Minor, Sub-Minor and "build number" (for SG actually the SVN revision) | : Components of the version number: Major, Minor, Sub-Minor and "build number" (for SG actually the SVN revision) | ||
| Line 60: | Line 60: | ||
|name = {{Snowglobe_2-installers-trunk/{{{1|en}}}}} | |name = {{Snowglobe_2-installers-trunk/{{{1|en}}}}} | ||
|type = test build | |type = test build | ||
|w = 2 | |w = 2 | ||
|x = 1 | |x = 1 | ||
| Line 100: | Line 72: | ||
</noinclude><includeonly>{{#vardefine: urlprefix | http://secondlife.com/developers/opensource/downloads/{{{year}}}/{{{branch}}}/{{{z}}}/Snowglobe | </noinclude><includeonly>{{#vardefine: urlprefix | http://secondlife.com/developers/opensource/downloads/{{{year}}}/{{{branch}}}/{{{z}}}/Snowglobe | ||
}}{{ColorBox|[[File:Crystal_Clear_app_download_manager.png|32px|left|link=]] {{{name|Snowglobe {{{w}}}.{{{x}}}.{{{y}}}}}}| ({{{w}}}.{{{x}}}.{{{y}}}.{{{z}}}, {{{date}}}) ([[Release Notes/Snowglobe Release/{{{w}}}.{{{x}}}|release notes]]) <br /> [ '''[{{#var:urlprefix}}_{{{w}}}-{{{x}}}-{{{y}}}-{{{z}}}_Setup.exe Windows]''' | '''[{{#var:urlprefix}}_{{{w}}}_{{{x}}}_{{{y}}}_{{{z}}}{{#ifeq: {{{type}}} | release || {{{macsuffix|}}} }}.dmg Mac]''' | '''[{{#var:urlprefix}}-i686-{{{w}}}.{{{x}}}.{{{y}}}.{{{z}}}.tar.bz2 Linux]''' ] | }}{{ColorBox|[[File:Crystal_Clear_app_download_manager.png|32px|left|link=]] {{{name|Snowglobe {{{w}}}.{{{x}}}.{{{y}}}}}}| ({{{w}}}.{{{x}}}.{{{y}}}.{{{z}}}, {{{date}}}) ([[Release Notes/Snowglobe Release/{{{w}}}.{{{x}}}|release notes]]) <br /> [ '''[{{#var:urlprefix}}_{{{w}}}-{{{x}}}-{{{y}}}-{{{z}}}_Setup.exe Windows]''' | '''[{{#var:urlprefix}}_{{{w}}}_{{{x}}}_{{{y}}}_{{{z}}}{{#ifeq: {{{type}}} | release || {{{macsuffix|}}} }}.dmg Mac]''' | '''[{{#var:urlprefix}}-i686-{{{w}}}.{{{x}}}.{{{y}}}.{{{z}}}.tar.bz2 Linux]''' ] | ||
|3={{#ifeq: {{{type}}} | release | #EBFDFF |{{#ifeq: {{{type}}} |snapshot|# | |3={{#ifeq: {{{type}}} | release | #EBFDFF |{{#ifeq: {{{type}}} |snapshot|#FF9090|#FFFFD0}}}}}}</includeonly><noinclude> | ||
[[Category:Box templates]]</noinclude> | [[Category:Box templates]]</noinclude> | ||
Revision as of 10:37, 2 August 2010
Usage
Parameters
- name
- (optional) Name of the download. If omitted, "Snowglobe w.x.y" will be used instead (with x, y and z as given below).
- type
release,test build,snapshotetc.releasewill cause different visuals (only color, currently) and will cause macsuffix to be ignored.snapshothas visual effect (color) only. Other values don't have any effect for now.- w, x, y, z
- Components of the version number: Major, Minor, Sub-Minor and "build number" (for SG actually the SVN revision)
- year, branch
- correspond to the respective parts of the SVN URL
- date
- Other than 'year' above, this is the actual date of when the build was done
- macsuffix
- (optional) Part of the .dmg filename for trunk builds. Assumed empty when omitted. Ignored when
type = release.
Examples
release causes blue background. macsuffix could be omitted without any effect, as it is ignored. name was omitted.
{{SnowglobeDownloadBox
|type = release
|w = 2
|x = 0
|y = 2
|z = 3576
|branch = 2.0
|date = July 29, 2010
|year = 2010
|macsuffix= _THISWILLBEIGNORED
}}
Non-release type causes yellow background. macsuffix is needed here to get the correct URL for the MacOS download.
{{SnowglobeDownloadBox
|name = {{Snowglobe_2-installers-trunk/{{{1|en}}}}}
|type = test build
|w = 2
|x = 1
|y = 0
|z = 3565
|branch = trunk
|date = July 27, 2010
|year = 2010
|macsuffix= _SNOWGLOBETESTBUILD
}}

[ Windows | Mac | Linux ]