Differenze tra le versioni di "Template:Confrontoforme/entry"

Fino a 6 forme/Pokémon
(Fino a 6 forme/Pokémon)
{{!}}<!-- SpA --> style="padding: 0.1em;" class="width-sm-15" {{!}} <div class="roundy-5" style="padding: 0.2em; background: #{{#invoke: colore | attacco_speciale}};">{{#invoke: PokémonData | getStat | {{{ndex4|{{{ndex|303}}}{{{sigla4|M}}}}}} | spatk }}<div class="small-text">A.Sp.</div></div>
{{!}}<!-- SpD --> style="padding: 0.1em;" class="width-sm-15" {{!}} <div class="roundy-5" style="padding: 0.2em; background: #{{#invoke: colore | difesa_speciale}};">{{#invoke: PokémonData | getStat | {{{ndex4|{{{ndex|303}}}{{{sigla4|M}}}}}} | spdef }}<div class="small-text">D.Sp.</div></div>
{{!}}<!-- Vel --> style="padding: 0.1em;" class="width-sm-15" {{!}} <div class="roundy-5" style="padding: 0.2em; background: #{{#invoke: colore | velocita}};">{{#invoke: PokémonData | getStat | {{{ndex4|{{{ndex|303}}}{{{sigla4|M}}}}}} | spe }}<div class="small-text">Vel.</div></div> }}{{#if: {{{sigla4|}}}{{{ndex5|}}} | <nowiki></nowiki>
{{!}}- class="flex-sm flex-row flex-wrap flex-items-center flex-main-stretch roundy-footer"<!-- Forma 5 -->
{{!}}<!-- Artwork + nome --> style="padding: 0.5em;" class="width-sm-100" {{!}} <div class="flex flex-row flex-nowrap flex-items-center flex-main-center block-sm"><div class="text-left inline-block-sm">{{#invoke: Spr | spr | {{{ndex5|{{{ndex|303}}}{{{sigla5|M}}}}}} | | | 150x150px }}</div><div class="flex-item-fill flex flex-row flex-wrap flex-main-center flex-items-center inline-block-sm" style="padding-left: 0.3em;">{{#invoke: PokémonData | {{#if: {{#invoke: PokémonData | getLink | {{{ndex5|{{{ndex|303}}}{{{sigla5|M}}}}}} | true }} | getFormName | getName }} | {{{ndex5|{{{ndex|303}}}{{{sigla5|M}}}}}} }}{{#if: {{{item5|}}} | <div class="width-xl-100">{{bag|{{{item5|Mawilite}}}|name=yes}}</div> }}</div></div>
{{!}}<!-- Tipo --> style="padding: 0.5em;" class="width-sm-50 width-xs-100 white-text" {{!}} {{#invoke: Box | typeBox | {{#invoke: PokémonData | getType1 | {{{ndex5|{{{ndex|303}}}{{{sigla5|M}}}}}} }} | thin | inline-block-sm | margin: 0.1em; }}{{#ifeq: {{#invoke: PokémonData | getType1 | {{{ndex5|{{{ndex|303}}}{{{sigla5|M}}}}}} }} | {{#invoke: PokémonData | getType2 | {{{ndex5|{{{ndex|303}}}{{{sigla5|M}}}}}} }} | | {{#invoke: Box | typeBox | {{#invoke: PokémonData | getType2 | {{{ndex5|{{{ndex|303}}}{{{sigla5|M}}}}}} }} | thin | inline-block-sm | margin: 0.1em; }}}}
{{!}}<!-- Abilità --> style="padding: 0.5em;" class="width-sm-50 width-xs-100" {{!}} [[{{#invoke: PokémonData | getAbil1 | {{{ndex5|{{{ndex|303}}}{{{sigla5|M}}}}}} }}]]{{#if: {{#invoke: PokémonData | getAbil2 | {{{ndex5|{{{ndex|303}}}{{{sigla5|M}}}}}} }} | &nbsp;/&nbsp;[[{{#invoke: PokémonData | getAbil2 | {{{ndex5|{{{ndex|303}}}{{{sigla5|M}}}}}} }}]] }}{{#if: {{#invoke: PokémonData | getAbild | {{{ndex5|{{{ndex|303}}}{{{sigla5|M}}}}}} }} | <div>[[{{#invoke: PokémonData | getAbild | {{{ndex5|{{{ndex|303}}}{{{sigla5|M}}}}}} }}]] <span class="small-text">([[abilità speciale]])</span></div> }}{{#if: {{#invoke: PokémonData | getAbile | {{{ndex5|{{{ndex|303}}}{{{sigla5|M}}}}}} }} | <div>[[{{#invoke: PokémonData | getAbile | {{{ndex5|{{{ndex|303}}}{{{sigla5|M}}}}}} }}]] <span class="small-text">(abilità evento)</span></div> }}
{{!}}<!-- PS --> style="padding: 0.1em;" class="width-sm-15" {{!}} <div class="roundy-5" style="padding: 0.2em; background: #{{#invoke: colore | PS}};">{{#invoke: PokémonData | getStat | {{{ndex5|{{{ndex|303}}}{{{sigla5|M}}}}}} | hp }}<div class="small-text">PS</div></div>
{{!}}<!-- Att --> style="padding: 0.1em;" class="width-sm-15" {{!}} <div class="roundy-5" style="padding: 0.2em; background: #{{#invoke: colore | attacco}};">{{#invoke: PokémonData | getStat | {{{ndex5|{{{ndex|303}}}{{{sigla5|M}}}}}} | atk }}<div class="small-text">Att.</div></div>
{{!}}<!-- Dif --> style="padding: 0.1em;" class="width-sm-15" {{!}} <div class="roundy-5" style="padding: 0.2em; background: #{{#invoke: colore | difesa}};">{{#invoke: PokémonData | getStat | {{{ndex5|{{{ndex|303}}}{{{sigla5|M}}}}}} | def }}<div class="small-text">Dif.</div></div>
{{!}}<!-- SpA --> style="padding: 0.1em;" class="width-sm-15" {{!}} <div class="roundy-5" style="padding: 0.2em; background: #{{#invoke: colore | attacco_speciale}};">{{#invoke: PokémonData | getStat | {{{ndex5|{{{ndex|303}}}{{{sigla5|M}}}}}} | spatk }}<div class="small-text">A.Sp.</div></div>
{{!}}<!-- SpD --> style="padding: 0.1em;" class="width-sm-15" {{!}} <div class="roundy-5" style="padding: 0.2em; background: #{{#invoke: colore | difesa_speciale}};">{{#invoke: PokémonData | getStat | {{{ndex5|{{{ndex|303}}}{{{sigla5|M}}}}}} | spdef }}<div class="small-text">D.Sp.</div></div>
{{!}}<!-- Vel --> style="padding: 0.1em;" class="width-sm-15" {{!}} <div class="roundy-5" style="padding: 0.2em; background: #{{#invoke: colore | velocita}};">{{#invoke: PokémonData | getStat | {{{ndex5|{{{ndex|303}}}{{{sigla5|M}}}}}} | spe }}<div class="small-text">Vel.</div></div> }}{{#if: {{{sigla6|}}}{{{ndex6|}}} | <nowiki></nowiki>
{{!}}- class="flex-sm flex-row flex-wrap flex-items-center flex-main-stretch roundy-footer"<!-- Forma 6 -->
{{!}}<!-- Artwork + nome --> style="padding: 0.5em;" class="width-sm-100" {{!}} <div class="flex flex-row flex-nowrap flex-items-center flex-main-center block-sm"><div class="text-left inline-block-sm">{{#invoke: Spr | spr | {{{ndex6|{{{ndex|303}}}{{{sigla6|M}}}}}} | | | 150x150px }}</div><div class="flex-item-fill flex flex-row flex-wrap flex-main-center flex-items-center inline-block-sm" style="padding-left: 0.3em;">{{#invoke: PokémonData | {{#if: {{#invoke: PokémonData | getLink | {{{ndex6|{{{ndex|303}}}{{{sigla6|M}}}}}} | true }} | getFormName | getName }} | {{{ndex6|{{{ndex|303}}}{{{sigla6|M}}}}}} }}{{#if: {{{item6|}}} | <div class="width-xl-100">{{bag|{{{item6|Mawilite}}}|name=yes}}</div> }}</div></div>
{{!}}<!-- Tipo --> style="padding: 0.5em;" class="width-sm-50 width-xs-100 white-text" {{!}} {{#invoke: Box | typeBox | {{#invoke: PokémonData | getType1 | {{{ndex6|{{{ndex|303}}}{{{sigla6|M}}}}}} }} | thin | inline-block-sm | margin: 0.1em; }}{{#ifeq: {{#invoke: PokémonData | getType1 | {{{ndex6|{{{ndex|303}}}{{{sigla6|M}}}}}} }} | {{#invoke: PokémonData | getType2 | {{{ndex6|{{{ndex|303}}}{{{sigla6|M}}}}}} }} | | {{#invoke: Box | typeBox | {{#invoke: PokémonData | getType2 | {{{ndex6|{{{ndex|303}}}{{{sigla6|M}}}}}} }} | thin | inline-block-sm | margin: 0.1em; }}}}
{{!}}<!-- Abilità --> style="padding: 0.5em;" class="width-sm-50 width-xs-100" {{!}} [[{{#invoke: PokémonData | getAbil1 | {{{ndex6|{{{ndex|303}}}{{{sigla6|M}}}}}} }}]]{{#if: {{#invoke: PokémonData | getAbil2 | {{{ndex6|{{{ndex|303}}}{{{sigla6|M}}}}}} }} | &nbsp;/&nbsp;[[{{#invoke: PokémonData | getAbil2 | {{{ndex6|{{{ndex|303}}}{{{sigla6|M}}}}}} }}]] }}{{#if: {{#invoke: PokémonData | getAbild | {{{ndex6|{{{ndex|303}}}{{{sigla6|M}}}}}} }} | <div>[[{{#invoke: PokémonData | getAbild | {{{ndex6|{{{ndex|303}}}{{{sigla6|M}}}}}} }}]] <span class="small-text">([[abilità speciale]])</span></div> }}{{#if: {{#invoke: PokémonData | getAbile | {{{ndex6|{{{ndex|303}}}{{{sigla6|M}}}}}} }} | <div>[[{{#invoke: PokémonData | getAbile | {{{ndex6|{{{ndex|303}}}{{{sigla6|M}}}}}} }}]] <span class="small-text">(abilità evento)</span></div> }}
{{!}}<!-- PS --> style="padding: 0.1em;" class="width-sm-15" {{!}} <div class="roundy-5" style="padding: 0.2em; background: #{{#invoke: colore | PS}};">{{#invoke: PokémonData | getStat | {{{ndex6|{{{ndex|303}}}{{{sigla6|M}}}}}} | hp }}<div class="small-text">PS</div></div>
{{!}}<!-- Att --> style="padding: 0.1em;" class="width-sm-15" {{!}} <div class="roundy-5" style="padding: 0.2em; background: #{{#invoke: colore | attacco}};">{{#invoke: PokémonData | getStat | {{{ndex6|{{{ndex|303}}}{{{sigla6|M}}}}}} | atk }}<div class="small-text">Att.</div></div>
{{!}}<!-- Dif --> style="padding: 0.1em;" class="width-sm-15" {{!}} <div class="roundy-5" style="padding: 0.2em; background: #{{#invoke: colore | difesa}};">{{#invoke: PokémonData | getStat | {{{ndex6|{{{ndex|303}}}{{{sigla6|M}}}}}} | def }}<div class="small-text">Dif.</div></div>
{{!}}<!-- SpA --> style="padding: 0.1em;" class="width-sm-15" {{!}} <div class="roundy-5" style="padding: 0.2em; background: #{{#invoke: colore | attacco_speciale}};">{{#invoke: PokémonData | getStat | {{{ndex6|{{{ndex|303}}}{{{sigla6|M}}}}}} | spatk }}<div class="small-text">A.Sp.</div></div>
{{!}}<!-- SpD --> style="padding: 0.1em;" class="width-sm-15" {{!}} <div class="roundy-5" style="padding: 0.2em; background: #{{#invoke: colore | difesa_speciale}};">{{#invoke: PokémonData | getStat | {{{ndex6|{{{ndex|303}}}{{{sigla6|M}}}}}} | spdef }}<div class="small-text">D.Sp.</div></div>
{{!}}<!-- Vel --> style="padding: 0.1em;" class="width-sm-15" {{!}} <div class="roundy-5" style="padding: 0.2em; background: #{{#invoke: colore | velocita}};">{{#invoke: PokémonData | getStat | {{{ndex6|{{{ndex|303}}}{{{sigla6|M}}}}}} | spe }}<div class="small-text">Vel.</div></div> }}
|- class="hidden-sm"
| colspan="100%" class="roundy-footer" style="font-size: 30%;" | &nbsp;<noinclude>
* <code>sigla2</code>: lettera/sigla che identifica la seconda forma (''M'' per le megaevoluzioni, ''A'' per archeorisveglio e forme di Alola).
* <code>item2</code>: strumento (solo se necessario, altrimenti lasciarlo vuoto).
* <code>sigla3</code>, <code>item3</code>, <code>sigla4</code>, <code>item4</code>, <code>sigla5</code>, <code>item5</code>, <code>sigla6</code>, <code>item6</code>: per eventuali forme aggiuntive, funzionano come i precedenti.
* <code>ndex2</code>, <code>ndex3</code>, <code>ndex4</code>, <code>ndex5</code>, <code>ndex6</code>: se le altre entry non sono forme alternative ma Pokémon diversi.
* <code>title</code>: per mettere altro testo come "titolo" invece del nome della forma base (per esempio quando non si confrontano forme ma Pokémon diversi), oppure ''no'' per non mostrare nessun titolo.
* <code>s</code>: ''no'' nella prima riga, così toglie il divisorio.
46 299

contributi