Differenze tra le versioni di "Template:Lop/facility"

m
Colore automatico del testo nei box delle statistiche
m
m (Colore automatico del testo nei box delle statistiche)
| class="width-xl-{{#if: {{{ab|}}} | 30 | 40 }} width-md-100" style="padding: 0em;" | <div class="visible-md">'''[[Punti base]]:'''</div>
<div class="flex flex-row flex-wrap flex-items-center flex-main-stretch" style="margin: 0.2em;">
<div class="width-xl-15 width-xs-33" style="padding: 0.1em;"><div class="roundy-5 {{#if: {{{13|}}} | {{#invoke: ChooseColor | forModGradBg | ps }} }}" style="{{#if: {{{13|}}} | background: #{{#invoke: colore | ps }} | }}; padding: 0.1em;">{{#if: {{{13|}}} | {{{13|}}} | — }}
<div class="text-small">{{stat|PS}}</div></div></div>
<div class="width-xl-15 width-xs-33" style="padding: 0.1em;"><div class="roundy-5 {{#if: {{{14|}}} | {{#invoke: ChooseColor | forModGradBg | attacco }} }}" style="{{#if: {{{14|}}} | background: #{{#invoke: colore | attacco }} | }}; padding: 0.1em;">{{#if: {{{14|}}} | {{{14|}}} | — }}
<div class="text-small">{{stat|Attacco|Att.}}</div></div></div>
<div class="width-xl-15 width-xs-33" style="padding: 0.1em;"><div class="roundy-5 {{#if: {{{15|}}} | {{#invoke: ChooseColor | forModGradBg | difesa }} }}" style="{{#if: {{{15|}}} | background: #{{#invoke: colore | difesa }} | }}; padding: 0.1em;">{{#if: {{{15|}}} | {{{15|}}} | — }}
<div class="text-small">{{stat|Difesa|Dif.}}</div></div></div>
<div class="width-xl-15 width-xs-33" style="padding: 0.1em;"><div class="roundy-5 {{#if: {{{16|}}} | {{#invoke: ChooseColor | forModGradBg | attacco_speciale }} }}" style="{{#if: {{{16|}}} | background: #{{#invoke: colore | attacco_speciale }} | }}; padding: 0.1em;">{{#if: {{{16|}}} | {{{16|}}} | — }}
<div class="text-small">{{stat|Attacco Speciale|A.Sp.}}</div></div></div>
<div class="width-xl-15 width-xs-33" style="padding: 0.1em;"><div class="roundy-5 {{#if: {{{17|}}} | {{#invoke: ChooseColor | forModGradBg | difesa_speciale }} }}" style="{{#if: {{{17|}}} | background: #{{#invoke: colore | difesa_speciale }} | }}; padding: 0.1em;">{{#if: {{{17|}}} | {{{17|}}} | — }}
<div class="text-small">{{stat|Difesa Speciale|D.Sp.}}</div></div></div>
<div class="width-xl-15 width-xs-33" style="padding: 0.1em;"><div class="roundy-5 {{#if: {{{18|}}} | {{#invoke: ChooseColor | forModGradBg | velocita }} }}" style="{{#if: {{{18|}}} | background: #{{#invoke: colore | velocita }} | }}; padding: 0.1em;">{{#if: {{{18|}}} | {{{18|}}} | — }}
<div class="text-small">{{stat|Velocità|Vel.}}</div></div></div>
</div><noinclude>
46 252

contributi