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

模板:Game banner:修订间差异

来自英雄联盟维基百科
第1行: 第1行:
<includeonly>{{#switch:{{PAGENAME}}
<includeonly>
{{#switch:{{PAGENAME}}
|{{{1|Example}}}={{DISPLAYTITLE:{{{disp_name|{{{1|Example}}}}}} (Character)}}
|{{{1|Example}}}={{DISPLAYTITLE:{{{disp_name|{{{1|Example}}}}}} (Character)}}
|{{{1|Example}}}/Arcane={{DISPLAYTITLE:{{{disp_name|{{{1|Example}}}}}} (Arcane)}}
|{{{1|Example}}}/Arcane={{DISPLAYTITLE:{{{disp_name|{{{1|Example}}}}}} (Arcane)}}
第12行: 第13行:
|{{{1|Example}}}/PL={{DISPLAYTITLE:{{{disp_name|{{{1|Example}}}}}} (Project L)}}
|{{{1|Example}}}/PL={{DISPLAYTITLE:{{{disp_name|{{{1|Example}}}}}} (Project L)}}
|{{{1|Example}}}/Trivia={{DISPLAYTITLE:{{{disp_name|{{{1|Example}}}}}} (Trivia)}}<!--
|{{{1|Example}}}/Trivia={{DISPLAYTITLE:{{{disp_name|{{{1|Example}}}}}} (Trivia)}}<!--
--/switch-->}}{{#vardefine:gamebannerbackground|{{#switch:{{PAGENAME}}
--/switch-->}}
{{#vardefine:gamebannerbackground|{{#switch:{{PAGENAME}}
|{{{1|Example}}}/TFT={{{background|{{{1}}} {{{2|{{#replace:{{#replace:{{#invoke:TFTUnitData|get|{{{1}}}||skin}}||}}|TFT|}}|Original}}}Centered.jpg}}}
|{{{1|Example}}}/TFT={{{background|{{{1}}} {{{2|{{#replace:{{#replace:{{#invoke:TFTUnitData|get|{{{1}}}||skin}}||}}|TFT|}}|Original}}}Centered.jpg}}}
|{{{background|{{{1|}}} {{{2|Original}}}Centered.jpg}}}<!--
|{{{background|{{{1|}}} {{{2|Original}}}Centered.jpg}}}
--/switch-->}}}}{{clear}}{{#ifeq:{{NAMESPACE}}|{{ns:0}}|<!--
<!----/switch-->}}}}{{clear}}{{#ifeq:{{NAMESPACE}}|{{ns:0}}|
-->{{game navigation mobile}}<!--
<!---->{{手机样式导航}}
--/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:Kog'Maw ArcanistSkin.jpg]][[Category:Default banner image]]}}</div></div><!--
{{#ifexist:File:{{#var:gamebannerbackground}}|[[File:{{#var:gamebannerbackground}}]]|[[File:Kog'Maw ArcanistSkin.jpg]][[Category:Default banner image]]}}</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><!--
--><div style="position:relative; left:-10px; bottom:-10px">{{game navigation|{{{1}}}|lol={{{lol|}}}|tft={{{tft|}}}|lor={{{lor|}}}|wr={{{wr|}}}|page=champion|active={{{active|}}}}}</div><!--
--><div style="position:relative; left:-10px; bottom:-10px">{{电脑样式导航|{{{1}}}|lol={{{lol|}}}|tft={{{tft|}}}|lor={{{lor|}}}|wr={{{wr|}}}|page=champion|active={{{active|}}}}}</div><!--
--></div><!--
--></div><!--
--></div>{{#switch:{{PAGENAME}}|{{{1|Example}}}=|{{clear}}}}</includeonly><noinclude>{{模板:doc}}</noinclude>
--></div>{{#switch:{{PAGENAME}}|{{{1|Example}}}=|{{clear}}}}</includeonly><noinclude>{{英雄横幅/文档}}</noinclude>

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