Template:Download: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:internalfilestatus|{{#if: {{{file|}}}|{{#ifexist: Media:{{{file}}}|exists|doesnotexist}}|notprovided}}}}<!-- | <includeonly>{{#vardefine:internalfilestatus|{{#if: {{{file|}}}|{{#ifexist: Media:{{{file}}}|exists|doesnotexist}}|notprovided}}}}<!-- | ||
--{|cellpadding="0" cellspacing="0" class="infobox download" style="float:none; {{#if: {{{file|}}} ||{{#if: {{{external|}}} ||display: none}}}}" | | -->{|cellpadding="0" cellspacing="0" class="infobox download" style="float:none; {{#if: {{{file|}}} ||{{#if: {{{external|}}} ||display: none}}}}" | | ||
|- | |- | ||
| style="padding: 10px 15px; line-height: 2em;{{#ifeq: {{#var:internalfilestatus}} | exists || 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;{{#ifeq: {{#var:internalfilestatus}} | exists || 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>|}} |