UPDATE: Problem solved! I just needed to put a colon in front of File: (like :File:
) in order to have a link to the file's page, not the file itself. More info at Help:Linking_to_files.
Hi everyone, thanks for your help 8 months ago... a new wrinkle on this, please?
I want to show, e.g., an Excel icon for a spreadsheet download, and have it directly start the download. Okay, this was handled just fine, above.
But now I also want to have, in the description of the thumbnail, a link to the wiki page for that file - so someone can back up and get a previous version if they want. Or if they have any trouble with the direct download link associated with the Excel icon.
The thumbnail description my example above is
Spreadsheet of electricity usage by month
I want to change this to say
Spreadsheet of electricity usage by month. Click on the icon to download the Excel, or click here to go to its file page.
(or something like that).
For the underlined part, if I try putting:
[[File:Your_Great_Spreadsheet.xlsx | click here to go to its file page]]
it only shows File:Your_Great_Spreadsheet.xlsx
, and not the text.
If I use Media:
instead of File:, it shows the text, but it just directly downloads the Excel - it doesn't take you to the Excel file's wiki page.
Edit: I also tried not having either File: or Media:, but then it just thinks Your_Great_Spreadsheet.xlsx
is a new (blank) page (it shows the thumbnail text using the red URL coloring).
How can I get this to work right?
Keep in mind that it' all being wrapped in the outer [[ ... ]] for the image and thumbnail, too.