◆少前百科是非盈利性、非官方的少女前线维基百科。 ◆如果您发现某些内容错误/空缺,请勇于修正/添加!参与进来其实很容易!点这里 加入少前百科。 ◆有任何意见、建议、纠错,欢迎在 GFwiki:反馈与建议 提出和讨论。编辑事务讨论QQ群:597764980,微博@GFwiki少前百科 ◆To foreigners,You can use twitter to contact us. |
“模板:活动时间表”的版本间的差异
(排版优化) |
|||
(未显示2个用户的12个中间版本) | |||
第1行: | 第1行: | ||
<includeonly> | <includeonly> | ||
− | {|class=" | + | {|class="stattable" id="eventlisttable" style="text-align:center;width:100%;max-width:{{#if:{{{表格宽度|}}}|{{{表格宽度|}}}|1200px}}" |
− | + | |colspan="12" style="height:30px; font-weight:600; font-size:110%; background-color:rgba(254,196,48,0.8); color:black;"|{{#if:{{{标题|}}}|{{{标题|}}}|活动时间表}} | |
|- | |- | ||
− | |colspan="2" id="Yearshow"| | + | |colspan="2" id="Yearshow" style="width:{{{活动标题宽度|150px}}};"| |
|class="DateList" style="height:30px;"| ||class="DateList"| ||class="DateList"| ||class="DateList"| ||class="DateList"| ||class="DateList"| ||class="DateList"| ||class="DateList"| ||class="DateList"| ||class="DateList"| | |class="DateList" style="height:30px;"| ||class="DateList"| ||class="DateList"| ||class="DateList"| ||class="DateList"| ||class="DateList"| ||class="DateList"| ||class="DateList"| ||class="DateList"| ||class="DateList"| | ||
|- | |- | ||
− | |id="datebackward"|◀ | + | |id="datebackward"|{{color|#fec430|◀ BACK}} |
− | |id="dateforward"|▶ | + | |id="dateforward"|{{color|#fec430|NEXT ▶}} |
|class="DayList" style="height:30px;"| ||class="DayList"| ||class="DayList"| ||class="DayList"| ||class="DayList"| ||class="DayList"| ||class="DayList"| ||class="DayList"| ||class="DayList"| ||class="DayList"| | |class="DayList" style="height:30px;"| ||class="DayList"| ||class="DayList"| ||class="DayList"| ||class="DayList"| ||class="DayList"| ||class="DayList"| ||class="DayList"| ||class="DayList"| ||class="DayList"| | ||
− | + | |}{{#Widget:EventDayList|eventData={{{活动数据|}}}}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |}{{#Widget:EventDayList | ||
</includeonly><noinclude>[[分类:模板]]{{Documentation}}</noinclude> | </includeonly><noinclude>[[分类:模板]]{{Documentation}}</noinclude> |
2020年7月21日 (二) 12:25的最新版本
活动时间表 | |||||||||||
◀ BACK | NEXT ▶ |
- 您输入的
{{活动时间表 |活动数据= 0:['0',2020,6,18,13,14,2020,6,26,10,00], 1:['1',2020,6,20,4,0,2020,7,22,23,59], 2:['2',2020,6,10,14,16,2020,6,17,23,59], 3:['3',2020,6,10,10,00,2020,6,10,23,59], 4:['4',2020,6,10,10,00,2020,6,10,23,59], 5:['5',2020,6,19,10,00,2020,6,22,23,59] |表格宽度=1200px |标题=活动时间表 |活动标题宽度=20% }}
- 其中
|活动数据= 0:['0',2020,6,18,13,14,2020,6,26,10,00], 1:['1',2020,6,20,4,0,2020,7,22,23,59], 2:['2',2020,6,10,14,16,2020,6,17,23,59], 3:['3',2020,6,10,10,00,2020,6,10,23,59], 4:['4',2020,6,10,10,00,2020,6,10,23,59], 5:['5',2020,6,19,10,00,2020,6,22,23,59]
格式不能改变,数字:["活动名称",开始年,开始月,开始日,开始小时,开始分钟,结束年,结束月,结束日,结束小时,结束分钟]
输入分钟的时候0和00均可,都会转换成00。输入小时13分钟14的时候,会转换成维护后。
当结束时间在当前时间之前的时候,会在第一个单元格显示已结束。已经结束5天以上的活动自动消失。
|表格宽度=1200px
整个表格的宽度,此项不输入时默认为1200px
|标题=活动时间表
表格最上方的文字描述,此项不输入时默认为活动时间表
|活动标题宽度=20%
表格左方活动描述的小标题,此项不输入时默认为150px