Zuletzt bearbeitet vor 2 Monaten
von MediaWiki default

Vorlage:ModalDialog: Unterschied zwischen den Versionen

(Autogenerated)
 
(Autogenerated)
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 1: Zeile 1:
{{#vardefine:modalCount|{{#expr:{{#var:modalCount|0}}+1}}}}
{{#vardefine:modalCount|{{#expr:{{#var:modalCount|0}}+1}}}}
<span role="button" class="mw-ui-button {{#switch: {{{bg-color|blue}}}|blue|blau=mw-ui-progressive|red|rot=mw-ui-destructive|}}" data-bs-toggle="modal" data-bs-target="#SimpleModal{{#var:modalCount}}">{{{btnLabel}}}</span>
<span role="button" tabindex="0" class="content-droplet-modal-button mw-ui-button {{#switch: {{{bg-color|blue}}}|blue|blau=mw-ui-progressive|red|rot=mw-ui-destructive|}}" data-bs-toggle="modal" data-bs-target="#SimpleModal{{#var:modalCount}}">{{{btnLabel}}}</span>
<div class="modal fade" id="SimpleModal{{#var:modalCount}}" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal fade" id="SimpleModal{{#var:modalCount}}" tabindex="-1" role="dialog" aria-labelledby="myModalLabel{{#var:modalCount}}">
<div class="modal-dialog">
<div class="modal-dialog">
<div class="modal-content" style="border-radius: 0;">
<div class="modal-content" style="border-radius: 0;">
<div class="modal-header" style="padding: 0 20px;">
<div class="modal-header" style="padding: 0 20px;">
<span role="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></span>
<span role="button" tabindex="0" class="content-droplet-modal-dismiss btn-close" data-bs-dismiss="modal" aria-label="{{int:cancel}}"></span>
<h6 class="modal-title" id="myModalLabel" style="margin: 0;">{{{title}}}</h6></div>
<span class="modal-title" id="myModalLabel{{#var:modalCount}}" style="margin: 0; font-size: 1.1rem; font-weight: bold">{{{title}}}</span></div>
<div class="modal-body">{{{body}}}</div><div class="modal-footer">{{{footer|}}}</div></div></div></div>
<div class="modal-body">{{{body}}}</div><div class="modal-footer">{{{footer|}}}</div></div></div></div>

Aktuelle Version vom 21. Oktober 2024, 09:57 Uhr

{{{btnLabel}}}