Thanks for the assistance, Joshua.
My template is not so great. Could be better.
There are two parameters: filename and description. Description is
optional, so I use the parser functions to check for it.
[[Media:{{{1}}}|{{#if:{{{2}}}|{{{2}}}|{{{1}}}}}]]
http://www.mydomain.com.br/wiki/images/download.png
My, this looks crazy on proportional font!
Usage example:
{{Download|Some presentation.pps|PowerPoint}}
The download.png is a small icon representing a download file (attached).
I'd like to make the image redirect to the download file, but I
haven't gotten to it yet.