Template:GameInfobox: Difference between revisions
Move #set elsewhere |
No edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 14: | Line 14: | ||
| label4 = State | | label4 = State | ||
| data4 = {{{play_state|}}} | | data4 = {{{play_state|}}} | ||
| label5 = Started | | label5 = Number of Streams | ||
| | | data5 = {{#ask: [[Stream Game::{{{name|{{PAGENAME}}}}}]]|format=count}} | ||
| | | label6 = Started | ||
| | | data6 = {{Date|{{{started|}}}}}{{#if:{{{started|}}}|{{#set: Streamed starting={{{started}}}}}|}} | ||
| | | label7 = Finished | ||
| | | data7 = {{Date|{{{finished|}}}}}{{#if:{{{finished|}}}|{{#set: Finished on={{{finished}}}}}|}} | ||
| | | label8 = Dropped | ||
| | | data8 = {{Date|{{{dropped|}}}}} | ||
| label9 = Watch | |||
| data9 = {{#if:{{{playlist|}}}|{{JoeYT2PlaylistCite|{{{playlist}}}|title={{{name|{{PAGENAME}}}}}}}}} | |||
| | | label10 = Joe Ecosystem | ||
| data10 = {{#if:{{{jasb|}}}|[https://bets.jads.stream/games/{{{jasb}}} Bets]}} | |||
| | | data11 = <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> | ||
| | |||
}}[[Category:Games]]{{#if:{{{series|}}}|* [[Category:{{{series}}}|Series]]}}</div> | | header12 = Related Pages | ||
| data13 = <div style="text-align: center;">{{hlist|[[:Category:{{{name|{{PAGENAME}}}}}|Game]]|{{#if:{{{series|}}}|[[:Category:{{{series}}}|Series]]}}}} | |||
}}[[Category:Games]][[Category:{{{name|{{PAGENAME}}}}}]]{{#if:{{{series|}}}|* [[Category:{{{series}}}|Series]]}}</div> | |||
</includeonly><noinclude> | </includeonly><noinclude> | ||
<templatedata> | <templatedata> | ||
Line 107: | Line 112: | ||
"description": "The game Joe played after this one. This should be a link.", | "description": "The game Joe played after this one. This should be a link.", | ||
"type": "content" | "type": "content" | ||
}, | |||
"jasb": { | |||
"label": "JASB Bets Slug", | |||
"description": "The slug (part of the URL) for JASB bets for the game.", | |||
"type": "string" | |||
} | } | ||
}, | }, | ||
Line 124: | Line 134: | ||
"next_in_series", | "next_in_series", | ||
"previous_played", | "previous_played", | ||
"next_played" | "next_played", | ||
"jasb" | |||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |