Vorlage:Liederliste-Stück: Unterschied zwischen den Versionen

Aus Mikiwiki
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 111: Zeile 111:
_k OR key var name  > contains the text of the key name
_k OR key var name  > contains the text of the key name
_v OR value var name > contains the value of the specific array item
_v OR value var name > contains the value of the specific array item
<tr>
<td>{{{1|}}}</td>
<td><b>{{#ifexist: Lied "{{{2|}}}" ({{{3|}}}) | [[Lied "{{{2|}}}" ({{{3|}}}) | {{{2|}}}]] | {{{2|}}} }}</b></td>
<td>{{#if: {{{3|}}} | {{#explode |;|{{{3|}}}| abc }}{{#foreach | abc | {{#ifexist: _value | [[_value]] | _value }} }} | }}</td>
<td><small>{{{4|}}}</small></td>
<td>{{{5|}}}</td>
</tr>


<td>{{#if: {{{3|}}} | {{#explode |;|{{{3|}}}| abc }}{{#var|abc|0}} | }}</td>
<td>{{#if: {{{3|}}} | {{#explode |;|{{{3|}}}| abc }}{{#var|abc|0}} | }}</td>


foreach ($erfinder as $erfindung => $erfinder) {
  echo "$erfinder erfand: $erfindung<br />\n";
}
-->
-->


Zeile 132: Zeile 127:
<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|}}}| abc }}{{#foreach | abc | {{#ifexist: _value | [[_value]] | _value}} | }} | }}</td>
<td>{{#if: {{{3|}}} | {{#explode |;|{{{3|}}}| abc }}{{#foreach | abc | {{#ifexist: _value | [[_value]] | _value}} | }} | }}</td>
<td><small>{{{4|}}}</small></td>
<td><small>{{{4|}}}</small>{{#version}}</td>
<td>{{{5|}}}</td>
<td>{{{5|}}}</td>
</tr></includeonly>
</tr></includeonly>

Version vom 30. September 2011, 11:21 Uhr

Eine Zeile innerhalb einer Mikiwiki-Liederliste.

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>