AdorableKilla(讨论 | 贡献) |
AdorableKilla(讨论 | 贡献) |
||
第18行: | 第18行: | ||
-->{{game navigation mobile}}<!-- | -->{{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|}}}"><a href="/{{#var:gamebannerbackground}}" class="image"><img alt="{{#var:gamebannerbackground}}" src="https://cdragon.valhir.cn/latest/champion/{{#var:gamebannerbackground}}/splash-art/centered" decoding="async" width="1280" height="720"></a></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月18日 (日) 15:56的版本
- 描述
- 展示给定英雄或角色的横幅旗帜,并与他们在Runeterra Universe的游戏中出现链接。
- 笔记
- 此横幅仅检查并链接到 /背景, /LOL, /TFT, /LOR, /WR, /PF, /PL 子页面。
- /TFT子页面将自动将最新套装的皮肤用于背景。
- 语法
{{Game banner|<英雄>}}
{{Game banner|<英雄>|<皮肤>|<背景>|<offset>|<active>}}
- 参数
- 1 - 必选; 英雄名称
- 2 - 可选; 皮肤, 默认为原始
- background - 可选; 覆盖背景图像
- offset - 可选; 覆盖背景图像的CSS
- active - 可选; 覆盖哪个导航图标具有大纲
- 示例
{{Game banner|Garen}}
变成...
Garen