Actions

Template

Difference between revisions of "Download"

From Sonic Retro

m
(Updating to new template)
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:320px;padding:4px 10px" class="toc"
|align="left"|[[Image:Download.svg|40px|link=File:{{{file}}}]]
+
|align="left" width="40px"|[[Image: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}} }}''' {{ #if: {{{plural|}}} | are | is }} available [[Media:{{{file}}}|here]] ({{{filesize}}})[[:File:{{{file}}}|<font color="blue">.</font>]]
+
|[[Media:{{{file}}}|<span style="font-weight:bold;font-size:120%">Download {{ #if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }}</span>]]
|}<noinclude>
+
<div style="font-size:80%">'''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>
 +
|}</includeonly><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.  
  
Line 14: Line 16:
 
</pre>
 
</pre>
  
File and filesize are required.
+
File is required; the rest of the parameters are optional, but recommended.
  
 
[[Category:Sonic Retro Templates|Download]]
 
[[Category:Sonic Retro Templates|Download]]
 
</noinclude>
 
</noinclude>

Revision as of 13:04, 27 October 2009

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=
| filesize=
}}

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