Differenze tra le versioni di "Template:Pokémon"

m
Fix gradTypes
m
m (Fix gradTypes)
<div class="inline-block height-100 width-xl-{{{xl|auto}}} width-lg-{{{lg|auto}}} width-md-{{{md|auto}}} width-sm-{{{sm|auto}}} width-xs-{{{xs|auto}}}">{{#if: {{{context|}}} |
<div class="text-center">'''{{{context|}}}'''</div>}}
<div class="roundy text-center height-100 flex flex-row flex-nowrap flex-sm-wrap flex-items-stretch flex-main-equal {{#if: {{{type1|}}} | | horiz-grad-{{#invoke: PokémonData | gradTypes | {{{ndex|001}}} | gen = {{{gen|}}} }}}}" style="padding: 1ex; {{#if: {{{type1|}}} | {{#invoke: css | horizGrad | type = {{{type1|Sconosciuto}}} | type2 = {{{type2|{{{type1|Sconosciuto}}}}}}}}}}">
<div class="min-width-xs-100" style="min-width: 9.375rem; padding: 0.2em;">
<div class="roundy img-fluid {{#ifeq: {{{ombra|no}}} | yes | white-text | white-bg}} pull-center" style="padding: 0.3ex; margin-bottom: 0.3em; {{#ifeq: {{{ombra|no}}} | yes | background: #{{#invoke: colore | ombra}};}}">{{#invoke: Spr | Spr | {{{ndex|001}}}{{{form|}}} | {{{game|Current}}} | {{{spritegender|male}}} {{#ifeq: {{lc:{{{back|no}}}}} | yes | back}} {{#ifeq: {{lc:{{{shiny|no}}}}} | yes | shiny}}}}<div style="padding: 0.1em;">{{#ifexpr: {{{gen|7}}} > 6 | {{#ifeq: {{{Ball|Poké Ball}}} | none | | {{bag|{{{Ball|Poké Ball}}}}}&nbsp;}}}}{{colore2|{{#ifeq: {{{ombra|no}}} | yes | FFF | 000}}|{{{pokemon|Missingno.}}}|{{{nickname|{{ucfirst:{{{pokemon|Missingno.}}}}}}}}}}{{#ifexpr: {{{gen|6}}} > 1 | {{#switch: {{{pokemon|Missingno.}}} | Nidoran♀ | Nidoran♂ = | {{#switch: {{lc:{{{gender|none}}}}} | male | ♂ = '''{{male}}''' | female | ♀ = '''{{female}}''' | both = '''{{male}}/{{female}}'''}}}}}} {{#ifeq: {{{ombra|no}}} | yes | {{colore2|FFF|Pokémon Ombra|Ombra}}}}&nbsp;<span class="small-font">L.</span>{{{level|0}}}{{#ifexpr: {{{gen|6}}} > 1 | {{#switch: {{lc:{{{spritegender|male}}}}} | shiny | male shiny | female shiny = [[File:Shiny{{#switch: {{{gen|6}}} | 2 = GS | 3 = RS | 4 = DP | 5 = BW | 6 = XY | 7 = SL}}Star.png]] | {{#ifeq: {{lc:{{{shiny|no}}}}} | yes | [[File:Shiny{{#switch: {{{gen|6}}} | 2 = GS | 3 = RS | 4 = DP | 5 = BW | 6 = XY | 7 = SL}}Star.png]]}}}}}}</div></div>
46 279

contributi