Template:GameInfobox: Difference between revisions
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
| label1 = Series | | label1 = Series | ||
| data1 = {{#if:{{{series|}}}|[[:Category:{{{series}}}|{{{series}}}]]}} | | data1 = {{#if:{{{series|}}}|[[:Category:{{{series}}}|{{{series}}}]]}} | ||
| label2 = IDGB | |||
| data2 = {{{igdb_link|}}} | |||
| | | header3 = Joe's Playthrough | ||
| | | label4 = State | ||
| | | data4 = {{{play_state|}}} | ||
| | | label5 = Started | ||
| | | data5 = {{#dateformat:{{{started|}}}}} | ||
| | | label6 = Finished | ||
| | | data6 = {{#dateformat:{{{finished|}}}}} | ||
| | | label7 = Dropped | ||
| | | data7 = {{#dateformat:{{{dropped|}}}}} | ||
| | | label8 = Watch | ||
| | | data8 = {{#if:{{{playlist|}}}|{{JoeYT2PlaylistCite|{{{playlist}}}|title={{{name|{{PAGENAME}}}}}}}}} | ||
| | | header9 = Related Pages | ||
| | | data10 = {{flatlist| | ||
* [[:Category:{{{name|{{PAGENAME}}}}}|Game]] | * [[:Category:{{{name|{{PAGENAME}}}}}|Game]] | ||
{{#if:{{{series|}}}|* [[:Category:{{{series}}}|Series]]}} | {{#if:{{{series|}}}|* [[:Category:{{{series}}}|Series]]}} | ||
Line 79: | Line 81: | ||
"description": "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.", | "description": "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.", | ||
"type": "string" | "type": "string" | ||
}, | |||
"igdb_link": { | |||
"label": "IGDB Link", | |||
"description": "A link to the page about the game on IGDB.", | |||
"type": "url", | |||
"required": true | |||
} | } | ||
}, | }, | ||
"description": "An infobox for a game.", | "description": "An infobox for a game.", | ||
"format": "block" | "format": "block", | ||
"paramOrder": [ | |||
"name", | |||
"box_art", | |||
"series", | |||
"igdb_link", | |||
"play_state", | |||
"started", | |||
"finished", | |||
"dropped", | |||
"playlist" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |