Template:GameInfobox: Difference between revisions
No edit summary Tag: Manual revert |
No edit summary |
||
Line 25: | Line 25: | ||
| data9 = {{#if:{{{playlist|}}}|{{JoeYT2PlaylistCite|{{{playlist}}}|title={{{name|{{PAGENAME}}}}}}}}} | | data9 = {{#if:{{{playlist|}}}|{{JoeYT2PlaylistCite|{{{playlist}}}|title={{{name|{{PAGENAME}}}}}}}}} | ||
| data10 = | | label10 = Links | ||
| 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> | ||
| | |||
| header12 = Related Pages | |||
| data13 = <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> | ||
Line 109: | 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 126: | Line 134: | ||
"next_in_series", | "next_in_series", | ||
"previous_played", | "previous_played", | ||
"next_played" | "next_played", | ||
"jasb" | |||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Revision as of 18:22, 25 February 2025
An infobox for a game.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | The name of the game. | String | required |
Box Art | box_art | The box art for the game. | File | suggested |
Series | series | The name of the series the game is in. | String | optional |
IGDB Link | igdb_link | A link to the page about the game on IGDB. | URL | required |
Play State | play_state | If Joe has played the game.
| String | required |
Started | started | When Joe started playing the game. Give this in ISO 8601 format (YYYY-MM-DD). | Date | optional |
Finished | finished | 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). | Date | optional |
Dropped | dropped | 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). | Date | optional |
Playlist | playlist | The YouTube playlist code from the URL for the playlist of Joe playing the game on his second channel. If only unofficial options are available, please add those as additional content instead. | String | optional |
Previous Game Joe Played In Series | previous_in_series | The previous game Joe played in the series, if there was one. This should be a link. | Content | optional |
Next Game Joe Played In Series | next_in_series | The next game Joe played in the series, if there is one. This should be a link. | Content | optional |
Previous Game Joe Played | previous_played | The previous game Joe played before this one. This should be a link. | Content | optional |
Next Game Joe Played | next_played | The game Joe played after this one. This should be a link. | Content | optional |
JASB Bets Slug | jasb | The slug (part of the URL) for JASB bets for the game. | String | optional |