Template:ModalDialog: Difference between revisions

(Autogenerated)
 
(Autogenerated)
Line 1: Line 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="Close"></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>

Revision as of 13:17, 10 September 2024

{{{btnLabel}}}