Vorlage: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 104: | Zeile 104: | ||
<td width=25%>{{#if: {{{5|}}} | {{#if: {{#explode: {{{5|}}}|;|0}} | {{#vardefine: a | {{#explode:{{{5|}}}|;|0}} }} {{#ifexist: {{#var: a}} | {{#ifeq: {{#var: a}} | {{PAGENAME}} | {{#var: a}} | {{#ifeq: {{#var: a}} | {{#titleparts: {{PAGENAME}} | 1}} | {{#var: a}} | {{#ifexist: {{#var: a}} | [[{{#var: a}}]] | {{#var: a}} }} }} }} }} | |||
<td width=25%> | |||
{{#if: {{{5|}}} | |||
| | |||
{{#if: {{#explode: {{{5|}}}|;|0}} | |||
| {{#vardefine:a | {{#explode:{{{5|}}}|;|0}} }} | |||
{{#ifexist: {{#var:a}} | |||
| {{#ifeq: {{#var:a}} | |||
| {{PAGENAME}} | |||
| {{#var:a}} | |||
| {{#ifeq: {{#var:a}} | |||
| {{#titleparts: {{PAGENAME}} | 1}} | |||
| {{#var:a}} | |||
| {{#ifexist: {{#var:a}} | |||
| [[{{#var:a}}]] | |||
| {{#var:a}} | |||
}} | |||
}} | |||
}} | |||
}} | |||
| | |||
}} | |||
{{#if: {{#explode: {{{5|}}}|;|1}} | |||
| {{#vardefine:a | {{#explode:{{{5|}}}|;|1}} }} | |||
{{#ifexist: {{#var:a}} | |||
| {{#ifeq: {{#var:a}} | |||
| {{PAGENAME}} | |||
| {{;}} {{#var:a}} | |||
| {{#ifeq: {{#var:a}} | |||
| {{#titleparts: {{PAGENAME}} | 1}} | |||
| {{;}} {{#var:a}} | |||
| {{#ifexist: {{#var:a}} | |||
| {{;}} [[{{#var:a}}]] | |||
| {{;}} {{#var:a}} | |||
}} | |||
}} | |||
}} | |||
}} | |||
| | |||
}} | |||
| | |||
}}</td> | |||
</pre> | </pre> | ||
Zeile 119: | Zeile 163: | ||
<td width=20%>{{#ifeq: {{{3|}}} | {{PAGENAME}} | {{{3|}}} | {{#ifeq: {{{3|}}} | {{#titleparts: {{PAGENAME}} | 1}} | {{{3|}}} | {{#ifexist: {{{3|}}} | [[{{{3|}}}]] | {{{3|}}} }} }} }}</td> | <td width=20%>{{#ifeq: {{{3|}}} | {{PAGENAME}} | {{{3|}}} | {{#ifeq: {{{3|}}} | {{#titleparts: {{PAGENAME}} | 1}} | {{{3|}}} | {{#ifexist: {{{3|}}} | [[{{{3|}}}]] | {{{3|}}} }} }} }}</td> | ||
<td width=25%><b>{{#ifexist: Lied "{{{4|}}}" ({{{5|}}}) | [[Lied "{{{4|}}}" ({{{5|}}})|{{{4|}}}]] | {{{4|}}} }}</b></td> | <td width=25%><b>{{#ifexist: Lied "{{{4|}}}" ({{{5|}}}) | [[Lied "{{{4|}}}" ({{{5|}}})|{{{4|}}}]] | {{{4|}}} }}</b></td> | ||
<td width=25%>{{#if: {{{5|}}} | {{#if: {{#explode: {{{5|}}}|;|0}} | {{#vardefine:a | {{#explode:{{{5|}}}|;|0}} }} {{#ifexist: {{#var:a}} | {{#ifeq: {{#var:a}} | {{PAGENAME}} | {{#var:a}} | {{#ifeq: {{#var:a}} | {{#titleparts: {{PAGENAME}} | 1}} | {{#var:a}} | {{#ifexist: {{#var:a}} | [[{{#var:a}}]] | {{#var:a}} }} }} }} }} | <td width=25%> | ||
{{#if: {{{5|}}} | |||
| | |||
{{#if: {{#explode: {{{5|}}}|;|0}} | |||
| {{#vardefine:a | {{#explode:{{{5|}}}|;|0}} }} | |||
{{#ifexist: {{#var:a}} | |||
| {{#ifeq: {{#var:a}} | |||
| {{PAGENAME}} | |||
| {{#var:a}} | |||
| {{#ifeq: {{#var:a}} | |||
| {{#titleparts: {{PAGENAME}} | 1}} | |||
| {{#var:a}} | |||
| {{#ifexist: {{#var:a}} | |||
| [[{{#var:a}}]] | |||
| {{#var:a}} | |||
}} | |||
}} | |||
}} | |||
}} | |||
| | |||
}} | |||
{{#if: {{#explode: {{{5|}}}|;|1}} | |||
| {{#vardefine:a | {{#explode:{{{5|}}}|;|1}} }} | |||
{{#ifexist: {{#var:a}} | |||
| {{#ifeq: {{#var:a}} | |||
| {{PAGENAME}} | |||
| {{;}} {{#var:a}} | |||
| {{#ifeq: {{#var:a}} | |||
| {{#titleparts: {{PAGENAME}} | 1}} | |||
| {{;}} {{#var:a}} | |||
| {{#ifexist: {{#var:a}} | |||
| {{;}} [[{{#var:a}}]] | |||
| {{;}} {{#var:a}} | |||
}} | |||
}} | |||
}} | |||
}} | |||
| | |||
}} | |||
| | |||
}}</td> | |||
<td width=20%>{{{6|}}}</td> | <td width=20%>{{{6|}}}</td> | ||
</tr></includeonly> | </tr></includeonly> |
Version vom 29. Januar 2010, 23:00 Uhr
Eintrag für ein Stück über die Vorlage:Stückeliste, wo auch die Inhalte der einzelnen Spalten bestimmt werden.
Spalte | Inhalt | Anmerkungen zum Stückeintrag |
---|---|---|
Stück | Positionsbezeichnung. | |
Dauer | Dauer des Stücks in Minuten und Sekunden, dargestellt in der Form "NN:NN", z. B. "03:45" für eine Dauer von 3 Minuten und 45 Sekunden. | |
Interpret | Name des Interpreten. | Falls der Interpretenname nicht dem Seitentitel entspricht, so wird gesucht ob es im Mikiwiki einen Artikel mit dem Interpretennamen gibt und darauf verlinkt (im ersteren Falle würde aufgrund von Mediawiki-Eiunstellungen der Interpretenname fett dargestellt, was mir nicht passt). |
Titel | Der Titel des Stücks. | Falls im Mikiwiki ein Artikel mit dem Titel Lied "<Liedtitel>" (<Autorenname>) besteht, so wird darauf verlinkt. |
Autor | Der Autor des Stücks. | Falls im Mikiwiki ein Artikel mit dem Autorennamen als Titel besteht, so wird darauf verlinkt. |
Anmerkungen | Anmerkungen zum Stück. |
Gegenwärtig findet keine Verlinkung statt, falls mehr als ein Interpreten- bzw. Autorenname im entsprechenden Feld enthalten ist.
Anmerkung: Die Feldbreite für jedes einzelne Feld anzugeben ist nicht wirklich schön, aber leider habe ich es über die Vorlage:Stückeliste (welche in Diskografien verwendet wird) nicht auf befriedigende Weise geschafft...
<tr> <td width=5%>{{{1|}}}</td> <td width=5%>{{{2|}}}</td> <td width=20%>{{#ifeq: {{{3|}}} | {{PAGENAME}} | {{{3|}}} | {{#ifeq: {{{3|}}} | {{#titleparts: {{PAGENAME}} | 1}} | {{{3|}}} | {{#ifexist: {{{3|}}} | [[{{{3|}}}]] | {{{3|}}} }} }} }}</td> <td width=25%><b>{{#ifexist: Lied "{{{4|}}}" ({{{5|}}}) | [[Lied "{{{4|}}}" ({{{5|}}})|{{{4|}}}]] | {{{4|}}} }}</b></td> <td width=25%>{{{5|}}}</td> <td width=20%>{{{6|}}}</td> </tr>
Folgende Syntax würde zwar eine Verlinkung der Autoren durchführen, jedoch erscheinen ausserdem unerwünschte Effekte.
<tr> <td width=5%>{{{1|}}}</td> <td width=5%>{{{2|}}}</td> <td width=20%>{{#ifeq: {{{3|}}} | {{PAGENAME}} | {{{3|}}} | {{#ifeq: {{{3|}}} | {{#titleparts: {{PAGENAME}} | 1}} | {{{3|}}} | {{#ifexist: {{{3|}}} | [[{{{3|}}}]] | {{{3|}}} }} }} }}</td> <td width=25%><b>{{#ifexist: Lied "{{{4|}}}" ({{{5|}}}) | [[Lied "{{{4|}}}" ({{{5|}}})|{{{4|}}}]] | {{{4|}}} }}</b></td> <td width=25%> {{#if: {{{5|}}} | {{#if: {{#explode:{{{5|}}}|;|0}} | {{#ifexist: {{#explode:{{{5|}}}|;|0}} | [[{{#explode:{{{5|}}}|;|0}}]] | {{#explode:{{{5|}}}|;|0}} }} | }} {{#if: {{#explode:{{{5|}}}|;|1}} | {{#ifexist: {{#explode:{{{5|}}}|;|1}} | ; [[{{#explode:{{{5|}}}|;|1}}]] | ; {{#explode:{{{5|}}}|;|1}} }} | }} {{#if: {{#explode:{{{5|}}}|;|2}} | {{#ifexist: {{#explode:{{{5|}}}|;|2}} | ; [[{{#explode:{{{5|}}}|;|2}}]] | ; {{#explode:{{{5|}}}|;|2}} }} | }} {{#if: {{#explode:{{{5|}}}|;|3}} | {{#ifexist: {{#explode:{{{5|}}}|;|3}} | ; [[{{#explode:{{{5|}}}|;|3}}]] | ; {{#explode:{{{5|}}}|;|3}} }} | }} {{#if: {{#explode:{{{5|}}}|;|4}} | {{#ifexist: {{#explode:{{{5|}}}|;|4}} | ; [[{{#explode:{{{5|}}}|;|4}}]] | ; {{#explode:{{{5|}}}|;|4}} }} | }} | }} </td> <td width=20%>{{{6|}}}</td> </tr> <td width=25%>{{#if: {{{5|}}} | {{#if: {{#explode:{{{5|}}}|;|0}} | {{#ifexist: {{#explode:{{{5|}}}|;|0}} | {{#ifeq: {{#explode:{{{5|}}}|;|0}} | {{PAGENAME}} | {{#explode:{{{5|}}}|;|0}} | {{#ifeq: {{#explode:{{{5|}}}|;|0}} | {{#titleparts: {{PAGENAME}} | 1}} | {{#explode:{{{5|}}}|;|0}} | {{#ifexist: {{#explode:{{{5|}}}|;|0}} | [[{{#explode:{{{5|}}}|;|0}}]] | {{#explode:{{{5|}}}|;|0}} }} }} }} {{#if: {{#explode:{{{5|}}}|;|1}} | {{#ifexist: {{#explode:{{{5|}}}|;|1}} | {{;}} [[{{#explode:{{{5|}}}|;|1}}]] | {{;}} {{#explode:{{{5|}}}|;|1}} }} | }} | }}</td> <td width=25%> {{#if: {{{5|}}} | {{#if: {{#explode: {{{5|}}}|;|0}} | {{#vardefine:a | {{#explode:{{{5|}}}|;|0}} }} {{#ifexist: {{#var:a}} | {{#ifeq: {{#var:a}} | {{PAGENAME}} | {{#var:a}} | {{#ifeq: {{#var:a}} | {{#titleparts: {{PAGENAME}} | 1}} | {{#var:a}} | {{#ifexist: {{#var:a}} | [[{{#var:a}}]] | {{#var:a}} }} }} }} }} | }} {{#if: {{#explode: {{{5|}}}|;|1}} | {{#vardefine:a | {{#explode:{{{5|}}}|;|1}} }} {{#ifexist: {{#var:a}} | {{#ifeq: {{#var:a}} | {{PAGENAME}} | {{;}} {{#var:a}} | {{#ifeq: {{#var:a}} | {{#titleparts: {{PAGENAME}} | 1}} | {{;}} {{#var:a}} | {{#ifexist: {{#var:a}} | {{;}} [[{{#var:a}}]] | {{;}} {{#var:a}} }} }} }} }} | }} | }}</td>