Difference between revisions of "Template:Download"

From MegaDrive Wiki
Jump to: navigation, search
(Removed file.zip)
(Added a description field.)
Line 4: Line 4:
 
|[[Media:{{{file}}}|<span style="font-weight:bold;font-size:120%">Download {{ #if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }}</span>]]
 
|[[Media:{{{file}}}|<span style="font-weight:bold;font-size:120%">Download {{ #if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }}</span>]]
 
<div>'''File:'''  <span style="font-size:95%">{{{file}}} {{#if:{{{filesize|}}}|({{{filesize}}})|}} ([[:File:{{{file}}}|info]])</span><br>
 
<div>'''File:'''  <span style="font-size:95%">{{{file}}} {{#if:{{{filesize|}}}|({{{filesize}}})|}} ([[:File:{{{file}}}|info]])</span><br>
{{ #if: {{{version|}}} |'''Current version:'''  <span style="font-size:95%">{{{version}}}</span>|}}</div>
+
{{ #if: {{{version|}}} |'''Current version:'''  <span style="font-size:95%">{{{version}}}</span>|}}
 +
</div>
 +
{{ #if: {{{description|}}} |<span style="font-size:95%; font-style: italic;">{{{description}}}</span>|}}
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
 
{{Download
 
{{Download
Line 10: Line 12:
 
|version=1.00
 
|version=1.00
 
|file=
 
|file=
 +
|description=Hello world!
 
|filesize=250 KB}}
 
|filesize=250 KB}}
  
Line 20: Line 23:
 
| file=
 
| file=
 
| filesize=
 
| filesize=
 +
| description=
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 14:41, 24 October 2012

Download.png [[Media:|Download file]]
File: (250 KB) ([[:File:|info]])

Current version: 1.00

Hello world!

The Download template is used for downloadable files. Only one should be used per page; if there are multiple downloadable files, the other should be listed as Media: links.

{{Download
| title=
| version=
| file=
| filesize=
| description=
}}

File is required; the rest of the parameters are optional, but recommended.