Vorlage:DialogButton: Unterschied zwischen den Versionen
Aus ZUM-Unterrichten
KKeine Bearbeitungszusammenfassung  | 
				KKeine Bearbeitungszusammenfassung  | 
				||
| (12 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
{{DialogButton|  | {{DialogButton|Titel=Dialog 1|Inhalt=dialog 1|Link=öffne dialog 1}}  | ||
{{DialogButton|Titel=Dialog 2|Inhalt=dialog 2|Link=öffne dialog 2}}  | |||
<onlyinclude><includeonly>{{#widget:Dialog-begin|id=dialog_{{#vardefineecho:dialogbutton|{{#expr:{{#var:dialogbutton}}+1}}}}}}<!--  | |||
<onlyinclude><includeonly>  | --><div class="popup-header">{{{Titel|}}}{{#widget:Dialog-header-close}}</div><div class="popup-body">{{{Inhalt|}}}</div>{{#widget:Dialog-end}}<!--  | ||
{{#widget:Dialog-begin|id=dialog_{{#vardefineecho:dialogbutton|{{#expr:{{#var:dialogbutton}}+1}}}}}}  | --><span class="zum-dialog-opener" data-dialog-opener-id="dialog_{{#var:dialogbutton}}">{{{Link|öffnen}}}</span></includeonly></onlyinclude>  | ||
<div>  | <noinclude>  | ||
{{{  | <templatedata>  | ||
</div>  | {  | ||
{{#widget:Dialog-end}}  | 	"params": {  | ||
		"Titel": {  | |||
{{{  | 			"type": "content"  | ||
		},  | |||
		"Inhalt": {  | |||
{{  | 			"type": "content"  | ||
		},  | |||
		"Link": {  | |||
}  | 			"type": "content"  | ||
{  | 		}  | ||
	}  | |||
}  | |||
</templatedata>  | |||
</noinclude>  | |||
</  | |||
Aktuelle Version vom 18. Februar 2024, 13:43 Uhr
Dialog 1
dialog 1
öffne dialog 1
Dialog 2
dialog 2
öffne dialog 2
Keine Beschreibung.
| Parameter | Beschreibung | Typ | Status | |
|---|---|---|---|---|
| Titel | Titel | keine Beschreibung  | Wikitext | optional | 
| Inhalt | Inhalt | keine Beschreibung  | Wikitext | optional | 
| Link | Link | keine Beschreibung  | Wikitext | optional | 
