Template:Download: Difference between revisions

From Hidden Palace
Jump to navigation Jump to search
(Created page with "Media:{{{file}}}|Download {{#if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }} ")
 
(Hide the direct link if the file does not exist)
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Media:{{{file}}}|Download {{#if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }}  ]
{|cellpadding="0" cellspacing="0" class="infobox download" style="float:none; {{#if: {{{file|}}} ||{{#if: {{{external|}}} ||display: none}}}}" |
|-
| style="padding: 10px 15px; line-height: 2em;{{#if: {{{file|}}} | {{#ifexist: Media:{{{file}}} || display: none}} | display: none}}"| {{#if: {{{file|}}} | [[Media:{{{file}}}|<i class="fa fa-download fa-2x" style="padding-right: 5px"></i>  Download {{#if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }}  ]] <span style="font-size: 10px">([[:File:{{{file}}}|info]]{{#if: {{{raw|}}} | , [[Media:{{{raw}}}|raw dump]] |}})</span>|}}
|-
| style="padding: 10px 15px; line-height: 2em;{{#if: {{{external|}}} ||display: none}}"| {{#if: {{{external|}}} | [{{{external}}} <i class="fa fa-external-link fa-2x" style="padding-right: 5px"></i> Download {{#if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }} from external mirror]|}}
|}

Revision as of 03:17, March 21, 2021