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

模板:Game navigation:修订间差异

来自英雄联盟维基百科
 
第7行: 第7行:
{{#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.png|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: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.png|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.png|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: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.png|60px|link={{#var:tftpage}}]]</span><span style="position:absolute; top:17px; left:15px">[[File:Teamfight Tactics icon nav.png|30px|link={{#var:tftpage}}]]</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.png|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: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.png|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>|}}

2024年2月18日 (日) 18:45的最新版本