打开主菜单

少前百科GFwiki β

更改

模板:首页轮播2

添加612字节2019年8月22日 (四) 22:52
无编辑摘要
<includeonly><includeonly>{{#widgetWidget:Slick/style|style}}<div class=/*This is the visible area of you "main-carousel.Set a width here to define how much items are visible.The width can be either fixed in px or flexible in %.Position must be relative!*/.jcarousel " >{{ position#if: relative; overflow{{{轮播图片1|}}}|<div>{{#if: hidden;{{{轮播说明1|}}}|<span class="blackout">{{{轮播说明1|}}</*This is the container of the carousel items.You must ensure that the position is relative or absolute andthat the width is big enough to contain all items.*span>|}}[[文件:{{{轮播图片1|}}}|link={{{轮播链接1|}}}|class=no-lazy]]</.jcarousel ul div>|}}{ width{#if: 20000em; position{{{轮播图片2|}}}|<div>{{#if: relative;  /* Optional, required in this case since it's a {{{轮播说明2|}}}|<ulspan class="blackout"> element *{{{轮播说明2|}}}</ listspan>|}}[[文件:{{{轮播图片2|}}}|link={{{轮播链接2|}}}|class=no-stylelazy]]</div>|}}{{#if: none; margin{{{轮播图片3|}}}|<div>{{#if: 0; padding{{{轮播说明3|}}}|<span class="blackout">{{{轮播说明3|}}}</span>|}}[[文件: 0;{{{轮播图片3|}}}|link={{{轮播链接3|}}|class=no-lazy]]</*These are the item elements. jCarousel works best, div>|}}{{#if:{{{轮播图片4|}}}|<div>{{#if the itemshave a fixed width and height (but it's not required).*/.jcarousel li :{{{ /* Required only for block elements like 轮播说明4|}}}|<lispan class="blackout">'s *{{{轮播说明4|}}}</ floatspan>|}}[[文件: left; max{{{轮播图片4|}}}|link={{{轮播链接4|}}}|class=no-heightlazy]]</div>|}}{{#if:712px{{{轮播图片5|}.jcarousel li img}}|<div>{ max-height{#if:100%; max-width{{{轮播说明5|}}}|<span class="blackout">{{{轮播说明5|}}}</span>|}}[[文件:100%; object{{{轮播图片5|}}}|link={{{轮播链接5|}}}|class=no-fitlazy]]</div>|}}{{#if: contain; display{{{轮播图片6|}}}|<div>{{#if:block; height:auto; width:auto;{{{轮播说明6|} }}|<div stylespan class="max-widthblackout">{{{轮播说明6|}}}</span>|}}[[文件:400px;max{{{轮播图片6|}}}|link={{{轮播链接6|}}}|class=no-heightlazy]]</div>|}}{{#if:712px"{{{轮播图片7|}}}|<div>{{#if:{{{轮播说明7|}}}|<div span class="jcarousel pack1blackout">*{{{轮播说明7|}}}</span>|}}[[文件:No.134.jpg{{{轮播图片7|width}}}|link=100%{{{轮播链接7|}}}|heightclass=100%no-lazy]]*</div>|}}{{#if:{{{轮播图片8|}}}|<div>{{#if:{{{轮播说明8|}}}|<span class="blackout">{{{轮播说明8|}}}</span>|}}[[文件:Icon_No.135.png{{{轮播图片8|width}}}|link=100%{{{轮播链接8|height}}}|class=100%no-lazy]]*</div>|}}{{#if:{{{轮播图片9|}}}|<div>{{#if:{{{轮播说明9|}}}|<span class="blackout">{{{轮播说明9|}}}</span>|}}[[文件:No.136.jpg{{{轮播图片9|}}}|widthlink=100%{{{轮播链接9|height}}}|class=100%no-lazy]]</div>|}}</div>{{#Widget:Slick}}</includeonly>
14,357
个编辑