打开/关闭搜索
搜索
打开/关闭菜单
933
1525
112
1.4万
植物大战僵尸杂交版Wiki
导航
首页
最近更改
随机页面
MediaWiki帮助
特殊页面
上传文件
打开/关闭外观设置菜单
notifications
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。
user-interface-preferences
个人工具
创建账号
登录
查看“︁微件:Typewriter”︁的源代码
来自植物大战僵尸杂交版Wiki
查看
阅读
查看源代码
查看历史
associated-pages
微件
讨论
更多操作
←
微件:Typewriter
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您没有权限编辑
微件
命名空间内的页面。
您可以查看和复制此页面的源代码。
<includeonly> <div class="typewriter" style=" font-size:<!--{$size|default:'18'}-->px; color:<!--{$color|default:'#333'}-->; padding:12px 16px; background:<!--{$bg|default:'#f5f0e0'}-->; border-radius:8px; border-left:4px solid <!--{$accent|default:'#4CAF50'}-->; font-family:monospace; min-height:40px; "> <span class="typewriter-cursor">|</span> </div> <script> (function() { const container = document.currentScript.parentElement; const cursor = container.querySelector('.typewriter-cursor'); const text = '<!--{$text}-->'; if (!text) return; let index = 0; const speed = <!--{$speed|default:'60'}-->; let isDeleting = false; let interval = null; function type() { if (isDeleting) { index--; cursor.before(text.substring(0, index)); if (index === 0) { isDeleting = false; clearInterval(interval); interval = setInterval(type, speed); } return; } index++; cursor.before(text.substring(0, index)); if (index >= text.length) { clearInterval(interval); if (<!--{$loop|default:'false'}--> === true) { setTimeout(() => { isDeleting = true; interval = setInterval(type, speed); }, <!--{$pause|default:'2000'}-->); } } } // 清除初始光标 cursor.before(''); interval = setInterval(type, speed); })(); </script> </includeonly> {{#widget:Typewriter |text=欢迎来到植物大战僵尸杂交版Wiki! |speed=80 |loop=true |pause=3000 |size=20 |color=#2E7D32 |accent=#4CAF50 }}
返回
微件:Typewriter
。
查看“︁微件:Typewriter”︁的源代码
来自植物大战僵尸杂交版Wiki