Differenze tra le versioni di "Template:Item"

nessun oggetto della modifica
(VIII gen)
<!-- Header (visibile) --><div class="flex flex-row flex-wrap flex-items-center text-center">
<!-- Sprite e nomi --><div class="width-xl-30 width-md-50 width-sm-100">
<div class="big-text {{#ifeq: {{{textwhitetext|no}}} | yes | white-text | black-text }}">{{#switch: {{{dispgen|VII}}} | III|IV|V|VI|VII={{#if: {{{art|}}} | [[File:{{{art}}}.png|24px]] | {{Bag|{{{sprite|{{{name|None}}}}}}|md={{#if:{{{mdex|}}} | yes | no}}}}{{#if: {{{sprite2|}}} | {{Bag|{{{sprite2|{{{name|None}}}}}}|md={{#if:{{{mdex|}}}|yes|no}}}}}}}} }} '''{{#if: {{{main|}}} | [[{{{main}}}|{{{name}}}]] | {{{name}}} }}'''{{#if: {{{namenote|}}} | {{tt|*|{{{namenote}}}}} }}</div>{{#if: {{{eng|}}}
|<div class="text-small {{#ifeq: {{{textwhitetext|no}}} | yes | white-text | black-text }}">''{{{eng}}}''</div>}}{{#if: {{{jp|}}}
|<div class="text-small {{#ifeq: {{{textwhitetext|no}}} | yes | white-text | black-text }}">''{{#if: {{{jpt|}}} | {{ttj|{{{jp}}}|{{{jpt}}}}} | {{{jp}}} }}''</div>}}
</div>
<!-- Tasca --><div class="width-xl-20 width-md-50 width-sm-100 {{#ifeq: {{{textwhitetext|no}}} | yes | white-text | black-text }}">{{#switch: {{{bag|Sconosciuta}}} | Ghicocca={{bag|Ghicobox}} | Cologne|MD=[[File:None.png]] | #default=[[File:Icona tasca {{{bag|Sconosciuta}}} zaino.png]]}} '''{{#switch: {{{bag|Sconosciuto}}} | Ghicocca=Ghicobox | Cologne=Cologne case | MD=Sacca dei tesori | #default=Tasca {{{bag|Sconosciuta}}} }}'''</div>
<!-- Generazione --><div class="width-xl-30 width-md-50 width-sm-100 {{#ifeq: {{{textwhitetext|no}}} | yes | white-text | black-text }}">{{#ifeq: {{{genex|no}}} | yes | Solo | Introdotto}} in '''[[{{#switch: {{{gen|I}}} | I=prima | II=seconda | III=terza | IV=quarta | V=quinta | VI=sesta | VII=settima | VIII=ottava}} generazione]]'''</div>
<!-- Prezzi --><div class="width-xl-20 width-md-50 width-sm-100">
<div class="small-text {{#ifeq: {{{textwhitetext|no}}} | yes | white-text | black-text }}">{{#switch: {{{buyable|no}}} | no='''Non può essere comprato''' | variable='''Costo variabile''' | #default='''Costo:''' {{#if: {{{buynotes|}}} | {{tt|{{{buy|{{#expr: {{{sell|0}}} * 2}}}}}|{{{buynotes}}}}} | {{{buy|{{#expr: {{{sell|0}}} * 2}}}}} }}{{{currencybuy|{{{currency|{{pdollar}}}}}}}} {{#if: {{{buy2|}}} | {{tt|{{{buy2}}}|{{{buynotes2|}}}}}{{{currencybuy2|{{{currencybuy|{{{currency|{{pdollar}}}}}}}}}}} }} {{#if: {{{buy3|}}} | {{tt|{{{buy3}}}|{{{buynotes3|}}}}}{{{currencybuy3|{{{currencybuy|{{{currency|{{pdollar}}}}}}}}}}} }} {{#if: {{{buy4|}}} | {{tt|{{{buy4}}}|{{{buynotes4|}}}}}{{{currencybuy4|{{{currencybuy|{{{currency|{{pdollar}}}}}}}}}}} }} }}</div>
<div class="small-text {{#ifeq: {{{textwhitetext|no}}} | yes | white-text | black-text }}">{{#switch: {{{sell|0}}} | 0='''Non può essere venduto''' | variable='''Venduto a prezzo variabile''' | #default='''Venduto per:''' {{#if: {{{sellnotes|}}} | {{tt|{{{sell|0}}}|{{{sellnotes}}}}} | {{{sell|0}}} }}{{{currencysell|{{{currency|{{pdollar}}}}}}}}}}{{#if: {{{sell2|}}} | {{tt|{{{sell2}}}|{{{sellnotes2|}}}}}{{{currencysell2|{{{currencysell|{{{currency|{{pdollar}}}}}}}}}}} }}{{#if: {{{sell3|}}} | {{tt|{{{sell3}}}|{{{sellnotes3|}}}}}{{{currencysell3|{{{currencysell|{{{currency|{{pdollar}}}}}}}}}}} }}{{#if: {{{sell4|}}} | {{tt|{{{sell4}}}|{{{sellnotes4|}}}}}{{{currencysell4|{{{currencysell|{{{currency|{{pdollar}}}}}}}}}}} }}</div>
</div>
</div>
</div></div></div></div>}}{{#if: {{{notes|}}}
|<!-- Note --><div class="width-xl-100 roundy white-bg text-center small-text" style="margin: 0.1em; padding: 0.2em;">{{{notes}}}</div>}}{{#if: {{{tcg|}}}
|<!-- Link carta GCC --><div class="width-xl-100 text-center {{#ifeq: {{{textwhitetext|no}}} | yes | white-text | black-text }} small-text" style="margin: 0.1em; padding: 0.2em;">Questo strumento è apparso nel [[{{{tcg}}}|GCC]].</div>}}{{#if: {{{main|}}}
|<!-- Link pagina principale --><div class="width-xl-100 text-center {{#ifeq: {{{textwhitetext|no}}} | yes | white-text | black-text }} small-text" style="margin: 0.1em; padding: 0.2em;">Per ulteriori informazioni si veda la [[{{{main}}}|pagina principale]].</div>}}
</div><includeonly>[[Categoria:Strumenti]]</includeonly><noinclude>[[Categoria:Template Infobox]]
 
* <code>jp</code>: nome giapponese.
* <code>jpt</code>: nome giapponese romanizzato.
* <code>textwhitetext</code>: ''yes'' per usare testo bianco anziché nero.
* <code>color</code>: per settare il colore a mano (di norma non serve perché viene preso in automatico dalla tasca).
* <code>collapsed</code>: se uguale a ''no'' il box di default è espanso anziché collassato.
46 258

contributi