Template:StreamIndexEntry: Difference between revisions

Created page with "<includeonly>|- | {{{index}}} || {{{date}}} || [[{{{game}}}]] || {{{game_index}}} || {{{vods}}} </includeonly><noinclude> <templatedata> { "params": {}, "description": "An entry in the stream index.", "format": "inline" } </templatedata></noinclude>"
 
No edit summary
 
(66 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>|-
<includeonly>|- id="Stream-{{{index}}}{{#if: {{{part|}}}|-Part-{{{part}}}}}"
| {{{index}}} || {{{date}}} || [[{{{game}}}]] || {{{game_index}}} || {{{vods}}}
{{#ifexpr: (not {{{part|0}}}) or {{{last_part|0}}} |
{{!}}rowspan="{{#if: {{{last_part|}}} | {{{part}}} | 1 }}" style="text-align: right;"{{!}} {{{index}}}
{{!}}rowspan="{{#if: {{{last_part|}}} | {{{part}}} | 1 }}"{{!}} {{Date| {{{date}}} }}
}}
| {{#if:{{{color|}}}|style="background-color: {{{color}}}20;"}} | {{#if: {{{game|}}} | [[{{{game}}}]] | Unknown Game }}{{#subobject:Stream-{{{index}}}{{#if: {{{part|}}}|-Part-{{{part}}}}}
|Stream Number={{{index}}}
|Stream Part={{{part|}}}
|Stream Date={{{date|}}}
|Stream Game={{{game|}}}
|Game Stream Number={{{game_index|}}}
|Stream VoD={{{vod_with_chat|{{{vod_without_chat|}}}}}}
|Stream VoD (With Chat)={{{vod_with_chat|}}}
|Stream VoD (Without Chat)={{{vod_without_chat|}}}
|Stream Guest={{{guest|}}}
|Stream Guest={{{guest2|}}}
|Stream Guest={{{guest3|}}}
}}
|| {{{game_index|}}}  
|| {{flatlist|
{{#if:{{{vod_with_chat|}}}|* [{{{vod_with_chat}}} With Chat]
}}{{#if:{{{vod_without_chat|}}}|* [{{{vod_without_chat}}} Without Chat]
}}}}
|| {{#if:{{{guest|}}}|Guests: {{flatlist|
* [[{{{guest}}}]]
{{#if:{{{guest2|}}}|* [[{{{guest2}}}]]
}}{{#if:{{{guest3|}}}|* [[{{{guest3}}}]]
}}}}}}
</includeonly><noinclude>
</includeonly><noinclude>
<templatedata>
<templatedata>
{
{
"params": {},
"params": {
"index": {
"label": "Stream Number",
"description": "The number of the stream, relative to streams Joe has ever done.",
"type": "number",
"required": true
},
"date": {
"label": "Date",
"description": "The date the stream started airing. Give this in ISO 8601 format (YYYY-MM-DD).",
"type": "date",
"required": true
},
"game": {
"label": "Game Name",
"description": "The name of the game played in the stream.",
"type": "string",
"required": true
},
"game_index": {
"label": "Game Stream Index",
"description": "The number of the stream of this particular game, if it is part of a series of streams.",
"type": "number"
},
"part": {
"label": "Part",
"description": "Which part of the stream this entry is for, a number starting at 1, if the stream has multiple parts. This is used to split a stream where multiple games were played.",
"type": "number"
},
"last_part": {
"label": "Is Last Part",
"description": "1 if this is the last part in the stream, if it has parts.",
"type": "boolean",
"default": "0",
"autovalue": "0"
},
"color": {
"label": "Color",
"description": "The color to use to tint the row.",
"type": "string",
"suggested": true
},
"vod_with_chat": {
"label": "VoD Link (With Chat)",
"description": "A URL to the VoD for the stream with chat.",
"type": "url",
"suggested": true
},
"vod_without_chat": {
"label": "VoD Link (Without Chat)",
"description": "A URL to the VoD for the stream without chat.",
"type": "url"
},
"guest": {
"label": "Guest",
"description": "The name of the first guest who is a significant part of the stream, if there is one.",
"type": "wiki-page-name"
},
"guest2": {
"label": "Guest (2)",
"description": "The name of the second guest who is a significant part of the stream, if there is another.",
"type": "wiki-page-name"
},
"guest3": {
"label": "Guest (3)",
"description": "The name of the third guest who is a significant part of the stream, if there is another.",
"type": "wiki-page-name"
}
},
"description": "An entry in the stream index.",
"description": "An entry in the stream index.",
"format": "inline"
"format": "inline"
}
}
</templatedata></noinclude>
</templatedata></noinclude>