打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

Widget:Carousel:修订间差异

来自OGAS数据中枢
弃权者留言 | 贡献
无编辑摘要
弃权者留言 | 贡献
无编辑摘要
第1行: 第1行:
<includeonly>
<includeonly>
<style>
<style>
.w-c{position:relative;width:<!--{$width|default:'100%'}-->;height:<!--{$height|default:'400px'}-->;overflow:hidden;background:#000;margin:10px auto}
.w-c{position:relative;width:<!--{$width|default:'100%'}-->;height:<!--{$height|default:'400px'}-->;overflow:hidden;background:#000}
#slide-inner,.w-s,.w-s a,.w-s img{width:100%;height:100%;display:block}
#slide-inner,.w-s,.w-s a,.w-s img{width:100%;height:100%;display:block}
.w-s{display:none}.w-s.active{display:block}
.w-s{display:none}.w-s.active{display:block}

2026年5月3日 (日) 14:34的版本

  小工具文档 WIDGET DOCUMENTATION   [编辑]

用于首页/活动轮换图的微件,最多支持9图轮播。

用法

{{#widget:Carousel
|width=800px
|height=300px
|img1=图1.jpg |link1=页面1
|img2=图2.jpg |link2=页面2
……
}}