Änderungen

Zur Navigation springen Zur Suche springen
172 Bytes hinzugefügt ,  21:10, 30. Sep. 2020
Syntax aufgeräumt
Zeile 113: Zeile 113:  
/// legie die Attribute an (values)
 
/// legie die Attribute an (values)
 
//////////////////////////////////////////////////////////////
 
//////////////////////////////////////////////////////////////
 +
 
/// Gehe alle Formularblöcke durch = @BLOCK@
 
/// Gehe alle Formularblöcke durch = @BLOCK@
 
-->{{#arraymap: {{#arrayprint: Alle Formularblöcke | @//@ }}<!--
 
-->{{#arraymap: {{#arrayprint: Alle Formularblöcke | @//@ }}<!--
 
   -->| @//@ <!--
 
   -->| @//@ <!--
 
   -->| @BLOCK@ <!--
 
   -->| @BLOCK@ <!--
 +
 
   /// Gehe die Formularfelder jedes Formularblocks durch = @KEY@
 
   /// Gehe die Formularfelder jedes Formularblocks durch = @KEY@
 
   -->| {{#arraymap: {{#arrayprint: @BLOCK@ | @//@ }}<!--
 
   -->| {{#arraymap: {{#arrayprint: @BLOCK@ | @//@ }}<!--
Zeile 122: Zeile 124:  
     -->| @KEY@ <!--
 
     -->| @KEY@ <!--
 
     -->|<!--
 
     -->|<!--
 +
 
     /// Ermittle Datentyp des Formularfeldes (Attribut Datentyp)
 
     /// Ermittle Datentyp des Formularfeldes (Attribut Datentyp)
 
     -->{{#vardefine: Datentyp | {{#show: Attribut:@KEY@ | ?Datentyp# }} }}<!--
 
     -->{{#vardefine: Datentyp | {{#show: Attribut:@KEY@ | ?Datentyp# }} }}<!--
 +
 
     /// Ermittle den Inhalt des Formularfeldes
 
     /// Ermittle den Inhalt des Formularfeldes
 
     -->{{#if: {{{@KEY@|}}}<!--
 
     -->{{#if: {{{@KEY@|}}}<!--
 +
 
       /// Trage das Attribut, abhängig von seinem Datentyp, ein
 
       /// Trage das Attribut, abhängig von seinem Datentyp, ein
 
       -->|{{#switch: {{#var:Datentyp}}<!--
 
       -->|{{#switch: {{#var:Datentyp}}<!--
 +
 
         /// Seite: jeweils einzeln eintragen
 
         /// Seite: jeweils einzeln eintragen
 
         -->| Seite = <!--
 
         -->| Seite = <!--
 
           -->{{#arraymap: {{{@KEY@}}} | , | @VALUE@ | {{#set: @KEY@ = @VALUE@ }} | }}<!--
 
           -->{{#arraymap: {{{@KEY@}}} | , | @VALUE@ | {{#set: @KEY@ = @VALUE@ }} | }}<!--
 
             -->{{#arraydefine: @BLOCK@.eingetragen | {{#arrayprint:@BLOCK@.eingetragen|@//@}} @//@ @KEY@ }}<!--
 
             -->{{#arraydefine: @BLOCK@.eingetragen | {{#arrayprint:@BLOCK@.eingetragen|@//@}} @//@ @KEY@ }}<!--
 +
 
         /// Wahrheitswert: nur eintragen, wenn wahr (also das Häkchen gesetzt wurde)
 
         /// Wahrheitswert: nur eintragen, wenn wahr (also das Häkchen gesetzt wurde)
 
         -->| Wahrheitswert = <!--
 
         -->| Wahrheitswert = <!--
Zeile 138: Zeile 145:  
               -->{{#arraydefine: @BLOCK@.eingetragen | {{#arrayprint:@BLOCK@.eingetragen|@//@}} @//@ @KEY@ }}<!--
 
               -->{{#arraydefine: @BLOCK@.eingetragen | {{#arrayprint:@BLOCK@.eingetragen|@//@}} @//@ @KEY@ }}<!--
 
             -->|}}<!--
 
             -->|}}<!--
 +
 
         /// Alle anderen Attribute bekommen den Standard
 
         /// Alle anderen Attribute bekommen den Standard
 
         -->| {{#set: @KEY@ = {{{@KEY@}}} }} <!--
 
         -->| {{#set: @KEY@ = {{{@KEY@}}} }} <!--
 
             -->{{#arraydefine: @BLOCK@.eingetragen | {{#arrayprint:@BLOCK@.eingetragen|@//@}} @//@ @KEY@ }}<!--
 
             -->{{#arraydefine: @BLOCK@.eingetragen | {{#arrayprint:@BLOCK@.eingetragen|@//@}} @//@ @KEY@ }}<!--
 +
 +
        /// schließe #swicht-Bedingung
 
         -->}}<!--
 
         -->}}<!--
 +
 +
      /// schließe #if-Bedingung
 
       -->|<!--
 
       -->|<!--
 
       -->}}<!--
 
       -->}}<!--
 +
 +
    /// schließe zweite #arraymap
 
     -->|}}<!--
 
     -->|}}<!--
 +
 +
  /// schließe erste #arraymap
 
   -->|}}<!--
 
   -->|}}<!--
--><!--
+
 
 
//////////////////////////////////////////////////////////////
 
//////////////////////////////////////////////////////////////
   Zeile 265: Zeile 281:  
--><tr><td class="center" ><!--
 
--><tr><td class="center" ><!--
 
### Profilbild
 
### Profilbild
-->{{#if: {{#show: {{PAGENAME}} | ?Profilbild }}<!--
+
-->{{#if: {{{Profilbild|}}}<!--
 
   -->| <div class="beitrag small "><!--
 
   -->| <div class="beitrag small "><!--
   -->[[Datei: {{#show: {{PAGENAME}} | ?Profilbild# }}<!--
+
   -->[[Datei:{{{Profilbild}}}<!--
 
     -->| 360x360px <!--
 
     -->| 360x360px <!--
 
     -->| center <!--
 
     -->| center <!--
 
     -->]]<!--
 
     -->]]<!--
     --><!--
+
 
      --><br />{{#show: {{PAGENAME}} | ?Profilbild Kurzbeschreibung | default = {{PAGENAME}} }}<!--
+
     ### Profilbild Kurzbeschreibung
      -->{{#ifeq: {{#ask:[[Datei:{{#ask:[[{{PAGENAME}}]]|?Profilbild=|link=none| mainlabel=-}}]]|?Lizenz=|link=none| mainlabel=-}}  | Uhrwerk<!--
+
    --><br />{{{Profilbild Kurzbeschreibung | {{PAGENAME}} }}}<!--
        -->|&#32;[[Datei:Icon Vorlage Uhrwerk warnend 32.png|16px|verweis=Datei:{{#ask:[[{{PAGENAME}}]]|?Profilbild=|link=none| mainlabel=-}}]]<!--
+
 
        -->|&#32;[[Datei:Icon Vorlage Inoffiziell warnend 32.png|16px|verweis=Datei:{{#ask:[[{{PAGENAME}}]]|?Profilbild=|link=none| mainlabel=-}}]]<!--
+
    ### Lizenz-Icons
 +
    -->{{#ifeq: {{#ask:[[Datei:{{#ask:[[{{PAGENAME}}]]|?Profilbild=|link=none| mainlabel=-}}]]|?Lizenz=|link=none| mainlabel=-}}  | Uhrwerk<!--
 +
      -->|&#32;[[Datei:Icon Vorlage Uhrwerk warnend 32.png|16px|verweis=Datei:{{#ask:[[{{PAGENAME}}]]|?Profilbild=|link=none| mainlabel=-}}]]<!--
 +
      -->|&#32;[[Datei:Icon Vorlage Inoffiziell warnend 32.png|16px|verweis=Datei:{{#ask:[[{{PAGENAME}}]]|?Profilbild=|link=none| mainlabel=-}}]]<!--
 
         -->{{#if: {{#show:{{PAGENAME}}|?Offizielles Bild publiziert#}} | {{Offizielles Bild publiziert}} |}}<!--
 
         -->{{#if: {{#show:{{PAGENAME}}|?Offizielles Bild publiziert#}} | {{Offizielles Bild publiziert}} |}}<!--
 
       -->}}<!--
 
       -->}}<!--
 
     --></div><!--
 
     --></div><!--
 +
 +
  ### schließe #if-Bedingung
 
   -->|<!--
 
   -->|<!--
 
   -->}}<!--
 
   -->}}<!--
 +
 +
  ### schließe Tabellenzeile
 
   --></td></tr><!--
 
   --></td></tr><!--
 
##############################################################
 
##############################################################

Navigationsmenü