诚邀有MediaWiki开发维护经验的朋友和我们一起共建英雄联盟中文Wiki平台,期待你的加入! 甜咖啡(QQ:815798492)(微信:glf101012) 请备注来意,并附带您的GitHub/Gitee主页或作品链接。

模板:Game banner:修订间差异

来自英雄联盟维基百科
第19行: 第19行:
--/ns check-->}}<!--
--/ns check-->}}<!--
--><div class="league-font" style="margin-bottom:1em; display:flow-root; position:relative; width:100%; max-width:min(1045px, calc(100% - 288px)); min-width:min(828px, 100%); min-height:180px; z-index:0; margin-left:auto; margin-right:auto; {{#switch:{{PAGENAME}}|{{{1|Example}}}=float:left;}}">{{#ifexist:File:{{#var:gamebannerbackground}}|<sup style='position: absolute; top: 1em; right: 1em; z-index:2;text-shadow: 0 0 5px black;'>[[:File:{{#var:gamebannerbackground}}|Image]]</sup>}}<div style="position:absolute; top:0px; right:0px; bottom:0px; left:0px; overflow:hidden;"><div style="position:absolute; left:0; top:0; width:100%; height:100%; background: radial-gradient(ellipse 100% 100% at 110% 0%, rgba(0,0,0,0), rgba(0,0,0,0) 60%, rgba(1,10,19,0.40) 100%, rgba(1,10,19,0.55) 120%, rgba(1,10,19,0.9) 150%); z-index:1"></div><div class="FullWidthImage fxaa" style="position:absolute; z-index:0; min-width:1000px; top:-65%; {{{offset|}}}">
--><div class="league-font" style="margin-bottom:1em; display:flow-root; position:relative; width:100%; max-width:min(1045px, calc(100% - 288px)); min-width:min(828px, 100%); min-height:180px; z-index:0; margin-left:auto; margin-right:auto; {{#switch:{{PAGENAME}}|{{{1|Example}}}=float:left;}}">{{#ifexist:File:{{#var:gamebannerbackground}}|<sup style='position: absolute; top: 1em; right: 1em; z-index:2;text-shadow: 0 0 5px black;'>[[:File:{{#var:gamebannerbackground}}|Image]]</sup>}}<div style="position:absolute; top:0px; right:0px; bottom:0px; left:0px; overflow:hidden;"><div style="position:absolute; left:0; top:0; width:100%; height:100%; background: radial-gradient(ellipse 100% 100% at 110% 0%, rgba(0,0,0,0), rgba(0,0,0,0) 60%, rgba(1,10,19,0.40) 100%, rgba(1,10,19,0.55) 120%, rgba(1,10,19,0.9) 150%); z-index:1"></div><div class="FullWidthImage fxaa" style="position:absolute; z-index:0; min-width:1000px; top:-65%; {{{offset|}}}">
{{#ifexist:File:{{#var:gamebannerbackground}}|[[File:{{#var:gamebannerbackground}}]]|[[File:{{#var:gamebannerbackground}}]][[Category:Default banner image]]}}</div></div><!--
{{#ifexist:File:{{#var:gamebannerbackground}}|[[File:{{#var:gamebannerbackground}}]]|[[File:{{#var:gamebannerbackground}}]][[Category:默认横幅图片]]}}</div></div><!--
--><div style="z-index:2; position:relative; text-align:left; margin: 24px; display:flex; flex-flow: column nowrap; justify-content:space-between; min-height:132px;"><!--
--><div style="z-index:2; position:relative; text-align:left; margin: 24px; display:flex; flex-flow: column nowrap; justify-content:space-between; min-height:132px;"><!--
--><span style="font-size: 32px; color: #ffffff;">{{{disp_name|{{{1|Example}}}}}}</span><!--
--><span style="font-size: 32px; color: #ffffff;">{{{disp_name|{{{1|Example}}}}}}</span><!--

2024年2月17日 (六) 18:27的版本