Vorlage:Liste Basistyp: Unterschied zwischen den Versionen

Aus Splitterwiki
Zur Navigation springen Zur Suche springen
(no autofocus gesetzt (ansonsten wird das browser fenster auf das textfeld fokusiert))
(Formular für neuen Artikel)
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|no autofocus}}<!--
 
    -->| 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="wikitable sortable oben" ><!--
 
   --><tr><!--
 
   --><tr><!--
Zeile 50: Zeile 40:
 
     --><th>Quellen</th><!--
 
     --><th>Quellen</th><!--
 
   --></tr><!--
 
   --></tr><!--
--><!-- ENDE Tabellenkopf
+
### Tabelleninhalt
 
 
--><!-- START Tabelleninhalt
 
 
-->{{#arraymap: {{#arrayprint: Artikel | @//@ }}<!--
 
-->{{#arraymap: {{#arrayprint: Artikel | @//@ }}<!--
 
   -->| @//@ <!--
 
   -->| @//@ <!--
Zeile 72: Zeile 60:
 
   -->|<!--
 
   -->|<!--
 
   -->}}<!--
 
   -->}}<!--
--><!-- ENDE Tabelleninhalt
+
  ### Schließe Tabelle
 +
  --></table><!--
 +
##############################################################
  
  --></table><!--
 
  
--><!-- ENDE Darstellung
+
##############################################################
 +
### Formular für neuen Artikel
 +
##############################################################
 +
--><div class="textbox weiss"><!--
 +
  -->{{#forminput:form={{#show:{{PAGENAME}}|?Hauptkategorie}}<!--
 +
    -->| button text = Neuen Artikel mit Basistyp {{PAGENAME}} anlegen<!--
 +
    -->| query string ={{#show:{{PAGENAME}}|?Hauptkategorie#}}[Basistyp]]={{PAGENAME}}<!--
 +
    -->|no autofocus<!--
 +
    -->}}<!--
 +
  --></div><!--
 +
##############################################################
  
 
--></includeonly>
 
--></includeonly>

Version vom 7. September 2020, 20:14 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.

Bearbeiten