Template:CharStatsFR: Difference between revisions
From Elwiki
No edit summary |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<center>{{#pRadar: size=280x250|colors={{{Color | <!-- | ||
To someone who will make their version(s): | |||
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 #. | |||
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). | |||
Thank you. | |||
* PS: Since the Title in Radar Graph is too close to the graph, I move it to a separate title. | |||
--><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= | |||
PV,{{{HP}}} | PV,{{{HP}}} | ||
Attaque magique, {{{MATK}}} | |||
Résistance à la magie, {{{MDEF}}} | |||
Défense, {{{PDEF}}} | Défense physique, {{{PDEF}}} | ||
Attaque, {{{PATK}}} | Attaque physique, {{{PATK}}} | ||
}} | }}--> | ||
{| class="wikitable" style="text-align: center;" | {| class="wikitable" style="text-align: center;" | ||
! style="text-align: left;" | Vitesse | ! style="text-align: left;" | Vitesse | ||
| {{#ifeq:{{{Speed|}}}|1|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}}Lente | | {{#ifeq:{{{Speed|}}}|1|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}}Lente | ||
| {{#ifeq:{{{Speed|}}}|2|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}}Moyenne | | {{#ifeq:{{{Speed|}}}|2|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}}Moyenne | ||
| {{#ifeq:{{{Speed|}}}|3|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}}Rapide | | {{#ifeq:{{{Speed|}}}|3|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}}Rapide | ||
| rowspan=2 | {{#switch:{{{Damage|}}}| P = [[File:UI - Physical Class.png|50px]] | M = [[File:UI - Magical Class.png|50px]] | [[File:Dunno.png|50px]] }} | |||
|- | |- | ||
! style="text-align: left;" | Portée | ! style="text-align: left;" | Portée | ||
| {{#ifeq:{{{Range|}}}|1|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}} | | {{#ifeq:{{{Range|}}}|1|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}}Courte | ||
| {{#ifeq:{{{Range|}}}|2|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}}Moyenne | | {{#ifeq:{{{Range|}}}|2|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}}Moyenne | ||
| {{#ifeq:{{{Range|}}}|3|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}}Longue | | {{#ifeq:{{{Range|}}}|3|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}}Longue | ||
|- | |- | ||
! style="text-align: left;" | | ! style="text-align: left;" | Difficulté | ||
| {{#ifeq:{{{Difficulty|}}}|1|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}}Facile | | {{#ifeq:{{{Difficulty|}}}|1|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}}Facile | ||
| {{#ifeq:{{{Difficulty|}}}|2|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}} | | {{#ifeq:{{{Difficulty|}}}|2|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}}Moyenne | ||
| {{#ifeq:{{{Difficulty|}}}|3|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}}Difficile | | {{#ifeq:{{{Difficulty|}}}|3|style="background-color: #{{{Color|}}}; color: #fff;" {{!}}}}Difficile | ||
| {{#switch:{{{Damage|}}}| P = Physique | M = Magique | ??? }} | |||
|}</center> | |}</center> |