Difference between revisions of "Template:CalendarTable"

From SpiralKnights

Jump to: navigation, search
m (fix so displayed image is actually the news blog "thumbnail" (reset)
m (Undo revision 276772 by HikaruFer (talk))
 
(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.  

Latest revision as of 11:14, 1 March 2020

Personal tools