Difference between revisions of "Template:CalendarTable"

From SpiralKnights

Jump to: navigation, search
m (fix so displayed image is actually the news blog "thumbnail" (reset)
(Added image format parameter.)
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.  

Revision as of 12:21, 1 June 2019

Personal tools