Actions

Template

Difference between revisions of "Download"

From Sonic Retro

 
(31 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{|cellpadding="4" cellspacing="0" style="background:#7bb7f5; width:250px; border:1px solid #003198; border-collapse: collapse; color:#000; margin-bottom: 0.5em; margin-top: 0.5em;" class="download"
+
<includeonly>{|style="width:400px;padding:4px 10px;margin:10px 0"
|align="left"|<iimg>[[Media:{{{file}}}]]![[Image:Download.png]]</iimg>
+
|style="text-align:center;"|[[File:Download.svg|35px|link=Special:FilePath/{{{file}}}]]
|<font color="#003198" size="4">DOWNLOAD</font><br/>{{ #if: {{{version|}}} |The current version  ({{{version}}}) of | }} '''{{ #if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }}''' is available [[Media:{{{file}}}|here]] ({{{filesize}}})[[:Image:{{{file}}}|]].
+
|[[Media:{{{file}}}|<span style="font-weight:bold;">Download {{ #if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }}</span>]]
|}<noinclude>
+
<div style="font-size:80%">'''File:'''  {{{file}}} ({{filesize|{{{file}}}}}) ([[:File:{{{file}}}|info]])<br>
 +
{{ #if: {{{version|}}} |'''Current version:'''  {{{version}}}|}}</div>
 +
|}</includeonly><noinclude>
 +
{{Download
 +
|title=SonED2
 +
|version=1.03
 +
|file=SonED v.0.50b (Windows).zip}}
 +
 
 
The Download template is used for downloadable files on [[Sonic Retro]]. Only one should be used per page; if there are multiple downloadable files, the other should be listed as Media: links.  
 
The Download template is used for downloadable files on [[Sonic Retro]]. Only one should be used per page; if there are multiple downloadable files, the other should be listed as Media: links.  
  
Line 10: Line 17:
 
| version=
 
| version=
 
| file=
 
| file=
| filesize=
 
 
}}
 
}}
 
</pre>
 
</pre>
  
File and filesize are required.
+
File is required; the rest of the parameters are optional, but recommended.
  
[[Category:Sonic Retro Templates]]
+
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 19:19, 1 January 2022

Download.svg Download SonED2
File: SonED v.0.50b (Windows).zip (405 kB) (info)
Current version: 1.03

The Download template is used for downloadable files on Sonic Retro. 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=
}}

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