Vorlage:LetsPlay: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Standard für "project_name", zeigt immer auf den Namen der Seite |
||
| (9 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
{{Infobox | <onlyinclude>{{Infobox | ||
| title = {{{project_name|}}} | | title = {{{project_name|{{SUBPAGENAME}}}}} | ||
| titlestyle = background:steelblue;color:white; | | titlestyle = background:steelblue;color:white; | ||
| Zeile 15: | Zeile 15: | ||
| data3 = {{#ifeq:{{{end_date|}}}|||{{date|{{{end_date|}}}}} }} | | data3 = {{#ifeq:{{{end_date|}}}|||{{date|{{{end_date|}}}}} }} | ||
| label4 = | | label4 = Folgenzahl | ||
| data4 = {{{episodes_count|}}} | | data4 = {{{episodes_count|}}} | ||
| Zeile 21: | Zeile 21: | ||
| data5 = {{#ifeq:{{{full_duration_mins|}}}|||{{MinutesToReadable|{{{full_duration_mins|}}}}} }} | | data5 = {{#ifeq:{{{full_duration_mins|}}}|||{{MinutesToReadable|{{{full_duration_mins|}}}}} }} | ||
| label6 = {{#ifeq:{{{status|Beendet}}}| | | label6 = {{#ifeq:{{{status|}}}|Beendet|War|{{#ifeq:{{{status|}}}|Abgebrochen|War|Ist}}}} Live-LP? | ||
| data6 = {{{was_live|}}} | | data6 = {{#ifeq:{{Yesno|{{{was_live|}}}}}|yes|Ja|Nein}} | ||
| label7 = Gäste | | label7 = Gäste | ||
| data7 = {{{guests|}}} | | data7 = {{{guests|}}} | ||
| label8 = Playlist | |||
| data8 = {{#if:{{{yt_playlist_id|}}} | [https://www.youtube.com/playlist?list={{{yt_playlist_id|}}} YouTube-Playlist] | }} | |||
| belowstyle = border-top:2px solid steelblue; | | belowstyle = border-top:2px solid steelblue; | ||
| below = {{#if:{{{previous_season|}}} | | below = {{#if:{{{previous_season|}}} | ||
|<div style="float:left;{{#if{{{ | |<div style="display: block;"><div style="float:left;">{{#if:{{{previous_season_text|}}} | [[{{{previous_season|}}}|← {{{previous_season_text|}}}]] | [[{{{previous_season|}}}|← {{{previous_season|}}}]]}} | ||
}}</div>{{#if:{{{next_season|}}} | }}</div>{{#if:{{{next_season|}}} | ||
|<div style="float:right;{{#if{{{ | |<div style="float:right;">{{#if:{{{next_season_text|}}} | [[{{{next_season|}}}|{{{next_season_text|}}} →]] | [[{{{next_season|}}}|{{{next_season|}}} →]]}} | ||
}}</div> | }}</div></div> | ||
}}</onlyinclude> | |||
{{#invoke:Check for unknown parameters|check|preview=Page using [[Template:LetsPlay]] with unknown parameter "_VALUE_"|ignoreblank=y| image | imagealttext | imagewidth | caption | project_name | status | start_date | end_date | episodes_count | full_duration_mins | was_live | guests | previous_season | previous_season_text | next_season | next_season_text | yt_playlist_id }}<noinclude>{{documentation}}</noinclude> | |||
{{documentation}}</noinclude> | |||
Aktuelle Version vom 27. Mai 2025, 21:24 Uhr
| Status | unbekannt |
|---|---|
| Ist Live-LP? | Nein |
| This template uses Lua: |
Parameter
| Parameter | Typ | Standardwert | Beschreibung |
|---|---|---|---|
| image | String | |
Name der Grafik, die angezeigt werden soll |
| imagewidth | String | 200px |
Breite des Bildes, Einheit (zum Beispiel "px") muss mit angegeben werden |
| imagealttext | String | |
Text, der anstelle des Bildes angezeigt wird, wenn es nicht geladen werden kann |
| caption | String | |
Bildunterschrift des übergebenen "image" |
| project_name | String | |
Beispiel |
| status | String | |
Status, den das Projekt hat. Bestimmte Angaben färben den Statustext ein:
|
| start_date | String | |
Beginn des Projekts im Format yyyy-MM-dd (z.B. 2017-08-22)
|
| end_date | String | |
Ende des Projekts im Format yyyy-MM-dd (z.B. 2018-01-26)
|
| episodes_count | Zahl | |
Anzahl der Folgen des Projekts |
| full_duration_mins | Zahl | |
Angabe in Minuten, wie lange es dauert, das Projekt in 1x-Geschwindigkeit anzuschauen. Angefangene Minuten werden korrekt gerundet:
|
| was_live | Zahl | 0 |
0 oder 1 möglich. 1 definiert, wenn das Projekt ein Live-LP war oder exklusiv in Livestreams gespielt wurde und nur auf dem VOD-Kanal erscheint
|
| guests | String | |
Kommagetrennte Angabe der Mitspieler in einem Projekt. Bitte als Wiki-Link angeben (z.B. [[Gronkh]])
|
| previous_season | String | |
Wiki-Seite der vorherigen Staffel eines Projektes |
| previous_season_text | String | |
Kann definiert werden, um den Anzeigenamen der vorherigen Staffel zu überschreiben. Optionale Angabe |
| next_season | String | |
Wiki-Seite der nächsten Staffel eines Projektes |
| next_season_text | String | |
Kann definiert werden, um den Anzeigenamen der nächsten Staffel zu überschrieben. Optionale Angabe |
| yt_playlist_id | String | |
ID zur YouTube-Playlist, wenn vorhanden. NUR die ID, ohne "https://youtube.com/playlist?list=" |
Kopiervorlage
{{LetsPlay
| image =
| imagewidth =
| imagealttext =
| caption =
| project_name =
| status =
| start_date =
| end_date =
| episodes_count =
| full_duration_mins =
| was_live = 0
| guests =
| previous_season =
| previous_season_text =
| next_season =
| next_season_text =
| yt_playlist_id =
}}