User:KnightMiner/Sandbox/Chest.js

{{{{{|safesubst:}}}#switch: {{{p}}} {{{!}} class="wikitable" ! width="{{{width|15%}}}" {{!}} Alias !Produces {{ {{Module:Grid{{#if: {{{mod|}}} | /{{{mod}}} }}/Aliases}} {{!}}  }} }}}}{{  {{#if: {{#if:{{{dtitle|}}}|{{#pos:{{{dtitle|}}}¦}}|{{#pos:{{{title|}}}|¦}}}} |! align=center {{!}}{{ #if: {{{dtitle|}}}|{{ #replace:{{ #explode:{{{dtitle|}}}|¦|1}}|[t]|{{ #explode:{{{title|}}}|¦|1}}}}|{{ #explode:{{{title|}}}|¦|1}}}}{{ #ifeq:{{#explode:{{{upcoming|}}}|¦|1}}| |   | (}}}|¦|1}})}}}} {{#if: {{#pos:{{{2|}}}|¦}} |{{!}}{{#explode:{{{2|}}}|¦|1}}}} {{#if: {{#pos:{{{3|}}}|¦}} |{{!}}{{   #ifeq: {{#explode:{{{3|}}}|¦|1}}| |None |{{#explode:{{{3|}}}|¦|1}}}}}} {{#if: {{#pos:{{{4|}}}|¦}} |{{!}}{{   #explode:{{{4|}}}|¦|1}}}} {{#if: {{#pos:{{{5|}}}|¦}} |{{!}}{{   #ifeq: {{#explode:{{{5|}}}|¦|1}}| |None |{{#explode:{{{5|}}}|¦|1}}}}}} {{#if: {{#pos:{{{6|}}}|¦}} |{{!}}{{   #ifeq: {{#explode:{{{6|}}}|¦|1}}| |N/A |{{#explode:{{{6|}}}|¦|1}}}}}} {{#if: {{#pos:{{{7|}}}|¦}} |{{!}}{{   #ifeq: {{#explode:{{{7|}}}|¦|1}}| |N/A |{{#explode:{{{7|}}}|¦|1}}}}}} {{#ifeq: {{#dplvar:achievementid}}|1|{{ #if: {{#pos:{{{8|}}}|¦}} |{{!}}{{     #ifeq: {{#explode:{{{8|}}}|¦|1}}| |N/A | }} }}}} }} {{ |  |{{!}}}{{#dplvar:set|achievementheader|0|achievementid|0}} }}{{ #ifeq:{{#explode:{{{title|}}}|¦|0}}| | |}}{{  #ifeq:{{#explode:{{{title|}}}|¦|1}}| | |}}}} }}
 * alias=
 * 1) replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:
 * [' | {{!}}-
 * ', | }}
 * 1) ifeq: {{#var:doublecell|0}}|1|{{!}}-
 * 1) vardefine:doublecell|0}}{{
 * 2) ifeq: {{#dplvar:achievementfoot}}|1
 * 1) ifeq:{{NAMESPACE}}||{{
 * Sandbox.js: Please choose a valid project using.