Vorlage:Liederliste-Stück: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Michi (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Michi (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
Zeile 121: | Zeile 121: | ||
<td>{{#if: {{{3|}}} | {{#explode |;|{{{3|}}}|autoren}}{{#foreach | autoren || {{#_value}} }} || }}</td> | <td>{{#if: {{{3|}}} | {{#explode |;|{{{3|}}}|autoren}}{{#foreach | autoren || {{#_value}} }} || }}</td> | ||
{{#ifexist: {{#_value}} | [[{{#_value}}]] | {{#_value}} }} | |||
--> | --> | ||
Zeile 128: | Zeile 130: | ||
<td>{{{1|}}}</td> | <td>{{{1|}}}</td> | ||
<td><b>{{#ifexist: Lied "{{{2|}}}" ({{{3|}}}) | [[Lied "{{{2|}}}" ({{{3|}}}) | {{{2|}}}]] | {{{2|}}} }}</b></td> | <td><b>{{#ifexist: Lied "{{{2|}}}" ({{{3|}}}) | [[Lied "{{{2|}}}" ({{{3|}}}) | {{{2|}}}]] | {{{2|}}} }}</b></td> | ||
<td>{{#if: {{{3|}}} | {{#explode |;|{{{3|}}}|autoren}}{{#foreach | autoren || {{#_value}} }} || | <td>{{#if: {{{3|}}} | {{#explode |;|{{{3|}}}|autoren}}{{#foreach | autoren || {{#_value}} }} || }}</td> | ||
<td><small>{{{4|}}}</small></td> | <td><small>{{{4|}}}</small></td> | ||
<td>{{{5|}}}</td> | <td>{{{5|}}}</td> | ||
</tr></includeonly> | </tr></includeonly> |
Version vom 30. September 2011, 22:00 Uhr
Eine Zeile innerhalb einer Mikiwiki-Liederliste.
- Die Vorlage:Liederliste-Kopf erzeugt die Kopfzeile mit den Spaltenbezeichnungen.
- Die Vorlage:Fuss schliesst die Tabelle ab.
Kopiervorlage
{{Liederliste-Stück||||| }}
Beschreibung
Spalte | Para- meter |
Inhalt |
---|---|---|
Dauer | 1 | Dauer des Lieds. |
Titel | 2 | Titel des Lieds. |
Autor | 3 | Der Name des oder der Autoren. |
Datum | 4 | Veröffentlichungsdaten. |
Anmerkungen | 5 | Anmerkungen. |
Wiki-Syntax
<tr> <td>{{{1|}}}</td> <td><b>{{#ifexist: Lied "{{{2|}}}" ({{{3|}}}) | [[Lied "{{{2|}}}" ({{{3|}}}) | {{{2|}}}]] | {{{2|}}} }}</b></td> <td>{{#if: {{{3|}}} | {{#if: {{#explode: {{{3|}}}|;|0}} | {{#vardefine:a | {{#explode:{{{3|}}}|;|0}} }} {{#ifexist: {{#var:a}} | {{#ifeq: {{#var:a}} | {{PAGENAME}} | {{#var:a}} | {{#ifeq: {{#var:a}} | {{#titleparts: {{PAGENAME}} | 1}} | {{#var:a}} | [[{{#var:a}}]] }} }} | {{#var:a}} }} | }} {{#if: {{#explode: {{{3|}}}|;|1}} | {{#vardefine:a | {{#explode:{{{3|}}}|;|1}} }} {{#ifexist: {{#var:a}} | {{#ifeq: {{#var:a}} | {{PAGENAME}} | {{;}} {{#var:a}} | {{#ifeq: {{#var:a}} | {{#titleparts: {{PAGENAME}} | 1}} | {{;}} {{#var:a}} | {{;}} [[{{#var:a}}]] }} }} | {{;}} {{#var:a}} }} | }} {{#if: {{#explode: {{{3|}}}|;|2}} | {{#vardefine:a | {{#explode:{{{3|}}}|;|2}} }} {{#ifexist: {{#var:a}} | {{#ifeq: {{#var:a}} | {{PAGENAME}} | {{;}} {{#var:a}} | {{#ifeq: {{#var:a}} | {{#titleparts: {{PAGENAME}} | 1}} | {{;}} {{#var:a}} | {{;}} [[{{#var:a}}]] }} }} | {{;}} {{#var:a}} }} | }} | {{{3|}}} }}</td> <td><small>{{{4|}}}</small></td> <td>{{{5|}}}</td> </tr>