Template:StreamIndexEntry: Difference between revisions
No edit summary |
No edit summary |
||
(63 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>|- | <includeonly>|- id="Stream-{{{index}}}{{#if: {{{part|}}}|-Part-{{{part}}}}}" | ||
{{#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> | ||
Line 27: | Line 53: | ||
"description": "The number of the stream of this particular game, if it is part of a series of streams.", | "description": "The number of the stream of this particular game, if it is part of a series of streams.", | ||
"type": "number" | "type": "number" | ||
}, | }, | ||
"part": { | "part": { | ||
Line 37: | Line 58: | ||
"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.", | "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" | "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" | |||
} | } | ||
}, | }, |