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

Widget:Carousel:修订间差异

来自OGAS数据中枢
弃权者留言 | 贡献
无编辑摘要
弃权者留言 | 贡献
无编辑摘要
第1行: 第1行:
<includeonly>
<includeonly>
<style>
<style>
.w-c {position:relative; width:100%; height:<!--{$height|default:'400px'}-->; overflow:hidden; background:#222;}
.w-c {position:relative; width:<!--{$width|default:'100%'}-->; height:<!--{$height|default:'400px'}-->; overflow:hidden; background:#222; margin:10px auto;}
.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;}
第32行: 第32行:
</script>
</script>
</includeonly>
</includeonly>
<noinclude>{{doc}}</noinclude>
<noinclude>{{doc|content=
用于[[首页/活动轮换图]]的微件。
==用法==
<pre>
{{#widget:Carousel
|width=800px
|height=300px
|img1=图1.jpg |link1=页面1
|img2=图2.jpg |link2=页面2
}}
</pre>
}}</noinclude>

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

  小工具文档 WIDGET DOCUMENTATION   [编辑]

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

用法

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