No edit summary |
No edit summary |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<span style="width: | <span style="width:{{{DivWidth|180px}}}; height: auto; display:table; background: linear-gradient(to bottom, #7d7e7d 0%,#0e0e0e 68%,#0e0e0e 100%);color:#fff;text-align:center;padding: 3px 3px 0;margin:0;"> | ||
<span style=" | <span style="margin: 3px auto 0; display:block;"> | ||
[[Image:{{{ImageSRC|SF logo.png}}}| | [[Image:{{{ImageSRC|SF logo.png}}}|{{{ThumbWidth|174px}}}|link=]]</span> | ||
[[#{{{ID|yourID}}}|enlarge]] | [[#{{{ID|yourID}}}|enlarge]] | ||
<div id="{{{ID|yourID}}}" class="modalDialog"> | <div id="{{{ID|yourID}}}" class="modalDialog"> | ||
Line 14: | Line 14: | ||
<noinclude> | <noinclude> | ||
== Usage == | == Usage == | ||
{{ModalCSS | <div style="font-family: Courier New !important;display: block;padding: 5px 10px;background: rgba(255, 255, 10, 0.65);color: #000;width: fit-content;border: 2px double #ff0;border-radius: 10px;"> | ||
|ImageSRC=name_your_image.jpg/png/gif/jpeg/webp | <nowiki>{{ModalCSS</nowiki><br> | ||
|ID=your_unique_ID_for_each_modal_on_the_page}} | <nowiki>| DivWidth=180px</nowiki><br> | ||
<nowiki>| ThumbWidth=174px (same as DivWidth minus 6px)</nowiki><br> | |||
<nowiki>| ImageSRC=name_your_image.jpg/png/gif/jpeg/webp</nowiki><br> | |||
<nowiki>| ID=your_unique_ID_for_each_modal_on_the_page</nowiki><br> | |||
<nowiki>}}</nowiki> | |||
</div> | |||
</noinclude> | </noinclude> |