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 4: | Línea 4: | ||
<!-- PS --> | <!-- PS --> | ||
<div style="display: flex; align-items: center; margin: 8px 0;"> | <div style="display: flex; align-items: center; margin: 8px 0;"> | ||
<span style="width: 30%; text-align: left;">PS: | <span style="width: 30%; text-align: left;">PS: </span> | ||
<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 | <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}} | |||
</div> | |||
</div> | </div> | ||
</div> | </div> | ||
Línea 12: | Línea 14: | ||
<!-- Ataque --> | <!-- Ataque --> | ||
<div style="display: flex; align-items: center; margin: 8px 0;"> | <div style="display: flex; align-items: center; margin: 8px 0;"> | ||
<span style="width: 30%; text-align: left;">Ataque: | <span style="width: 30%; text-align: left;">Ataque: </span> | ||
<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 | <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}} | |||
</div> | |||
</div> | </div> | ||
</div> | </div> | ||
Línea 20: | Línea 24: | ||
<!-- Defensa --> | <!-- Defensa --> | ||
<div style="display: flex; align-items: center; margin: 8px 0;"> | <div style="display: flex; align-items: center; margin: 8px 0;"> | ||
<span style="width: 30%; text-align: left;">Defensa: | <span style="width: 30%; text-align: left;">Defensa: </span> | ||
<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 | <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}} | |||
</div> | |||
</div> | </div> | ||
</div> | </div> | ||
Línea 28: | Línea 34: | ||
<!-- Ataque Especial --> | <!-- Ataque Especial --> | ||
<div style="display: flex; align-items: center; margin: 8px 0;"> | <div style="display: flex; align-items: center; margin: 8px 0;"> | ||
<span style="width: 30%; text-align: left;">At. Esp.: </span> | <span style="width: 30%; text-align: left;">At. Esp.: </span> | ||
<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 | <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}} | |||
</div> | |||
</div> | </div> | ||
</div> | </div> | ||
Línea 36: | Línea 44: | ||
<!-- Defensa Especial --> | <!-- Defensa Especial --> | ||
<div style="display: flex; align-items: center; margin: 8px 0;"> | <div style="display: flex; align-items: center; margin: 8px 0;"> | ||
<span style="width: 30%; text-align: left;">Def. Esp.:</span> | <span style="width: 30%; text-align: left;">Def. Esp.: </span> | ||
<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 | <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}} | |||
</div> | |||
</div> | </div> | ||
</div> | </div> | ||
Línea 44: | Línea 54: | ||
<!-- Velocidad --> | <!-- Velocidad --> | ||
<div style="display: flex; align-items: center; margin: 8px 0;"> | <div style="display: flex; align-items: center; margin: 8px 0;"> | ||
<span style="width: 30%; text-align: left;">Velocidad:</span> | <span style="width: 30%; text-align: left;">Velocidad: </span> | ||
<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 | <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}} | |||
</div> | |||
</div> | </div> | ||
</div> | </div> | ||
</div> | </div> |
Revisión del 22:03 28 ene 2025
Estadísticas Base
PS:
Ataque:
Defensa:
At. Esp.:
Def. Esp.:
Velocidad: