miao-plugin/resources/wiki/character.html

136 lines
4.1 KiB
HTML
Raw Normal View History

2022-04-06 19:51:44 +00:00
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
<link rel="shortcut icon" href="#"/>
<link rel="stylesheet" type="text/css" href="{{_res_path}}/wiki/character.css"/>
</head>
<body>
<style>
</style>
<div class="container elem_{{elem}}" id="container">
<div class="head-box" style="background-image:url('{{_res_path}}/{{_char}}/party.png')">
2022-04-06 19:51:44 +00:00
<div class="head">
<img src="{{_res_path}}{{_char}}/face.png"/>
</div>
<!-- <div class="head-astro">{{astro}}</div>
<div class="head-icon">
<img src="{{City}}" />
<img src="{{Weapon}}" />
<img src="{{Element}}" />
</div>
-->
<div class="head-detail">
<div class="name">{{title}} · {{name}}</div>
<div class="desc">{{desc}}</div>
</div>
<div class="data-box">
<div class="tab-label">90级基础数据</div>
<div class="data-line">
{{each line item}}
<div class="data_line_item">
<div class="num">{{item.num}}</div>
<div class="label">{{item.label}}</div>
</div>
{{/each}}
</div>
</div>
</div>
2022-04-07 19:39:43 +00:00
{{if mode == "talent"}}
2022-04-06 19:51:44 +00:00
{{each talent skill type}}
2022-04-06 19:51:44 +00:00
<div class="talent-box">
<div class="talent-detail">
<div class="talent-line">
<div class="talent-icon">
<img src="{{_res_path}}{{_char}}/talent_{{type}}.png"/>
2022-04-06 19:51:44 +00:00
</div>
<div class="talent-info">
<strong class="talent-name">{{skill.name}}</strong>
<div class="talent-desc">
2022-04-07 21:47:05 +00:00
{{each skill.desc d}}
2022-04-06 19:51:44 +00:00
{{ if d.length < 6 }}
{{if d === "•"}} • {{else}} <span>{{d}}</span>
{{/if}}
{{else}}
2022-04-07 21:47:05 +00:00
{{#d}}</br>
2022-04-06 19:51:44 +00:00
{{/if}}
{{/each}}
</div>
</div>
2022-04-07 21:47:05 +00:00
{{if skill.tables && skill.tables.length > 0}}
2022-04-06 19:51:44 +00:00
<div class="talent-table">
<div class="tr">
<div class="th"></div>
2022-04-07 21:47:05 +00:00
{{each skill.lvs lv idx}}
{{if (type=="a" && idx>4 && idx<11) || (type!="a" && idx>4 && idx < 13)}}
2022-04-06 19:51:44 +00:00
<div class="th lv">{{lv}}</div>
{{/if}}
{{/each}}
</div>
2022-04-07 21:47:05 +00:00
{{each skill.tables tr}}
2022-04-06 19:51:44 +00:00
<div class="tr">
<div class="th talent_name">
{{tr.name}}
</div>
2022-04-07 21:47:05 +00:00
{{each tr.values v idx}}
{{if (type=="a" && idx>4 && idx<11) || (type!="a" && idx>4 && idx < 13)}}
2022-04-06 19:51:44 +00:00
<div class="td">{{v}}</div>
{{/if}}
{{/each}}
</div>
{{/each}}
</div>
{{/if}}
</div>
</div>
</div>
{{/each}}
<div class="talent-box">
<div class="talent-detail">
2022-04-07 21:47:05 +00:00
{{each passive pass idx}}
2022-04-06 19:51:44 +00:00
<div class="talent-line">
<div class="talent-icon">
2022-04-07 21:47:05 +00:00
<img src="{{_res_path}}{{_char}}/passive_{{idx+1}}.png"/>
2022-04-06 19:51:44 +00:00
</div>
<div class="talent-info">
<strong class="talent-name">{{pass.name}}</strong>
<div class="talent-desc">
{{pass.desc}}
</div>
</div>
</div>
{{/each}}
</div>
</div>
2022-04-07 19:39:43 +00:00
{{/if}}
{{if mode == "cons"}}
<div class="talent-box">
<div class="talent-detail">
{{each cons con idx}}
<div class="talent-line">
<div class="talent-icon">
<img src="{{_res_path}}{{_char}}/cons_{{idx}}.png"/>
</div>
<div class="talent-info">
<strong class="talent-name">{{con.name}}</strong>
<div class="talent-desc">
{{con.desc}}
</div>
</div>
</div>
{{/each}}
</div>
</div>
{{/if}}
2022-04-06 19:51:44 +00:00
<div class="logo">Create By Yunzai-Bot & Miao-Plugin</div>
</div>
</body>
</html>