Template:GameInfobox: Difference between revisions
No edit summary |
No edit summary |
||
(26 intermediate revisions by 2 users not shown) | |||
Line 14: | Line 14: | ||
| label4 = State | | label4 = State | ||
| data4 = {{{play_state|}}} | | data4 = {{{play_state|}}} | ||
| label5 = | | label5 = Number of Streams | ||
| data5 = {{# | | data5 = {{#ask: [[Stream Game::{{{name|{{PAGENAME}}}}}]]|format=count}} | ||
| label6 = | | label6 = Started | ||
| data6 = {{# | | data6 = {{Date|{{{started|}}}}}{{#if:{{{started|}}}|{{#set: Streamed starting={{{started}}}}}|}} | ||
| label7 = | | label7 = Finished | ||
| data7 = {{# | | 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 = | | data10 = {{#if:{{{jasb|}}}|[https://bets.jads.stream/games/{{{jasb}}} Bets]}} | ||
| data11 = <div style="padding | | 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]]}} | | header12 = Related Pages | ||
<noinclude> | | 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> | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 65: | Line 69: | ||
"started": { | "started": { | ||
"label": "Started", | "label": "Started", | ||
"description": "When Joe started playing the game.", | "description": "When Joe started playing the game. Give this in ISO 8601 format (YYYY-MM-DD).", | ||
"type": "date" | "type": "date" | ||
}, | }, | ||
"finished": { | "finished": { | ||
"label": "Finished", | "label": "Finished", | ||
"description": "When Joe finished playing the game, note this means completing the game, if he stopped playing before that, use dropped instead.", | "description": "When Joe finished playing the game, note this means completing the game, if he stopped playing before that, use dropped instead. Give this in ISO 8601 format (YYYY-MM-DD).", | ||
"type": "date" | "type": "date" | ||
}, | }, | ||
"dropped": { | "dropped": { | ||
"label": "Dropped", | "label": "Dropped", | ||
"description": "When Joe stopped playing the game, note this means not completing the game, if he stopped playing after finishing it, use finished instead.", | "description": "When Joe stopped playing the game, note this means not completing the game, if he stopped playing after finishing it, use finished instead. Give this in ISO 8601 format (YYYY-MM-DD).", | ||
"type": "date" | "type": "date" | ||
}, | }, | ||
Line 108: | 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 125: | Line 134: | ||
"next_in_series", | "next_in_series", | ||
"previous_played", | "previous_played", | ||
"next_played" | "next_played", | ||
"jasb" | |||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |