Difference between revisions of "Template:CalendarTable"

From SpiralKnights

Jump to: navigation, search
m (fix to show end date (test))
m (Undo revision 276772 by HikaruFer (talk))
 
(24 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>{|</noinclude>|- align = "center" valign="middle"
+
<includeonly>|- align = "center" valign="middle"
  
|style="background: #c7dbea; padding: 3px 3px 3px 3px; border-radius: 5px;" align="center" height="100px" | {{{#}}}
+
|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.{{{imgfmt|png}}}|{{{#}}}]]
 +
|alternate = [[:File:SpiralKnights News {{{news #}}}-alternate.{{{imgfmt|png}}}|{{{#}}}]]
 +
}}
 +
|{{{#}}}
 +
}}
  
|style="background: #c7dbea; padding: 3px 3px 3px 3px; border-radius: 5px;" align="center"                | {{#if:{{{news #|}}}|[[File:SpiralKnights News {{{news #}}}.png|161px|News art for this occurrence]]|No [[news]] art for this occurrence.}}
+
|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.]]
 +
|alternate = [[File:SpiralKnights News {{{news #}}}-alternate.{{{imgfmt|png}}}|161x99px|News art for this occurrence.]]
 +
}}
 +
|No [[news]] art for this occurrence.  
 +
}}
  
|style="background: #c7dbea; padding: 3px 3px 3px 3px; border-radius: 5px;" align="center"                | {{{start|{{???}}}}} <br> - <br> {{{end|{{???}}}}}
+
|style="background: #c7dbea; padding: 3px 3px 3px 3px; border-radius: 5px;" align="center"                | {{DoRSource|1={{{start}}}|dor={{{start}}}}} <br> - <br> ''{{{end|{{???}}}}}''
  
 
|style="background: #c7dbea; padding: 3px 3px 3px 3px; border-radius: 5px;" align="center"                | {{{duration}}}
 
|style="background: #c7dbea; padding: 3px 3px 3px 3px; border-radius: 5px;" align="center"                | {{{duration}}}
  
|style="background: #c7dbea; padding: 3px 3px 3px 3px; border-radius: 5px;" align="center"                | {{{forum announcement}}}
+
|style="background: #c7dbea; padding: 3px 3px 3px 3px; border-radius: 5px;" align="left" valign="top"    | {{{notes}}}</includeonly><noinclude>[[Category:Calendar Templates]]</noinclude>
 
+
|style="background: #c7dbea; padding: 3px 3px 3px 3px; border-radius: 5px;" align="left" valign="top"    | {{{notes}}}<noinclude>
+
|}[[Category:Calendar Templates]]</noinclude>
+

Latest revision as of 11:14, 1 March 2020

Personal tools