Template:Download: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{#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}}}}" | | ||
|- | |- | ||
Line 11: | Line 11: | ||
{{#ifeq: {{#var:internalfilestatus}} | doesnotexist | [[Category:Broken download links]]||}} | {{#ifeq: {{#var:internalfilestatus}} | doesnotexist | [[Category:Broken download links]]||}} | ||
{{#ifeq: {{#var:internalfilestatus}} | notprovided | [[Category:Pages with no download links]]||}} | {{#ifeq: {{#var:internalfilestatus}} | notprovided | [[Category:Pages with no download links]]||}} | ||
</includeonly> |