Content added Content deleted
Guiltyhollow (talk | contribs) No edit summary |
Guiltyhollow (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<onlyinclude> |
<onlyinclude> |
||
{{# |
{{#if: {{{1|}}} | |
||
{{#ifeq: {{{1}}} | 1x1 | 1 Slot (1x1) | {{#ifeq: {{{1}}} | error | {{{1}}} | {{#explode:{{{1}}}|x|1}} Slots ({{#explode:{{{1}}}|x|0}}x{{#explode:{{{1}}}|x|1}}) }} }} |
|||
{{#vardefine:slotHeight|{{#explode:{{{1|}}}|x|1}}}} |
|||
{{#vardefine:slotNumber|{{#iferror:{{#expr:{{#var:slotWidth}} * {{#var:slotHeight}}}}|error}}}} |
|||
{{#switch:{{#var:slotNumber}} |
|||
|error|0 = {{{1|}}} |
|||
|1 = 1 Slot ({{#var:slotWidth}}x{{#var:slotHeight}}) |
|||
|#default = {{#var:slotNumber}} Slots ({{#var:slotWidth}}x{{#var:slotHeight}}) |
|||
}} |
|||
</onlyinclude> |
</onlyinclude> |
||
Revision as of 05:18, 6 May 2024
{{#if: |
{{#explode:{{{1}}}|x|1}} Slots ({{#explode:{{{1}}}|x|0}}x{{#explode:{{{1}}}|x|1}})