Actions

Template

Difference between revisions of "Download"

From Sonic Retro

 
(42 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: 1em;"
+
<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/>The current version ({{{version}}}) of '''{{PAGENAME}}''' is available [[Media:{{{file}}}|here]] ({{{filesize}}}).
+
|[[Media:{{{file}}}|<span style="font-weight:bold;">Download {{ #if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }}</span>]]
|}
+
<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}}
  
<noinclude>
 
 
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.  
  
 
<pre>
 
<pre>
 
{{Download
 
{{Download
 +
| title=
 
| version=
 
| version=
 
| file=
 
| file=
| filesize=
 
 
}}
 
}}
 
</pre>
 
</pre>
  
All fields 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.