AdorableKilla(讨论 | 贡献) (创建页面,内容为“{{#vardefine:active|{{lc:{{{active|{{#switch:{{{page|}}}|champion={{#explode:{{PAGENAME}}|/|1}}|{{#switch:{{#sub:{{#explode:{{PAGENAME}}|<nowiki> </nowiki>(|1}}|0|-1}}|League of Legends=lol|Teamfight Tactics=tft|Legends of Runeterra=lor|Wild Rift=wr|Universe=background|lol}}}}}}}}}}}{{#vardefine:base|{{{1|{{#switch:{{{page|}}}|champion={{ROOTPAGENAME}}|{{#explode:{{PAGENAME}}|<nowiki> </nowiki>(|0}}}}}}}}}<!-- --><div id="game-nav" style="display:inline-block;…”) |
AdorableKilla(讨论 | 贡献) |
||
第1行: | 第1行: | ||
{{#vardefine:active|{{lc:{{{active|{{#switch:{{{page|}}}|champion={{#explode:{{PAGENAME}}|/|1}}|{{#switch:{{#sub:{{#explode:{{PAGENAME}}|<nowiki> </nowiki>(|1}}|0|-1}}|League of Legends=lol|Teamfight Tactics=tft|Legends of Runeterra=lor|Wild Rift=wr|Universe=background|lol}}}}}}}}}}}{{#vardefine:base|{{{1|{{#switch:{{{page|}}}|champion={{ROOTPAGENAME}}|{{#explode:{{PAGENAME}}|<nowiki> </nowiki>(|0}}}}}}}}}<!-- | {{#vardefine:active|{{lc:{{{active|{{#switch:{{{page|}}}|champion={{#explode:{{PAGENAME}}|/|1}}|{{#switch:{{#sub:{{#explode:{{PAGENAME}}|<nowiki> </nowiki>(|1}}|0|-1}}|League of Legends=lol|Teamfight Tactics=tft|Legends of Runeterra=lor|Wild Rift=wr|Universe=background|lol}}}}}}}}}}}{{#vardefine:base|{{{1|{{#switch:{{{page|}}}|champion={{ROOTPAGENAME}}|{{#explode:{{PAGENAME}}|<nowiki> </nowiki>(|0}}}}}}}}} | ||
--><div id="game-nav" style="display:inline-block; padding:0px"><!-- | <!----> | ||
-->{{#vardefine:unipage|{{#switch:{{{page|}}}|champion={{#var:base}}/Background|{{#var:base}}_(Universe)}}}}{{#ifexist:{{#var:unipage}}|<div class="game-nav-item {{#ifeq:{{#var:active|lol}}|background|game-nav-item-active|}}" style="display:inline-block; position:relative; height:60px; width:60px"><span class="game-nav-item-select" style="position:absolute">[[File:Select icon nav.svg|60px|link={{#var:unipage}}]]</span><span style="position:absolute; top:17px; left:16px">[[File:Universe icon nav.png|29px|link={{#var:unipage}}]]</span></div>|}}<!-- | <div id="game-nav" style="display:inline-block; padding:0px"> | ||
-->{{#vardefine:lolpage|{{#switch:{{{page|}}}|champion={{#var:base}}/LoL|{{#var:base}}_(League of Legends)}}}}{{#ifexist:{{#var:lolpage}}|<div class="game-nav-item {{#ifeq:{{#var:active|lol}}|lol|game-nav-item-active|}}" style="display:inline-block; position:relative; height:60px; width:60px"><span class="game-nav-item-select" style="position:absolute">[[File:Select icon nav.svg|60px|link={{#var:lolpage}}]]</span><span style="position:absolute; top:16px; left:18px">[[File:League of Legends icon nav.png|26px|link={{#var:lolpage}}]]</span></div>|}}<!-- | <!----> | ||
-->{{#vardefine:tftpage|{{#switch:{{{page|}}}|champion={{#var:base}}/TFT|{{#var:base}}_(Teamfight Tactics)}}}}{{#ifexist:{{#var:tftpage}}|<div class="game-nav-item {{#ifeq:{{#var:active|lol}}|tft|game-nav-item-active|}}" style="display:inline-block; position:relative; height:60px; width:60px"><span class="game-nav-item-select"; style="position:absolute">[[File:Select icon nav.svg|60px|link=https://teamfighttactics.fandom.com/zh/wiki/{{#var:tftpage}}]]</span><span style="position:absolute; top:17px; left:15px">[[File:Teamfight Tactics icon nav.png|30px|link=https://teamfighttactics.fandom.com/zh/wiki/{{#var:tftpage}}]]</span></div>|}}<!-- | {{#vardefine:unipage|{{#switch:{{{page|}}}|champion={{#var:base}}/Background|{{#var:base}}_(Universe)}}}}{{#ifexist:{{#var:unipage}}|<div class="game-nav-item {{#ifeq:{{#var:active|lol}}|background|game-nav-item-active|}}" style="display:inline-block; position:relative; height:60px; width:60px"><span class="game-nav-item-select" style="position:absolute">[[File:Select icon nav.svg|60px|link={{#var:unipage}}]]</span><span style="position:absolute; top:17px; left:16px">[[File:Universe icon nav.png|29px|link={{#var:unipage}}]]</span></div>|}} | ||
-->{{#vardefine:lorpage|{{#switch:{{{page|}}}|champion={{#var:base}}/LoR|{{#var:base}}_(Legends of Runeterra)}}}}{{#ifexist:{{#var:lorpage}}|<div class="game-nav-item {{#ifeq:{{#var:active|lol}}|lor|game-nav-item-active|}}" style="display:inline-block; position:relative; height:60px; width:60px"><span class="game-nav-item-select" style="position:absolute">[[File:Select icon nav.svg|60px|link={{#var:lorpage}}]]</span><span style="position:absolute; top:15px; left:16px">[[File:Legends of Runeterra icon nav.png|28px|link={{#var:lorpage}}]]</span></div>|}}<!-- | <!----> | ||
-->{{#vardefine:wrpage|{{#switch:{{{page|}}}|champion={{#var:base}}/WR|{{#var:base}}_(Wild Rift)}}}}{{#ifexist:{{#var:wrpage}}|<div class="game-nav-item {{#ifeq:{{#var:active|lol}}|wr|game-nav-item-active|}}" style="display:inline-block; position:relative; height:60px; width:60px"><span class="game-nav-item-select" style="position:absolute">[[File:Select icon nav.svg|60px|link={{#var:wrpage}}]]</span><span style="position:absolute; top:15px; left:15px">[[File:Wild Rift icon nav.png|32px|link={{#var:wrpage}}]]</span></div>|}}<!-- | {{#vardefine:lolpage|{{#switch:{{{page|}}}|champion={{#var:base}}/LoL|{{#var:base}}_(League of Legends)}}}}{{#ifexist:{{#var:lolpage}}|<div class="game-nav-item {{#ifeq:{{#var:active|lol}}|lol|game-nav-item-active|}}" style="display:inline-block; position:relative; height:60px; width:60px"><span class="game-nav-item-select" style="position:absolute">[[File:Select icon nav.svg|60px|link={{#var:lolpage}}]]</span><span style="position:absolute; top:16px; left:18px">[[File:League of Legends icon nav.png|26px|link={{#var:lolpage}}]]</span></div>|}} | ||
-->{{#ifexist:{{#var:base}}/PF|<div class="game-nav-item {{#ifeq:{{lc:{{{1|{{#var:active|lol}}}}}}}|pf|game-nav-item-active|}}" style="display:inline-block; position:relative; height:60px; width:60px"><span class="game-nav-item-select" style="position:absolute">[[File:Select icon nav.svg|60px|link={{#var:base}}/PF]]</span><span class="league-font" style="position:absolute; top: 21px; text-align:center; left:0px; right:0px; font-size:13px>[[{{#var:base}}/PF|PROJ F]]</span></div>|}}<!-- | <!----> | ||
-->{{#ifexist:{{#var:base}}/PL|<div class="game-nav-item {{#ifeq:{{lc:{{{1|{{#var:active|lol}}}}}}}|pl|game-nav-item-active|}}" style="display:inline-block; position:relative; height:60px; width:60px"><span class="game-nav-item-select" style="position:absolute">[[File:Select icon nav.svg|60px|link={{#var:base}}/PL]]</span><span class="league-font" style="position:absolute; top: 21px; text-align:center; left:0px; right:0px; font-size:13px>[[{{#var:base}}/PL|PROJ L]]</span></div>|}}<!-- | {{#vardefine:tftpage|{{#switch:{{{page|}}}|champion={{#var:base}}/TFT|{{#var:base}}_(Teamfight Tactics)}}}}{{#ifexist:{{#var:tftpage}}|<div class="game-nav-item {{#ifeq:{{#var:active|lol}}|tft|game-nav-item-active|}}" style="display:inline-block; position:relative; height:60px; width:60px"><span class="game-nav-item-select"; style="position:absolute">[[File:Select icon nav.svg|60px|link=https://teamfighttactics.fandom.com/zh/wiki/{{#var:tftpage}}]]</span><span style="position:absolute; top:17px; left:15px">[[File:Teamfight Tactics icon nav.png|30px|link=https://teamfighttactics.fandom.com/zh/wiki/{{#var:tftpage}}]]</span></div>|}} | ||
--></div> | <!----> | ||
{{#vardefine:lorpage|{{#switch:{{{page|}}}|champion={{#var:base}}/LoR|{{#var:base}}_(Legends of Runeterra)}}}}{{#ifexist:{{#var:lorpage}}|<div class="game-nav-item {{#ifeq:{{#var:active|lol}}|lor|game-nav-item-active|}}" style="display:inline-block; position:relative; height:60px; width:60px"><span class="game-nav-item-select" style="position:absolute">[[File:Select icon nav.svg|60px|link={{#var:lorpage}}]]</span><span style="position:absolute; top:15px; left:16px">[[File:Legends of Runeterra icon nav.png|28px|link={{#var:lorpage}}]]</span></div>|}} | |||
<!----> | |||
{{#vardefine:wrpage|{{#switch:{{{page|}}}|champion={{#var:base}}/WR|{{#var:base}}_(Wild Rift)}}}}{{#ifexist:{{#var:wrpage}}|<div class="game-nav-item {{#ifeq:{{#var:active|lol}}|wr|game-nav-item-active|}}" style="display:inline-block; position:relative; height:60px; width:60px"><span class="game-nav-item-select" style="position:absolute">[[File:Select icon nav.svg|60px|link={{#var:wrpage}}]]</span><span style="position:absolute; top:15px; left:15px">[[File:Wild Rift icon nav.png|32px|link={{#var:wrpage}}]]</span></div>|}} | |||
<!----> | |||
{{#ifexist:{{#var:base}}/PF|<div class="game-nav-item {{#ifeq:{{lc:{{{1|{{#var:active|lol}}}}}}}|pf|game-nav-item-active|}}" style="display:inline-block; position:relative; height:60px; width:60px"><span class="game-nav-item-select" style="position:absolute">[[File:Select icon nav.svg|60px|link={{#var:base}}/PF]]</span><span class="league-font" style="position:absolute; top: 21px; text-align:center; left:0px; right:0px; font-size:13px>[[{{#var:base}}/PF|PROJ F]]</span></div>|}} | |||
<!----> | |||
{{#ifexist:{{#var:base}}/PL|<div class="game-nav-item {{#ifeq:{{lc:{{{1|{{#var:active|lol}}}}}}}|pl|game-nav-item-active|}}" style="display:inline-block; position:relative; height:60px; width:60px"><span class="game-nav-item-select" style="position:absolute">[[File:Select icon nav.svg|60px|link={{#var:base}}/PL]]</span><span class="league-font" style="position:absolute; top: 21px; text-align:center; left:0px; right:0px; font-size:13px>[[{{#var:base}}/PL|PROJ L]]</span></div>|}} | |||
<!----> | |||
</div> |