Actions

Template

Difference between revisions of "Download"

From Sonic Retro

m (Text replace - "Category:Sonic Retro Templates" to "Category:Button templates")
Line 1: Line 1:
<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:0 0 10px rgba(0,0,0,.5);"
+
<includeonly>{|style="width:400px;padding:4px 10px;margin:10px 0" class="toc"
|-
+
|align="left" width="40px"|[[File:Download.svg|35px|link=Special:FilePath/{{{file}}}]]
|align="left" width="40px"|[[Image:Download.svg|35px|link=Special:FilePath/{{{file}}}]]
 
 
|[[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 style="font-size:80%">'''File:'''  {{{file}}} ({{filesize|{{{file}}}}}) ([[:File:{{{file}}}|info]])<br>
{{ #if: {{{version|}}} |'''Current version:'''  <span style="font-size:95%">{{{version}}}</span>|}}</div>
+
{{ #if: {{{version|}}} |'''Current version:'''  {{{version}}}|}}</div>
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
 
{{Download
 
{{Download
 
|title=SonED2
 
|title=SonED2
 
|version=1.03
 
|version=1.03
|file=SonED v.0.50b (Windows).zip
+
|file=SonED v.0.50b (Windows).zip}}
|filesize=250 KB}}
 
  
 
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 19: Line 17:
 
| version=
 
| version=
 
| file=
 
| file=
| filesize=
 
 
}}
 
}}
 
</pre>
 
</pre>
Line 25: Line 22:
 
File is required; the rest of the parameters are optional, but recommended.
 
File is required; the rest of the parameters are optional, but recommended.
  
[[Category:Button templates|Download]]
+
[[Category:Button templates]]
 
</noinclude>
 
</noinclude>

Revision as of 22:23, 28 July 2015

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.