打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的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:#222; margin:10px auto;}
.w-c {position:relative; width:<!--{$width|default:'100%'}-->; height:<!--{$height|default:'400px'}-->; overflow:hidden; background:#222;}
.w-s {display:none; width:100%; height:100%;}
.w-s {display:none; width:100%; height:100%;}
.w-s img {width:100%; height:100%; object-fit:cover;}
.w-s img {width:100%; height:100%; object-fit:cover;}

2026年5月3日 (日) 13:47的版本

  小工具文档 WIDGET DOCUMENTATION   [编辑]

用于首页/活动轮换图的微件。

用法

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