Vorlage:DialogButton: Unterschied zwischen den Versionen
Aus ZUM-Unterrichten
KKeine Bearbeitungszusammenfassung |
KKeine Bearbeitungszusammenfassung |
||
Zeile 4: | Zeile 4: | ||
<onlyinclude><includeonly>{{#widget:Dialog-begin|id=dialog_{{#vardefineecho:dialogbutton|{{#expr:{{#var:dialogbutton}}+1}}}}}}<!-- | <onlyinclude><includeonly>{{#widget:Dialog-begin|id=dialog_{{#vardefineecho:dialogbutton|{{#expr:{{#var:dialogbutton}}+1}}}}}}<!-- | ||
--><div class="popup-header">{{{ | --><div class="popup-header">{{{Titel|}}}{{#widget:Dialog-header-close}}</div><div class="popup-body">{{{Inhalt|}}}</div>{{#widget:Dialog-end}}<!-- | ||
--><span class="zum-dialog-opener" data-dialog-opener-id="dialog_{{#var:dialogbutton}}">{{{Link|öffnen}}}</span>{{#varexists:dialogjsloaded | --><span class="zum-dialog-opener" data-dialog-opener-id="dialog_{{#var:dialogbutton}}">{{{Link|öffnen}}}</span>{{#varexists:dialogjsloaded | ||
| | | | ||
| {{#widget:Dialog-js}} | | {{#widget:Dialog-js}} | ||
}}{{#vardefine:dialogjsloaded}}</includeonly></onlyinclude> | }}{{#vardefine:dialogjsloaded}}</includeonly></onlyinclude> |
Version vom 12. Februar 2024, 23:32 Uhr
öffne dialog 1
öffne dialog 2