Zeile 9: |
Zeile 9: |
| == Beispiel == | | == Beispiel == |
| Die Angabe <nowiki>{{Fieldgenerator|input type}}</nowiki> erzeugt: | | Die Angabe <nowiki>{{Fieldgenerator|input type}}</nowiki> erzeugt: |
| + | |
| + | <div class="textbox hellgrau" > |
| {{Fieldgenerator|input type}} | | {{Fieldgenerator|input type}} |
| + | </div> |
| | | |
| Klick auf „Bearbeiten“, um den Quelltext der Vorlage anzusehen. | | Klick auf „Bearbeiten“, um den Quelltext der Vorlage anzusehen. |
Zeile 34: |
Zeile 37: |
| -->{{#var:field}}<!-- | | -->{{#var:field}}<!-- |
| ### input type | | ### input type |
− | -->{{#show: Attribut:@@@@ | ?input type | intro = {{!}}input type= }}<!-- | + | -->{{#show: Attribut:{{#var:field}} | ?input type | intro = {{!}}input type= }}<!-- |
| ### combobox | | ### combobox |
− | -->{{#if: {{#show: Attribut:@@@@ | ?combobox values from }}<!-- | + | -->{{#if: {{#show: Attribut:{{#var:field}} | ?combobox values from }}<!-- |
− | -->| {{#show: Attribut:@@@@ | ?combobox values from | intro= {{!}} }} <!-- | + | -->| {{#show: Attribut:{{#var:field}} | ?combobox values from | intro= {{!}} }} <!-- |
− | --> {{#show: Attribut:@@@@ | ?combobox values | intro= = }} <!-- | + | --> {{#show: Attribut:{{#var:field}} | ?combobox values | intro= = }} <!-- |
| -->|}}<!-- | | -->|}}<!-- |
| ### placeholder | | ### placeholder |
− | -->{{#show: Attribut:@@@@ | ?placeholder | intro = {{!}}placeholder= }}<!-- | + | -->{{#show: Attribut:{{#var:field}} | ?placeholder | intro = {{!}}placeholder= }}<!-- |
| ### mandatory | | ### mandatory |
− | -->{{#if: {{#show: Attribut:@@@@ | ?mandatory }}<!-- | + | -->{{#if: {{#show: Attribut:{{#var:field}} | ?mandatory }}<!-- |
| -->| {{!}}mandatory <!-- | | -->| {{!}}mandatory <!-- |
| -->}}<!-- | | -->}}<!-- |
| ### existing values only | | ### existing values only |
− | -->{{#if: {{#show: Attribut:@@@@ | ?existing values only}}<!-- | + | -->{{#if: {{#show: Attribut:{{#var:field}} | ?existing values only}}<!-- |
| -->| {{!}}existing values only<!-- | | -->| {{!}}existing values only<!-- |
| -->}}<!-- | | -->}}<!-- |
| ### autogrow | | ### autogrow |
− | -->{{#if: {{#show: Attribut:@@@@ | ?autogrow}}<!-- | + | -->{{#if: {{#show: Attribut:{{#var:field}} | ?autogrow}}<!-- |
| -->| {{!}}autogrow<!-- | | -->| {{!}}autogrow<!-- |
| -->}}<!-- | | -->}}<!-- |
| ### uploadable | | ### uploadable |
− | -->{{#if: {{#show: Attribut:@@@@ | ?uploadable }}<!-- | + | -->{{#if: {{#show: Attribut:{{#var:field}} | ?uploadable }}<!-- |
| -->| {{!}}uploadable <!-- | | -->| {{!}}uploadable <!-- |
| -->}}<!-- | | -->}}<!-- |