User:Auldrick/Sandbox/Template

{{#fornumargs: argnum | argval | {{#switch: {{lc:{{#var: argval}} }} | computer | pc | java | je = {{#vardefine: edition | Java Edition}} {{#vardefine: linkname | Java Edition}} {{#vardefine: category | Java Edition}} | pocket | bedrock | be = {{#vardefine: edition | Bedrock Edition}} {{#vardefine: linkname | Bedrock Edition}} {{#vardefine: category | Bedrock Edition}} | console | legacy console | lce = {{#vardefine: edition | Legacy Console Edition}} {{#vardefine: linkname | Legacy Console Edition}} {{#vardefine: category | Legacy Console Edition}} | education | edu | ee = {{#vardefine: edition | Education Edition}} {{#vardefine: linkname | Education Edition}} {{#vardefine: category | Education Edition}} | new3ds | new 3ds | 3ds = {{#vardefine: edition | New Nintendo 3DS Edition}} {{#vardefine: linkname | New Nintendo 3DS Edition}} {{#vardefine: category | New Nintendo 3DS Edition}} | #default = {{#vardefine: edition | {{ucfirst:{{#var: argval}} Edition}} }} {{#vardefine: linkname | {{#var: edition}} }} {{#vardefine: category | {{#var: edition}}}} }}     {{#vardefine: editions | {{#if: {{#var: editions|}} | {{#if: {{{ {{#expr: {{#var: argnum}} + 1}}| }}} | {{#var: editions}}, | {{#var: editions}} and }}               }}  {{#var: edition}}                     |                     | {{#var: linkname}} {{!}}                    }} {{#var: edition}} }}       {{#vardefine: categories | {{#var: categories}}  }}  {{msgbox | bgcol=#e6f3f7 | linecol=#95d1e9 | title= {{#if: {{{customtext|}}} | | {{animate|{{#var: images}}|251px}} }} | text= {{#if: {{{customtext|}}} | {{{customtext}}} | {{#var: editions}} only}} | css=display: table; min-width: 255px; padding-top: 10px; }} {{#if: {{{nocat|}}} |        | {{#switch: {{NAMESPACE}} | {{TALKSPACE}} | {{ns:User}} = | {{#var: categories}} }}       }}   {{documentation}}