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|}}}


| header2 = Joe's Playthrough
| header3 = Joe's Playthrough
| label3 = State
| label4 = State
| data3 = {{{play_state|}}}
| data4 = {{{play_state|}}}
| label4 = Started
| label5 = Started
| data4 = {{#dateformat:{{{started|}}}}}
| data5 = {{#dateformat:{{{started|}}}}}
| label5 = Finished
| label6 = Finished
| data5 = {{#dateformat:{{{finished|}}}}}
| data6 = {{#dateformat:{{{finished|}}}}}
| label6 = Dropped
| label7 = Dropped
| data6 = {{#dateformat:{{{dropped|}}}}}
| data7 = {{#dateformat:{{{dropped|}}}}}
| label7 = Watch
| label8 = Watch
| data7 = {{#if:{{{playlist|}}}|{{JoeYT2PlaylistCite|{{{playlist}}}|title={{{name|{{PAGENAME}}}}}}}}}
| data8 = {{#if:{{{playlist|}}}|{{JoeYT2PlaylistCite|{{{playlist}}}|title={{{name|{{PAGENAME}}}}}}}}}


| header8 = Related Pages
| header9 = Related Pages
| data9 = {{flatlist|
| 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>