Template:Download: Difference between revisions

From Hidden Palace
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#vardefine:internalallowed|{{#if: {{#ask: [[{{FULLPAGENAME}}]] [[Has system::Xbox One||PS4]] |format=count}}|no|yes}}}}{{#var:internalallowed}}{{#vardefine:internalfilestatus|{{#if: {{{file|}}}|{{#ifexist: Media:{{{file}}}|exists|doesnotexist}}|notprovided}}}}<!--
<includeonly>{{#vardefine:internalallowed|{{#if: {{#ask: [[{{FULLPAGENAME}}]] [[Has system::Xbox One||PS4]] |format=count}}|no|yes}}}}{{#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 8: Line 8:
| 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]|}}
| 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]|}}
|-
|-
| style="padding: 10px 15px; line-height: 2em;{{#ifeq: {{#var:internalallowed}} | yes || display: none}}"| Note: Do not upload {{#show: {{FULLPAGENAME}} |?Has system}} builds directly.
| style="padding: 10px 15px; line-height: 2em;{{#ifeq: {{#var:internalallowed}} | no | display: none||}}"| Note: Do not upload {{#show: {{FULLPAGENAME}} |?Has system}} builds directly.
|-
|-
|}{{#ifexpr: {{#if: {{{file|}}}|1|0}}=0 and {{#if: {{{external|}}}|1|0}}=1 | [[Category:External links without a download]] |  }}<!--
|}{{#ifexpr: {{#if: {{{file|}}}|1|0}}=0 and {{#if: {{{external|}}}|1|0}}=1 | [[Category:External links without a download]] |  }}<!--

Revision as of 22:33, March 5, 2026