Template:OfferLocoTest

{{#if: {{{year}}} | {{#if: {{{month}}} | {{#if: {{{day}}} | {{#vardefine:date|{{{year}}}-{{#var:month_text}}-{{{day}}} | {{#vardefine:date|{{{year}}}-{{#var:month_text}} }} | }} | }} {{#if: {{{cost_gold|}}} | {{#vardefine:cost|{{((}}cost{{!}}gold={{{cost_gold}}}{{))}} }} | }} {{#if: {{{cost_gem|}}} | {{#vardefine:cost|{{((}}cost{{!}}gems={{{cost_gem}}}{{))}} }} | }}

{{#if: {{{limit|}}} | Limit {{formatnum: {{{limit}}} }} }}
 * style="width:{{#var:COL1_WIDTH}}; text-align:left;" colspan="1" | {{#switch:{{lc:{{#sub:{{{type}}}|0|1}}}}|s=Special|v=Vintage|u=Under 90|l=Limited|Undefined}}
 * style="width:{{#var:COL2_WIDTH}}; text-align:left;" colspan="1" | {{#var:date}}
 * style="width:{{#var:COL3_WIDTH}}; text-align:right;" colspan="1" | {{#var:cost|}}
 * style="width:{{#var:COL4_WIDTH}}; text-align:right;" colspan="1" | {{XP | {{{buyxp}}} }}
 * style="width:{{#var:COL5_WIDTH}}; text-align:right;" colspan="1" | {{formatnum: {{{level}}} }}
 * style="width:{{#var:COL6_WIDTH}}; text-align:center;" colspan="1" |

{{#switch: {{lc:{{#sub:{{{type}}}|0|1}}}} |s= |v= |u= |l= }}

{{Documentation}}