Diferencia entre revisiones de «Plantilla:BarraEstadistica»
De Unión PokéPRO - Wiki
Ir a la navegaciónIr a la búsqueda
Sin resumen de edición |
Sin resumen de edición |
||
Línea 1: | Línea 1: | ||
<div style="width: 400px; font-family: Arial, sans-serif; border: 1px solid #ccc; border-radius: 8px; padding: 10px; background: #f9f9f9; box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);"> | <div style="width: 400px; font-family: Arial, sans-serif; border: 1px solid #ccc; border-radius: 8px; padding: 10px; background: #f9f9f9; box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);"> | ||
<h3 style="text-align: center; color: #333; margin-top: 0;">Estadísticas Base</h3> | <h3 style="text-align: center; color: #333; margin-top: 0;">Estadísticas Base</h3> | ||
Línea 7: | Línea 8: | ||
<div style="width: 65%; background: #ddd; border-radius: 4px; height: 20px; display: flex; align-items: center;"> | <div style="width: 65%; background: #ddd; border-radius: 4px; height: 20px; display: flex; align-items: center;"> | ||
<div style="width: {{PS}}%; background: {{#ifeq: {{PS}} | 0 | #ff5959 | {{#ifeq: {{PS}} | 1 | #fae078 | #a7db8d}}}}; color: white; text-align: center; line-height: 20px; border-radius: 4px;"> | <div style="width: {{PS}}%; background: {{#ifeq: {{PS}} | 0 | #ff5959 | {{#ifeq: {{PS}} | 1 | #fae078 | #a7db8d}}}}; color: white; text-align: center; line-height: 20px; border-radius: 4px;"> | ||
{{PS}} | {{{PS}}} | ||
</div> | </div> | ||
</div> | </div> | ||
Línea 17: | Línea 18: | ||
<div style="width: 65%; background: #ddd; border-radius: 4px; height: 20px; display: flex; align-items: center;"> | <div style="width: 65%; background: #ddd; border-radius: 4px; height: 20px; display: flex; align-items: center;"> | ||
<div style="width: {{Ataque}}%; background: {{#ifeq: {{Ataque}} | 0 | #ff5959 | {{#ifeq: {{Ataque}} | 1 | #fae078 | #a7db8d}}}}; color: white; text-align: center; line-height: 20px; border-radius: 4px;"> | <div style="width: {{Ataque}}%; background: {{#ifeq: {{Ataque}} | 0 | #ff5959 | {{#ifeq: {{Ataque}} | 1 | #fae078 | #a7db8d}}}}; color: white; text-align: center; line-height: 20px; border-radius: 4px;"> | ||
{{Ataque}} | {{{Ataque}}} | ||
</div> | </div> | ||
</div> | </div> | ||
Línea 27: | Línea 28: | ||
<div style="width: 65%; background: #ddd; border-radius: 4px; height: 20px; display: flex; align-items: center;"> | <div style="width: 65%; background: #ddd; border-radius: 4px; height: 20px; display: flex; align-items: center;"> | ||
<div style="width: {{Defensa}}%; background: {{#ifeq: {{Defensa}} | 0 | #ff5959 | {{#ifeq: {{Defensa}} | 1 | #fae078 | #a7db8d}}}}; color: white; text-align: center; line-height: 20px; border-radius: 4px;"> | <div style="width: {{Defensa}}%; background: {{#ifeq: {{Defensa}} | 0 | #ff5959 | {{#ifeq: {{Defensa}} | 1 | #fae078 | #a7db8d}}}}; color: white; text-align: center; line-height: 20px; border-radius: 4px;"> | ||
{{Defensa}} | {{{Defensa}}} | ||
</div> | </div> | ||
</div> | </div> | ||
Línea 37: | Línea 38: | ||
<div style="width: 65%; background: #ddd; border-radius: 4px; height: 20px; display: flex; align-items: center;"> | <div style="width: 65%; background: #ddd; border-radius: 4px; height: 20px; display: flex; align-items: center;"> | ||
<div style="width: {{AtEsp}}%; background: {{#ifeq: {{AtEsp}} | 0 | #ff5959 | {{#ifeq: {{AtEsp}} | 1 | #fae078 | #a7db8d}}}}; color: white; text-align: center; line-height: 20px; border-radius: 4px;"> | <div style="width: {{AtEsp}}%; background: {{#ifeq: {{AtEsp}} | 0 | #ff5959 | {{#ifeq: {{AtEsp}} | 1 | #fae078 | #a7db8d}}}}; color: white; text-align: center; line-height: 20px; border-radius: 4px;"> | ||
{{AtEsp}} | {{{AtEsp}}} | ||
</div> | </div> | ||
</div> | </div> | ||
Línea 47: | Línea 48: | ||
<div style="width: 65%; background: #ddd; border-radius: 4px; height: 20px; display: flex; align-items: center;"> | <div style="width: 65%; background: #ddd; border-radius: 4px; height: 20px; display: flex; align-items: center;"> | ||
<div style="width: {{DefEsp}}%; background: {{#ifeq: {{DefEsp}} | 0 | #ff5959 | {{#ifeq: {{DefEsp}} | 1 | #fae078 | #a7db8d}}}}; color: white; text-align: center; line-height: 20px; border-radius: 4px;"> | <div style="width: {{DefEsp}}%; background: {{#ifeq: {{DefEsp}} | 0 | #ff5959 | {{#ifeq: {{DefEsp}} | 1 | #fae078 | #a7db8d}}}}; color: white; text-align: center; line-height: 20px; border-radius: 4px;"> | ||
{{DefEsp}} | {{{DefEsp}}} | ||
</div> | </div> | ||
</div> | </div> | ||
Línea 57: | Línea 58: | ||
<div style="width: 65%; background: #ddd; border-radius: 4px; height: 20px; display: flex; align-items: center;"> | <div style="width: 65%; background: #ddd; border-radius: 4px; height: 20px; display: flex; align-items: center;"> | ||
<div style="width: {{Velocidad}}%; background: {{#ifeq: {{Velocidad}} | 0 | #ff5959 | {{#ifeq: {{Velocidad}} | 1 | #fae078 | #a7db8d}}}}; color: white; text-align: center; line-height: 20px; border-radius: 4px;"> | <div style="width: {{Velocidad}}%; background: {{#ifeq: {{Velocidad}} | 0 | #ff5959 | {{#ifeq: {{Velocidad}} | 1 | #fae078 | #a7db8d}}}}; color: white; text-align: center; line-height: 20px; border-radius: 4px;"> | ||
{{Velocidad}} | {{{Velocidad}}} | ||
</div> | </div> | ||
</div> | </div> |
Revisión del 22:09 28 ene 2025
Estadísticas Base
PS:
{{{PS}}}
Ataque:
{{{Ataque}}}
Defensa:
{{{Defensa}}}
At. Esp.:
{{{AtEsp}}}
Def. Esp.:
{{{DefEsp}}}
Velocidad:
{{{Velocidad}}}