Difference between revisions of "Template:Download"
From MegaDrive Wiki
(Created page with "<includeonly>{| class="toc" width="400px" style="padding:4px 10px;margin:10px 0;-moz-box-shadow:0 0 10px rgba(0,0,0,.5); -webkit-box-shadow:0 0 10px rgba(0,0,0,.5); box-shadow...") |
m (4 revisions imported) |
||
(3 intermediate revisions by 2 users not shown) | |||
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 | ||
|title=file | |title=file | ||
|version=1.00 | |version=1.00 | ||
− | |file= | + | |file= |
+ | |description=Hello world! | ||
|filesize=250 KB}} | |filesize=250 KB}} | ||
− | The Download template is used for downloadable files | + | 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. |
<pre> | <pre> | ||
Line 20: | Line 23: | ||
| file= | | file= | ||
| filesize= | | filesize= | ||
+ | | description= | ||
}} | }} | ||
</pre> | </pre> |
Latest revision as of 11:29, 16 March 2015
[[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.