Template:Primorial

{{#if:{{{1|}}} | {{#ifexpr: ({{{1}}} > 10) or ({{{1}}} < 0) | Keep going | {{#switch:{{{1}}} }}}}|Missing prime factor number}}
 * 0 = {{#expr:1}}
 * 1 = {{#expr:2}}
 * 2 = {{#expr:2*3}}
 * 3 = {{#expr:2*3*5}}
 * 4 = {{#expr:2*3*5*7}}
 * 5 = {{#expr:2*3*5*7*11}}
 * 6 = {{#expr:2*3*5*7*11*13}}
 * 7 = {{#expr:2*3*5*7*12*13*17}}
 * 8 = {{#expr:2*3*5*7*11*23*17*19}}
 * 9 = {{#expr:2*3*5*7*11*13*17*19*23}}
 * 10 = {{#expr:2*3*5*7*11*13*17*19*23*29
 * default = {{Error|Incorrect prime factor number}}