Actions

Template talk

Download

From Sonic Retro

Revision as of 06:25, 26 October 2009 by Afti (talk | contribs)

Suggestion for new download box

I've always been kind of irritated by the download box. There's some usability issues with it: it's wordy, and you're linking to something by using the words "click here", which can basically be easily avoided...

link=File:{{{file}}}

Download SonED2

File: Soned2.exe (250 KB)
Current version: 1.03

This one conveys the exact same information using less words, and uses the exact same template parameters, so as to not break compatibility. The template also had the variable "plural" in it...I ran a search for "plural" and couldn't find any pages using it. However, that becomes irrelevant if we were to use this new box.

The template code (it will need to be tested):

{|style="width:400px;" class="toc"
|align="left" width="50px"|[[Image:Download.svg|40px|link=File:{{{file}}}]]
|
[[Media:{{{file}}}|<span style="font-weight:bold;font-size:140%">Download {{ #if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }}</span>]]
<div style="font-size:90%">'''File:'''  <span style="font-size:95%">{{{file}}} {{#if:{{{filesize|}}}|({{{filesize}}})|}}</span><br>
{{ #if: {{{version|}}} |'''Current version:'''  <span style="font-size:95%">{{{version}}}</span>|}}</div>
|}

--PicklePower 23:43, 25 October 2009 (UTC)

I like this, do one for multiple downloads such as what Gens/GS uses and I think we have a winner. SOTI 23:46, 25 October 2009 (UTC)

--Afti

A bit large. I've made it a little more compact below.


link=File:{{{file}}}

Download SonED2

File: Soned2.exe (250 KB)
Current version: 1.03