Template:GameInfobox: Difference between revisions

smw work fix
No edit summary
Line 14: Line 14:
   | label4 = State
   | label4 = State
   | data4 = {{{play_state|}}}
   | data4 = {{{play_state|}}}
   | label5 = Started
   | label5 = Number of Streams
   | data5 = {{Date|{{{started|}}}}}{{#if:{{{started|}}}|{{#set: Streamed starting={{{started}}}}}|}}
  | data5 = {{#ask: [[Stream Game::{{{name|{{PAGENAME}}}}}]]|format=count}}
   | label6 = Finished
  | label6 = Started
   | data6 = {{Date|{{{finished|}}}}}{{#if:{{{finished|}}}|{{#set: Finished on={{{finished}}}}}|}}
   | data6 = {{Date|{{{started|}}}}}{{#if:{{{started|}}}|{{#set: Streamed starting={{{started}}}}}|}}
   | label7 = Dropped
   | label7 = Finished
   | data7 = {{Date|{{{dropped|}}}}}
   | data7 = {{Date|{{{finished|}}}}}{{#if:{{{finished|}}}|{{#set: Finished on={{{finished}}}}}|}}
   | label8 = Watch
   | label8 = Dropped
   | data8 = {{#if:{{{playlist|}}}|{{JoeYT2PlaylistCite|{{{playlist}}}|title={{{name|{{PAGENAME}}}}}}}}}
   | data8 = {{Date|{{{dropped|}}}}}
   | label9 = Watch
   | data9 = {{#if:{{{playlist|}}}|{{JoeYT2PlaylistCite|{{{playlist}}}|title={{{name|{{PAGENAME}}}}}}}}}


   | data9 = <div style="padding: 0.5em 0; border-top: 1px dashed #ccc; display: grid; text-align: center; align-items: center; justify-items: center; grid-template-columns: 1fr auto auto auto 1fr; gap: 0.5em;">{{#if:{{{series|}}}|{{#if:{{{previous_in_series|}}}|<span style="justify-self: end">{{{previous_in_series}}}</span><span>←</span>|<span></span><span></span>}}[[:Category:{{{series}}}|In Series]]{{#if:{{{next_in_series|}}}|<span>→</span><span style="justify-self: start">{{{next_in_series}}}</span>|<span></span><span></span>}}}}{{#if:{{{previous_played|}}}|<span style="justify-self: end">{{{previous_played}}}</span><span>←</span>|<span></span><span></span>}}[[:Category:Games|All Games]]{{#if:{{{next_played|}}}|<span>→</span><span style="justify-self: start">{{{next_played}}}</span>|<span></span><span></span>}}</div>
   | data10 = <div style="padding: 0.5em 0; border-top: 1px dashed #ccc; display: grid; text-align: center; align-items: center; justify-items: center; grid-template-columns: 1fr auto auto auto 1fr; gap: 0.5em;">{{#if:{{{series|}}}|{{#if:{{{previous_in_series|}}}|<span style="justify-self: end">{{{previous_in_series}}}</span><span>←</span>|<span></span><span></span>}}[[:Category:{{{series}}}|In Series]]{{#if:{{{next_in_series|}}}|<span>→</span><span style="justify-self: start">{{{next_in_series}}}</span>|<span></span><span></span>}}}}{{#if:{{{previous_played|}}}|<span style="justify-self: end">{{{previous_played}}}</span><span>←</span>|<span></span><span></span>}}[[:Category:Games|All Games]]{{#if:{{{next_played|}}}|<span>→</span><span style="justify-self: start">{{{next_played}}}</span>|<span></span><span></span>}}</div>


   | header10 = Related Pages
   | header11 = Related Pages
   | data11 = <div style="text-align: center;">{{hlist|[[:Category:{{{name|{{PAGENAME}}}}}|Game]]|{{#if:{{{series|}}}|[[:Category:{{{series}}}|Series]]}}}}
   | data12 = <div style="text-align: center;">{{hlist|[[:Category:{{{name|{{PAGENAME}}}}}|Game]]|{{#if:{{{series|}}}|[[:Category:{{{series}}}|Series]]}}}}
}}[[Category:Games]]{{#if:{{{series|}}}|* [[Category:{{{series}}}|Series]]}}</div>
}}[[Category:Games]]{{#if:{{{series|}}}|* [[Category:{{{series}}}|Series]]}}</div>
</includeonly><noinclude>
</includeonly><noinclude>