User:Thomanski/Sandbox/Template

{{ #if: {{{3|}}} | {{#if:{{#var:noem1}}|{{#vardefine:noem1|}}{{#var:link1-short}}| {{#var:link1-short}} }}{{#if:{{#var:earth1}}|{{#vardefine:earth1|}}, and |, }} {{#if:{{#var:noem2}}|{{#vardefine:noem2|}}{{#var:link2-short}}| {{#var:link2-short}} }}, and {{#if:{{#var:noem3}}|{{#vardefine:noem3|}}{{#var:link3-short}}| {{#var:link3-short}} }} editions {{#var:cat1}}{{#var:cat2}}{{#var:cat3}} | {{   #if: {{{2|}}} | {{#if:{{#var:earth1}}|{{#if:{{#var:noem1}}|{{#vardefine:noem1|}}{{#var:link1-short}}| {{#var:link1-short}} }}|{{#if:{{var:earth2}}|{{#if:{{#var:noem1}}|{{#vardefine:noem1|}}{{#var:link1}}| {{#var:link1}} |{{#if:{{#var:noem1}}|{{#vardefine:noem1|}}{{#var:link1-short}}| {{#var:link1-short}} }}}}|{{#if:{{#var:noem1}}|{{#vardefine:noem1|}}{{#var:link1-short}}| {{#var:link1-short}} }}}} and {{#if:{{#var:earth1}}|{{#vardefine:earth1|}}{{#if:{{#var:noem2}}|{{#vardefine:noem2|}}{{#var:link2}}| {{#var:link2}} }}|{{#if:{{#var:noem2}}|{{#vardefine:noem2|}}{{#var:link2-short}}| {{#var:link2-short}} }} {{#if:{{#var:earth2}}|{{#vardefine:earth2|}}|editions}}}} {{#var:cat1}}{{#var:cat2}} | {{#if:{{#var:noem1}}|{{#vardefine:noem1|}}{{#var:link1}}| {{#var:link1}} }}{{#if:{{#var:earth1}}|{{#vardefine:earth1|}}|}} {{#var:cat1}} }} }} {{documentation}}