Template:StreamIndexEntry: Difference between revisions

No edit summary
No edit summary
 
(43 intermediate revisions by the same user not shown)
Line 1: Line 1:
|-
<includeonly>|- id="Stream-{{{index}}}{{#if: {{{part|}}}|-Part-{{{part}}}}}"
{{#ifexpr: {{{part|1}}} > 1 ||<includeonly>
{{#ifexpr: (not {{{part|0}}}) or {{{last_part|0}}} |
|rowspan="{{#if: {{{last_part|}}} | {{{part}}} | 1 }}"| {{{index}}}  
{{!}}rowspan="{{#if: {{{last_part|}}} | {{{part}}} | 1 }}" style="text-align: right;"{{!}} {{{index}}}  
|rowspan="{{#if: {{{last_part|}}} | {{{part}}} | 1 }}"| {{Date| {{{date}}} }}  
{{!}}rowspan="{{#if: {{{last_part|}}} | {{{part}}} | 1 }}"{{!}} {{Date| {{{date}}} }}  
</includeonly>}}
}}
|| {{#if: {{{game|}}} | [[{{{game}}}]] | Unknown Game }}
| {{#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|}}}  
|| {{{game_index|}}}  
|| {{{vods|}}}
|| {{flatlist|
<noinclude>
{{#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>
<templatedata>
<templatedata>
{
{
Line 33: 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"
},
"vods": {
"label": "VoD Links",
"description": "A list of links to VoDs for the stream. Should be an hlist of any variants (e.g: with chat, without chat) if they exist.",
"type": "content"
},
},
"part": {
"part": {
Line 46: Line 61:
"last_part": {
"last_part": {
"label": "Is Last Part",
"label": "Is Last Part",
"description": "True if this is the last part in the stream, if it has parts.",
"description": "1 if this is the last part in the stream, if it has parts.",
"type": "boolean",
"type": "boolean",
"default": "False"
"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"
}
}
},
},