Vorlage:Liste Basistyp: Unterschied zwischen den Versionen

Aus Splitterwiki
Zur Navigation springen Zur Suche springen
(Neuer Eintrag mit Formular)
(Steckbrief)
 
(15 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 4: Zeile 4:
 
Format:
 
Format:
 
<pre>
 
<pre>
{{Basistyp.Listen}}
+
{{Liste Basistyp}}
 
</pre>
 
</pre>
 
Klicke auf „Bearbeiten“, um den Vorlagentext anzusehen.
 
Klicke auf „Bearbeiten“, um den Vorlagentext anzusehen.
Zeile 13: Zeile 13:
 
--><includeonly><!--  
 
--><includeonly><!--  
  
--><!-- START Definitionen
 
  
 +
//////////////////////////////////////////////////////////////
 +
/// Definitionen
 +
//////////////////////////////////////////////////////////////
 
-->{{#arraydefine: Artikel <!--
 
-->{{#arraydefine: Artikel <!--
 
   -->| {{#ask: [[Basistyp::{{PAGENAME}}]] <!--
 
   -->| {{#ask: [[Basistyp::{{PAGENAME}}]] <!--
Zeile 23: Zeile 25:
 
   -->| @//@ <!--
 
   -->| @//@ <!--
 
   -->}}<!--
 
   -->}}<!--
 +
//////////////////////////////////////////////////////////////
  
--><!-- ENDE Definitionen
 
 
--><!-- START Neuer Eintrag mit Formular
 
 
--><div class="textbox weiss"><!--
 
  -->{{#forminput:form={{#show:{{PAGENAME}}|?Hauptkategorie#}}<!--
 
    -->| button text = {{PAGENAME}} neu anlegen<!--
 
    -->| query string = {{#show:{{PAGENAME}}|?Hauptkategorie#}}[Basistyp]]={{PAGENAME}}<!--
 
    --><!--
 
    --><!--
 
    -->}}<!--
 
  --></div><!--
 
 
--><!-- ENDE Neuer Eintrag mit Formular
 
 
--><!-- START Darstellung
 
  
 +
##############################################################
 +
### Übersicht
 +
##############################################################
 
--><h2>Als {{PAGENAME}} kategorisierte Artikel ({{#arraysize: Artikel }})</h2><!--
 
--><h2>Als {{PAGENAME}} kategorisierte Artikel ({{#arraysize: Artikel }})</h2><!--
  
--><!-- START Tabellenkopf
+
### Tabellenkopf
--><table class="wikitable sortable oben" ><!--
+
--><table class="formtable kachel sortable oben" ><!--
  --><tr><!--
+
  --><tr class="hellerblau " ><!--
 +
    --><th></th><!--
 
     --><th>{{PAGENAME}}</th><!--
 
     --><th>{{PAGENAME}}</th><!--
 +
    --><th>Steckbrief</th><!--
 
     --><th>Gehört zu...</th><!--
 
     --><th>Gehört zu...</th><!--
    --><th>Quellen</th><!--
 
 
   --></tr><!--
 
   --></tr><!--
--><!-- ENDE Tabellenkopf
+
### Tabelleninhalt
 
 
--><!-- START Tabelleninhalt
 
 
-->{{#arraymap: {{#arrayprint: Artikel | @//@ }}<!--
 
-->{{#arraymap: {{#arrayprint: Artikel | @//@ }}<!--
 
   -->| @//@ <!--
 
   -->| @//@ <!--
Zeile 58: Zeile 47:
 
   -->| <tr><!--
 
   -->| <tr><!--
 
     --><td><!--
 
     --><td><!--
       -->{{Artikelinfo|@@@@}}<!--
+
       --><hr><!--
      --></td> <!--
 
    --><td><!--
 
 
       -->{{Vorschaubild.Kreis<!--
 
       -->{{Vorschaubild.Kreis<!--
         -->|1={{#show:@@@@|?Profilbild|default=Mich gibt es nicht :-)}}<!--
+
         -->|1={{#show: @@@@ |?Wappen# | default={{#show: @@@@ |?Profilbild | default={{#show: {{#show:{{PAGENAME}}|?Hauptkategorie#}} |?Icon }} }} }}<!--
 
         -->|2=@@@@<!--
 
         -->|2=@@@@<!--
 
         -->}}<!--
 
         -->}}<!--
      -->{{#show: @@@@ | ?GehörtZu | sep={{-,-}} }}<!--
 
 
       --></td><!--
 
       --></td><!--
 
     --><td><!--
 
     --><td><!--
       -->{{#show: @@@@ | ?Publikation | sep={{-,-}} }}<!--
+
       --><hr><!--
 +
      -->[[@@@@]]<!--
 
       --></td> <!--
 
       --></td> <!--
 +
    --><td><!--
 +
      --><hr><!--
 +
      -->{{#show:@@@@|?Steckbrief|default=(ohne Info)}}<!--
 +
      --></td> <!--
 +
    --><td><!--
 +
      --><hr><!--
 +
      -->{{#show: @@@@ | ?GehörtZu | sep={{-,-}} }}<!--
 +
      --></td><!--
 
   -->|<!--
 
   -->|<!--
 
   -->}}<!--
 
   -->}}<!--
--><!-- ENDE Tabelleninhalt
+
  ### Schließe Tabelle
 
 
 
   --></table><!--
 
   --></table><!--
 
+
##############################################################
--><!-- ENDE Darstellung
 
  
 
--></includeonly>
 
--></includeonly>

Aktuelle Version vom 8. Mai 2024, 13:51 Uhr

Dies ist die Vorlage „Basistyp.Listen“. Sie ermittelt alle Elemente für einen Basistyp und bringt sie in Darstellung.

Format:

{{Liste Basistyp}}

Klicke auf „Bearbeiten“, um den Vorlagentext anzusehen.

Bearbeiten