Jump to content

Template:StreamIndexEntry: Difference between revisions

From Joepedia
No edit summary
No edit summary
 
(34 intermediate revisions by the same user not shown)
Line 1: Line 1:
|-
<includeonly>|- id="Stream-{{{index}}}{{#if: {{{part|}}}|-Part-{{{part}}}}}"
{{#ifexpr: {{{last_part|0}}} |<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 50: Line 65:
"default": "0",
"default": "0",
"autovalue": "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"
}
}
},
},

Latest revision as of 19:42, 19 February 2025

An entry in the stream index.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Stream Numberindex

The number of the stream, relative to streams Joe has ever done.

Numberrequired
Datedate

The date the stream started airing. Give this in ISO 8601 format (YYYY-MM-DD).

Daterequired
Game Namegame

The name of the game played in the stream.

Stringrequired
Game Stream Indexgame_index

The number of the stream of this particular game, if it is part of a series of streams.

Numberoptional
Partpart

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.

Numberoptional
Is Last Partlast_part

1 if this is the last part in the stream, if it has parts.

Default
0
Auto value
0
Booleanoptional
Colorcolor

The color to use to tint the row.

Stringsuggested
VoD Link (With Chat)vod_with_chat

A URL to the VoD for the stream with chat.

URLsuggested
VoD Link (Without Chat)vod_without_chat

A URL to the VoD for the stream without chat.

URLoptional
Guestguest

The name of the first guest who is a significant part of the stream, if there is one.

Page nameoptional
Guest (2)guest2

The name of the second guest who is a significant part of the stream, if there is another.

Page nameoptional
Guest (3)guest3

The name of the third guest who is a significant part of the stream, if there is another.

Page nameoptional