Änderungen

Zur Navigation springen Zur Suche springen
Vereinheitlicht
Zeile 8: Zeile 8:     
== Beispiel ==
 
== Beispiel ==
Die Angabe <nowiki>{{Feldgenerator|Wappen}}</nowiki> erzeugt:
+
=== Eingabe ===
 
+
<pre>
 +
{{Feldgenerator
 +
  | Profilbild
 +
}}
 +
</pre>
 +
=== Ausgabe ===
 
<div class="textbox hellgrau" >
 
<div class="textbox hellgrau" >
{{Feldgenerator|Wappen}}
+
{{Feldgenerator
 +
  | Profilbild
 +
}}
 
</div>
 
</div>
   Zeile 23: Zeile 30:  
/// Definitionen
 
/// Definitionen
 
//////////////////////////////////////////////////////////////
 
//////////////////////////////////////////////////////////////
/// ermittle das field
+
/// ermittle das Attribut
-->{{#vardefine: field | {{{1}}} }}<!--
+
-->{{#vardefine: Attribut | {{{1}}} }}<!--
 
//////////////////////////////////////////////////////////////
 
//////////////////////////////////////////////////////////////
   Zeile 32: Zeile 39:  
##############################################################
 
##############################################################
 
### zeige das Label an
 
### zeige das Label an
-->'''{{#show: Attribut:{{#var:field}} | ?Label# | default={{#var:field}} }}'''<!--
+
-->'''{{#show: Attribut:{{#var:Attribut}} | ?Label# | default={{#var:Attribut}} }}'''<!--
 
   ### erzeuge den Hilfetext als #info-Funktion
 
   ### erzeuge den Hilfetext als #info-Funktion
   -->{{#info: {{#show: Attribut:{{#var:field}} | ?Hilfetext Attribut# }} }}<!--
+
   -->{{#info: {{#show: Attribut:{{#var:Attribut}} | ?Hilfetext Attribut# }} }}<!--
 
   --><br /><!--
 
   --><br /><!--
    
### eröffne das field
 
### eröffne das field
 
--><nowiki>{{{field|</nowiki><!--
 
--><nowiki>{{{field|</nowiki><!--
### field name
+
### Attribut name
-->{{#var:field}}<!--
+
-->{{#var:Attribut}}<!--
 
### input type
 
### input type
-->{{#show: Attribut:{{#var:field}} | ?input type# | intro= {{!}}input type= }}<!--
+
-->{{#show: Attribut:{{#var:Attribut}} | ?input type# | intro= {{!}}input type= }}<!--
### combobox
+
### Auswahlliste
-->{{#if: {{#show: Attribut:{{#var:field}} | ?values from }}<!--
+
-->{{#if: {{#show: Attribut:{{#var:Attribut}} | ?values from }}<!--
   -->| {{#show: Attribut:{{#var:field}} | ?values from# | intro= {{!}} }} <!--
+
   -->| {{#show: Attribut:{{#var:Attribut}} | ?values from# | intro= {{!}} }} <!--
     --> {{#show: Attribut:{{#var:field}} | ?values# | intro= = }} <!--
+
     --> {{#show: Attribut:{{#var:Attribut}} | ?values# | intro= = }} <!--
 
   -->|}}<!--
 
   -->|}}<!--
 
### label
 
### label
-->{{#show: Attribut:{{#var:field}} | ?label# | default={{#var:field}} | intro = {{!}}label=  }}<!--
+
-->{{#show: Attribut:{{#var:Attribut}} | ?label# | default={{#var:Attribut}} | intro = {{!}}label=  }}<!--
 
### Hilfetext Attribut
 
### Hilfetext Attribut
-->{{#show: Attribut:{{#var:field}} | ?Hilfetext Attribut# | intro = {{!}}tooltip=  }}<!--
+
-->{{#show: Attribut:{{#var:Attribut}} | ?Hilfetext Attribut# | intro = {{!}}tooltip=  }}<!--
 
### placeholder
 
### placeholder
-->{{#show: Attribut:{{#var:field}} | ?placeholder# | intro = {{!}}placeholder=  }}<!--
+
-->{{#show: Attribut:{{#var:Attribut}} | ?placeholder# | intro = {{!}}placeholder=  }}<!--
 
### mandatory  
 
### mandatory  
-->{{#if: {{#show: Attribut:{{#var:field}} | ?mandatory }}<!--
+
-->{{#if: {{#show: Attribut:{{#var:Attribut}} | ?mandatory }}<!--
 
   -->| {{!}}mandatory <!--
 
   -->| {{!}}mandatory <!--
 
   -->}}<!--
 
   -->}}<!--
 
### existing values only
 
### existing values only
   -->{{#if: {{#show: Attribut:{{#var:field}} | ?existing values only}}<!--
+
   -->{{#if: {{#show: Attribut:{{#var:Attribut}} | ?existing values only}}<!--
 
   -->| {{!}}existing values only<!--
 
   -->| {{!}}existing values only<!--
 
   -->}}<!--
 
   -->}}<!--
 
### autogrow
 
### autogrow
   -->{{#if: {{#show: Attribut:{{#var:field}} | ?autogrow}}<!--
+
   -->{{#if: {{#show: Attribut:{{#var:Attribut}} | ?autogrow}}<!--
 
   -->| {{!}}autogrow{{!}}rows=1<!--
 
   -->| {{!}}autogrow{{!}}rows=1<!--
 
   -->}}<!--
 
   -->}}<!--
 
### uploadable  
 
### uploadable  
   -->{{#if: {{#show: Attribut:{{#var:field}} | ?uploadable }}<!--
+
   -->{{#if: {{#show: Attribut:{{#var:Attribut}} | ?uploadable }}<!--
 
   -->| {{!}}uploadable{{!}}image preview <!--
 
   -->| {{!}}uploadable{{!}}image preview <!--
 
   -->}}<!--
 
   -->}}<!--

Navigationsmenü