Template:CharStats: Difference between revisions

From Elwiki
(Undo revision 584750 by Gameboy224 (talk))
Tag: Undo
No edit summary
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<!--
<includeonly>{{#invoke:CharStats
    To someone who will make their version(s):
|main
    Since the color param work for both Radar and table, use html-style (#xxx) color to make it work for Radar, BUT WITHOUT THE LEADING #.
|l_speed=Speed
    And, try use a dark colors, since the text with select color will be easier to look (It is previously done for Job Classes / Characters, and Job colors are normally dark, on which black is sometimes hard to see).
|l_slow=Slow
    Thank you.
|l_average=Average
    * PS: Since the Title in Radar Graph is too close to the graph, I move it to a separate title.
|l_fast=Fast
--><center><font style="font-size: 12pt">{{{Title|}}}</font><!--{{#pRadar: size=280x250|colors={{{Color|}}}|ymin=0|ymax=5|striped|stripecolor=#000|axiscolor=#000|filled|textfont=hel.ttf|textsize=10|data=
|l_range=Range
HP,{{{HP}}}
|l_short=Short
MATK, {{{MATK}}}
|l_medium=Medium
MDEF, {{{MDEF}}}
|l_long=Long
PDEF, {{{PDEF}}}
|l_difficulty=Difficulty
PATK, {{{PATK}}}
|l_easy=Easy
}}-->
|l_normal=Normal
{| class="wikitable" style="text-align: center;"
|l_hard=Hard
! style="text-align: left;" | Speed:
|l_unk=?
| {{#ifeq:{{{Speed|}}}|1|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}}Slow
|l_magical=Magical
| {{#ifeq:{{{Speed|}}}|2|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}}Average
|l_physical=Physical
| {{#ifeq:{{{Speed|}}}|3|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}}Fast
}}
| rowspan=2 | {{#switch:{{{Damage|}}}| P = [[File:UI - Physical Class.png|50px]] | M = [[File:UI - Magical Class.png|50px]] | [[File:Dunno.png|50px]] }}
</includeonly><noinclude>{{Languages|Template:CharStats}}{{Doc}}</noinclude>
|-
! style="text-align: left;" | Attack Range:
| {{#ifeq:{{{Range|}}}|1|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}}Short
| {{#ifeq:{{{Range|}}}|2|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}}Medium
| {{#ifeq:{{{Range|}}}|3|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}}Long
|-
! style="text-align: left;" | Difficulty:
| {{#ifeq:{{{Difficulty|}}}|1|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}}Easy
| {{#ifeq:{{{Difficulty|}}}|2|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}}Normal
| {{#ifeq:{{{Difficulty|}}}|3|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}}Hard
| {{#switch:{{{Damage|}}}| P = Physical | M = Magical | ??? }}
|}</center>

Latest revision as of 15:00, 7 July 2022

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