Difference between revisions of "Template:CalendarTable"
From SpiralKnights
m (fix so displayed image is actually the news blog "thumbnail" (reset) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
|style="background: #c7dbea; padding: 3px 3px 3px 3px; border-radius: 5px;" align="center" height="100px" | {{#if:{{{news #|}}}|{{#switch:{{{variant|big}}} | |style="background: #c7dbea; padding: 3px 3px 3px 3px; border-radius: 5px;" align="center" height="100px" | {{#if:{{{news #|}}}|{{#switch:{{{variant|big}}} | ||
− | |big = [[:File:SpiralKnights News {{{news #}}}-big.png|{{{#}}}]] | + | |big = [[:File:SpiralKnights News {{{news #}}}-big.{{{imgfmt|png}}}|{{{#}}}]] |
− | |alternate = [[:File:SpiralKnights News {{{news #}}}-alternate.png|{{{#}}}]] | + | |alternate = [[:File:SpiralKnights News {{{news #}}}-alternate.{{{imgfmt|png}}}|{{{#}}}]] |
}} | }} | ||
|{{{#}}} | |{{{#}}} | ||
Line 10: | Line 10: | ||
|style="background: #c7dbea; padding: 3px 3px 3px 3px; border-radius: 5px;" align="center" | {{#if:{{{news #|}}}|{{#switch:{{{variant|big}}} | |style="background: #c7dbea; padding: 3px 3px 3px 3px; border-radius: 5px;" align="center" | {{#if:{{{news #|}}}|{{#switch:{{{variant|big}}} | ||
|big = [[File:SpiralKnights News {{{news #}}}.png|161x99px|News art for this occurrence.]] | |big = [[File:SpiralKnights News {{{news #}}}.png|161x99px|News art for this occurrence.]] | ||
− | |alternate = [[File:SpiralKnights News {{{news #}}}-alternate.png|161x99px|News art for this occurrence.]] | + | |alternate = [[File:SpiralKnights News {{{news #}}}-alternate.{{{imgfmt|png}}}|161x99px|News art for this occurrence.]] |
}} | }} | ||
|No [[news]] art for this occurrence. | |No [[news]] art for this occurrence. |