Actions

Template

Difference between revisions of "Multidownload"

From Sonic Retro

Line 5: Line 5:
 
<span style="font-size:95%">Multiple downloads available</span><br>
 
<span style="font-size:95%">Multiple downloads available</span><br>
 
{{ #if: {{{file1|}}} | <div style="border-bottom:1px dotted #999;padding:3px 0">[[Media:{{{file1}}}|<span style="font-weight:bold">{{{filename1}}}</span>]] <span style="font-size:80%">({{{filesize1}}}) ([[:File:{{{file1}}}|info]])</span></div>| '''See [[Template:Multidownload]] on how to use this template.''' }}
 
{{ #if: {{{file1|}}} | <div style="border-bottom:1px dotted #999;padding:3px 0">[[Media:{{{file1}}}|<span style="font-weight:bold">{{{filename1}}}</span>]] <span style="font-size:80%">({{{filesize1}}}) ([[:File:{{{file1}}}|info]])</span></div>| '''See [[Template:Multidownload]] on how to use this template.''' }}
{{ #if: {{{file2|}}} | <div style="{{ #if: {{{file3|}}}||border-bottom:1px dotted #999;}}padding:3px 0">[[Media:{{{file2}}}|<span style="font-weight:bold">{{{filename2}}}</span>]] <span style="font-size:80%">({{{filesize2}}}) ([[:File:{{{file2}}}|info]])</span></div>| }}
+
{{ #if: {{{file2|}}} | <div style="{{ #if: {{{file3|}}}|border-bottom:1px dotted #999;|}}padding:3px 0">[[Media:{{{file2}}}|<span style="font-weight:bold">{{{filename2}}}</span>]] <span style="font-size:80%">({{{filesize2}}}) ([[:File:{{{file2}}}|info]])</span></div>| }}
 
{{ #if: {{{file3|}}} | <div style="{{ #if: {{{file4|}}}||border-bottom:1px dotted #999;}}padding:3px 0">[[Media:{{{file3}}}|<span style="font-weight:bold">{{{filename3}}}</span>]] <span style="font-size:80%">({{{filesize3}}}) ([[:File:{{{file3}}}|info]])</span></div>| }}
 
{{ #if: {{{file3|}}} | <div style="{{ #if: {{{file4|}}}||border-bottom:1px dotted #999;}}padding:3px 0">[[Media:{{{file3}}}|<span style="font-weight:bold">{{{filename3}}}</span>]] <span style="font-size:80%">({{{filesize3}}}) ([[:File:{{{file3}}}|info]])</span></div>| }}
 
{{ #if: {{{file4|}}} | <div style="{{ #if: {{{file5|}}}||border-bottom:1px dotted #999;}}padding:3px 0">[[Media:{{{file4}}}|<span style="font-weight:bold">{{{filename4}}}</span>]] <span style="font-size:80%">({{{filesize4}}}) ([[:File:{{{file4}}}|info]])</span></div>| }}
 
{{ #if: {{{file4|}}} | <div style="{{ #if: {{{file5|}}}||border-bottom:1px dotted #999;}}padding:3px 0">[[Media:{{{file4}}}|<span style="font-weight:bold">{{{filename4}}}</span>]] <span style="font-size:80%">({{{filesize4}}}) ([[:File:{{{file4}}}|info]])</span></div>| }}

Revision as of 13:17, 27 October 2009

Download.svg

Download Multidownload
Multiple downloads available
See Template:Multidownload on how to use this template.





This is a specialized template to be used ONLY when multiple current links are relevant to a page. Examples of this would be:

  • Sonic 2 Delta (for S2D0, S2D, S2DII, S2DIII)
  • The Nemesis Programs (the MD pack, the Kosinski searcher)

This template should NOT be used for downloads with multiple versions of the SAME THING—in that case, using Template:Download and making a Prior Versions section is style appropriate.

{{Multidownload
| name=
| file1=
| filename1=
| filesize1=
| file2=
| filename2=
| filesize2=
}}

Add one number for each additional download, to a maximum of 5.