Template:CharStats CN: Difference between revisions

From Elwiki
m (fix it before remake)
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<center><font style="font-size: 12pt;">{{{Title|}}}</font>
<includeonly>
{{#Widget:Radar|dim=5|max=5|fontsize=20|label=体力|value={{{HP|}}}|label=魔法攻击|value={{{MATK|}}}|label=魔法防御|value={{{MDEF|}}}|label=物理防御|value={{{PDEF|}}}|label=物理攻击|value={{{PATK|}}}|color=#{{{Color|}}}
{{#invoke:CharStats
}}</center>
|main
{| class="wikitable" style="text-align: center;"
|l_speed=速度
! style="text-align: left;" | 速度:
|l_slow=慢
| {{#ifeq:{{{Speed|}}}|1|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}}
|l_average=普通
| {{#ifeq:{{{Speed|}}}|2|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}}普通
|l_fast=快
| {{#ifeq:{{{Speed|}}}|3|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}}
|l_range=攻击距离
|-
|l_short=
! style="text-align: left;" | 攻击距离:
|l_medium=
| {{#ifeq:{{{Range|}}}|1|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}}近距离
|l_long=
| {{#ifeq:{{{Range|}}}|2|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}}中距离
|l_difficulty=难度
| {{#ifeq:{{{Range|}}}|3|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}}远距离
|l_easy=简单
|-
|l_normal=普通
! style="text-align: left;" | 难度:
|l_hard=困难
| {{#ifeq:{{{Difficulty|}}}|1|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}}简单
|l_magical=魔法型
| {{#ifeq:{{{Difficulty|}}}|2|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}}普通
|l_physical=物理型
| {{#ifeq:{{{Difficulty|}}}|3|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}}困难
}}
|}</center>
</includeonly><noinclude>{{Doc}}</noinclude>

Latest revision as of 17:29, 6 May 2022

Information: If you want to test this template, please use Sandbox.
The documentation does not exist, you can click here to create.