◆少前百科是非盈利性、非官方的少女前线维基百科。 ◆如果您发现某些内容错误/空缺,请勇于修正/添加!参与进来其实很容易!点这里 加入少前百科。 ◆有任何意见、建议、纠错,欢迎在 GFwiki:反馈与建议 提出和讨论。编辑事务讨论QQ群:597764980,微博@GFwiki少前百科 ◆To foreigners,You can use twitter to contact us. |
“模板:维护倒计时”的版本间的差异
Mikumikuer(讨论 | 贡献) |
(2个标签:移动版编辑、移动网页编辑) |
||
(未显示2个用户的9个中间版本) | |||
第1行: | 第1行: | ||
− | {{#widget:style|style=.maintance-notice{ | + | <includeonly>{{#widget:style|style=body.skin-vector .maintance-notice{ margin-bottom: 25px; |
− | margin-bottom: 25px; | ||
z-index: 0; | z-index: 0; | ||
display: block; | display: block; | ||
position: relative; | position: relative; | ||
− | |||
− | |||
overflow: hidden; | overflow: hidden; | ||
border: 1px solid black; | border: 1px solid black; | ||
− | width: 850px; | + | max-width: 850px;min-width:650px; |
height: 100px; | height: 100px; | ||
− | margin-top: 4px; | + | margin: auto; |
+ | margin-top: 4px;margin-bottom:2rem; | ||
border-radius: 8px; | border-radius: 8px; | ||
box-shadow: 0px 0px 15px rgba(0,0,0,.5); | box-shadow: 0px 0px 15px rgba(0,0,0,.5); | ||
第17行: | 第15行: | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-position: left bottom,right bottom;} | background-position: left bottom,right bottom;} | ||
− | + | body.skin-vector .maintance-notice > div{ | |
+ | z-index: 1; | ||
+ | font-size: small; | ||
+ | color: #ffffff; | ||
+ | font-weight: 900; | ||
+ | text-align: center; | ||
+ | -webkit-text-stroke: 0.7px rgba(241, 200, 67,0); | ||
+ | position: relative; | ||
+ | left: 15%; | ||
+ | margin: auto; | ||
+ | margin-right: 1rem; | ||
+ | margin-top: 1rem; | ||
+ | display: block; | ||
+ | } | ||
+ | body.skin-minerva .maintance-notice{ | ||
+ | margin-bottom: 25px; | ||
+ | z-index: 0; | ||
+ | display: block; | ||
+ | position: relative; | ||
+ | overflow: hidden; | ||
+ | border: 1px solid black; | ||
+ | height: 55px; | ||
+ | margin-top: 4px;margin-bottom:2rem; | ||
+ | border-radius: 8px; | ||
+ | box-shadow: 0px 0px 15px rgba(0,0,0,.5); | ||
+ | background-image: url(/images/a/a5/%E4%BA%8F%E4%BA%BF%E6%B5%8B%E8%AF%95-%E5%8F%B3.png),url(/images/c/c9/%E4%BA%8F%E4%BA%BF%E6%B5%8B%E8%AF%95-%E5%B7%A6.png); | ||
+ | background-color: rgba(255, 255, 255, 0.2); | ||
+ | background-size: auto 25%,auto 100%; | ||
+ | background-repeat: no-repeat; | ||
+ | background-position: right bottom,left bottom; | ||
+ | max-width: 440px; | ||
+ | margin: auto;} | ||
+ | body.skin-minerva .maintance-notice > div{z-index:1;font-size: small;color:#ffffff;font-weight:900;text-align: center;-webkit-text-stroke: 0.7px rgba(241, 200, 67,0);position: absolute;right: 0px;margin-right: 1rem;display: inline-block;} | ||
+ | }}<div style="" class="maintance-notice"><div>{{timer|常态显示=<center>{{{维护日期|}}} {{{维护时间点|10:00~17:00}}}{{Color|#ff607a|{{#switch:{{{类型|1}}}|1=例行维护|2=非强制更新|3=强制更新}}}}:{{{公告|}}}|倒计时显示=<br>离下次维护还剩:|编号=maintanceon|结束时间={{{开始维护|2020-04-23 10:00}}} +0800|结束显示={{timer|常态显示=<br>|倒计时显示=离维护结束还剩:|编号=maintanceoff|结束时间={{{结束维护|2020-04-23 16:00}}} +0800|结束显示=维护已结束}}}}</center></div></div>{{#if:{{{常驻|}}}||{{#Widget:EventEndHide|eventstring="{{{结束维护|2020-04-23 16:00}}}"}}}}</includeonly> | ||
<noinclude> | <noinclude> | ||
__TOC__ {{Documentation}} | __TOC__ {{Documentation}} | ||
[[分类:模板]] | [[分类:模板]] | ||
</noinclude> | </noinclude> |
2021年6月23日 (三) 21:58的最新版本
你输入的
{{维护倒计时 |公告=[https://gf-cn.sunborngame.com/NewsInfo?id=5567 链接]<!-->保留链接两个字不可更改<---> |维护日期=4月23日<!-->只能按这个格式填<---> |维护时间点=10:00~16:00<!-->默认是10-17时时,直接删除这行<---> |开始维护=2020-04-23 10:00<!-->只能按这个格式填 注意是北京时间<---> |结束维护=2020-04-23 16:00<!-->只能按这个格式填 注意是北京时间<---> |常驻=1<!-->如果想要维护公告一直常驻显示保留,否则删去此条,维护结束5个小时后维护公告自动消失<---> }}
你看到的
复制用
{{维护倒计时 |公告=[https://gf-cn.sunborngame.com/NewsInfo?id=5567 链接] |维护日期=4月23日 |维护时间点=10:00~16:00 |开始维护=2020-04-23 10:00 |结束维护=2020-04-23 16:00 }}