Template:GameInfobox: Difference between revisions

m actually fix #if
Move #set elsewhere
Line 1: Line 1:
<includeonly>
<includeonly>{{Infobox
{{#if:{{{started|}}}|{{#set: Streamed starting:{{{started}}}}}|}}
{{#if:{{{ended|}}}|{{#set: Finished on:{{{ended}}}}}|}}
{{Infobox
   | bodystyle = border-spacing: 2px 5px;
   | bodystyle = border-spacing: 2px 5px;
   | above = {{{name|{{PAGENAME}}}}}
   | above = {{{name|{{PAGENAME}}}}}
Line 18: Line 15:
   | data4 = {{{play_state|}}}
   | data4 = {{{play_state|}}}
   | label5 = Started
   | label5 = Started
   | data5 = {{Date|{{{started|}}}}}
   | data5 = {{Date|{{{started|}}}}}{{#if:{{{started|}}}|{{#set: Streamed starting:{{{started}}}}}|}}
   | label6 = Finished
   | label6 = Finished
   | data6 = {{Date|{{{finished|}}}}}
   | data6 = {{Date|{{{finished|}}}}}{{#if:{{{finished|}}}|{{#set: Finished on:{{{ended}}}}}|}}
   | label7 = Dropped
   | label7 = Dropped
   | data7 = {{Date|{{{dropped|}}}}}
   | data7 = {{Date|{{{dropped|}}}}}