“Html:Notify”的版本间的差异
来自小鱼君和他的朋友们
([InPageEdit] 没有编辑摘要) |
([InPageEdit] 没有编辑摘要) |
||
(未显示同一用户的12个中间版本) | |||
第1行: | 第1行: | ||
− | + | <includeonly><html><script> | |
− | <script> | + | window.RLQ || []; |
− | window. | + | window.RLQ.push(async function(){ |
− | + | await mw.loader.load('https://cdn.bootcdn.net/ajax/libs/ssi-modal/1.0.28/js/ssi-modal.min.js'); | |
− | |||
ssi_modal.notify('{{{type|}}}',{ | ssi_modal.notify('{{{type|}}}',{ | ||
+ | className: 'custom-notify', | ||
+ | sizeClass: '{{{size|auto}}}', | ||
+ | position: '{{{position|top right}}}', | ||
title: '{{{title|}}}', | title: '{{{title|}}}', | ||
− | content: '{{{content|}}}' | + | content: '{{{content|}}}', |
+ | closeAfter: { | ||
+ | time: 15 | ||
+ | } | ||
}); | }); | ||
− | |||
}); | }); | ||
− | </script> | + | </script></html></includeonly> |
− |