Vorlage:Liste Basistyp: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Stewie (Diskussion | Beiträge) |
Maggus (Diskussion | Beiträge) (Erweiterung um Art, Layout) |
||
Zeile 7: | Zeile 7: | ||
</pre> | </pre> | ||
Klicke auf „Bearbeiten“, um den Vorlagentext anzusehen. | Klicke auf „Bearbeiten“, um den Vorlagentext anzusehen. | ||
− | </noinclude><includeonly><!-- START | + | </noinclude><includeonly><!-- START Variablen --><!-- |
− | -->< | + | |
− | + | -->{{#arraydefine: Artikel.Basistyp<!-- =>Key | |
− | + | -->|{{#ask: [[Basistyp::{{PAGENAME}}]] | link=none | limit=2000 | sep=@//@ }}<!-- =>Values | |
− | + | -->|@//@<!-- =>Delimiter | |
− | + | -->|<!-- =>Optionen: unique, sort, and print (Options are ignored unless a delimiter is also specified) | |
− | + | -->}}<!-- | |
− | + | ||
− | + | -->{{#arraydefine: Artikel.Art<!-- =>Key | |
− | + | -->|{{#ask: [[Art::{{PAGENAME}}]] | link=none | limit=2000 | sep=@//@ }}<!-- =>Values | |
− | + | -->|@//@<!-- =>Delimiter | |
− | + | -->|<!-- =>Optionen: unique, sort, and print (Options are ignored unless a delimiter is also specified) | |
− | + | -->}}<!-- | |
− | + | ||
− | + | -->{{#arrayunion: Artikel | Artikel.Basistyp | Artikel.Art }}<!-- | |
− | + | -->{{#arraysort: Artikel | asc }}<!-- | |
− | + | ||
− | + | --><!-- ENDE Variablen --><!-- | |
− | + | ||
− | + | --><!-- START Darstellung --><!-- | |
− | ENDE | + | --><h2>Unter {{PAGENAME}} kategorisierte Artikel ({{#arraysize: Artikel }})</h2><!-- |
+ | |||
+ | --><!-- START Tabellenkopf --><!-- | ||
+ | --><table class="wikitable sortable oben" ><!-- | ||
+ | --><tr><!-- | ||
+ | --><th>{{PAGENAME}}</th><!-- | ||
+ | --><th>Gehört zu...</th><!-- | ||
+ | --><th>Erläuterung</th><!-- | ||
+ | --><th>[[Weißer Fleck]]?</th><!-- | ||
+ | --></tr><!-- | ||
+ | --><!-- ENDE Tabellenkopf --><!-- | ||
+ | |||
+ | --><!-- START Tabelle --><!-- | ||
+ | -->{{#arraymap: {{#arrayprint: Artikel <!-- | ||
+ | -->| @//@ <!-- | ||
+ | -->}} <!-- | ||
+ | -->|@//@<!-- | ||
+ | -->|@@@@<!-- | ||
+ | -->|<!-- | ||
+ | --><tr><!-- | ||
+ | --><td>[[@@@@]]<!-- | ||
+ | -->{{Vorschaubild.Kreis|{{#show:@@@@|?Profilbild|default=xxx}}|}}<!-- | ||
+ | --></td><!-- | ||
+ | --><td>{{#show:@@@@|?GehörtZu#|sep=_{{,}}_}}</td><!-- | ||
+ | --><td>{{#show:@@@@|?Kurzbeschreibung#|sep=_{{,}}_}} ({{#show:@@@@|?Hauptkategorie#|sep=_{{,}}_}})</td><!-- | ||
+ | --><td>{{#show:@@@@|?Weißer Fleck#|sep=_{{,}}_}}</td><!-- | ||
+ | --></tr><!-- | ||
+ | -->|<!-- | ||
+ | -->}}<!-- | ||
+ | --></table><!-- | ||
+ | |||
+ | --><!-- ENDE Tabelle --><!-- | ||
+ | --><!-- ENDE Darstellung --><!-- | ||
+ | --></includeonly> |
Version vom 22. Januar 2017, 12:55 Uhr
Dies ist die Vorlage „Basistyp.Listen“. Sie ermittelt alle Elemente für einen Basistyp und bringt sie in Darstellung.
Format:
{{Basistyp.Listen}}
Klicke auf „Bearbeiten“, um den Vorlagentext anzusehen.