Differenze tra le versioni di "Template:Bdg"

2 510 byte rimossi ,  22:38, 6 feb 2019
Code update & restyling
m (Too many curly braces - where's my Python?)
(Code update & restyling)
{{anchor|Medaglia {{{nome|Sasso}}}}}
<noinclude>{{Template:Bdg/h}}</noinclude>
<div class="flex flex-row flex-wrap flex-items-stretch flex-main-stretch roundy" style="{{#invoke: css | horizGrad | type = {{{tipo|roccia}}} }} padding: 0.2em;">
|- id="{{lc: {{{anchor|Medaglia {{{2|Sasso}}}}}}}}"
<!-- Immagine + nomi --><div class="width-xl-33 width-md-100" style="padding: 0.2em;"><div class="flex flex-row flex-wrap flex-items-center flex-main-center roundy white-bg height-100" style="padding: 0.2em;">
| colspan="3" |
<div>[[File:Medaglia{{{nome|Sasso}}}.png|80px]]</div>
{| width="100%" style="background: #{{#invoke:colore|{{{1|???}}}}}; {{roundy|10px}} border: 4px solid #{{#invoke:colore|{{{1|???}}}}};"
<div style="padding: 0 0.5em;">'''Medaglia {{{nome|Sasso}}}'''{{#if: {{{eng|}}} | <div>''{{{eng}}} Badge''</div>}}{{#if: {{{jap|}}} | <div>{{#if: {{{japrom|}}} | {{ttj|{{{jap}}}|{{{japrom}}}}} | {{j|{{{jap}}}}} }}</div>}}</div>
|-
</div></div>
| rowspan="2" valign="top" width="15%" height="150px" |
<!-- Data da --><div class="width-xl-33 width-md-50 width-sm-100" style="padding: 0.2em;"><div class="height-100 roundy white-bg" style="padding: 0.2em;">
{| width="100%" style="background: #{{#invoke:colore|{{{1|???}}}|light}}; height: 166px; {{roundy|10px}} border: 4px solid #{{#invoke:colore|{{{1|???}}}|light}};"
<div class="text-center black-text">'''Palestra {{#if: {{{isola|}}} | dell'[[Isola {{{isola}}}]] | di [[{{{citta}}}]] }}'''</div>
|-
{{#if: {{{da|}}}
| style="text-align:center;" | [[File:{{#if: {{{region|}}}|{{{region|}}}}}Medaglia{{{2|Sasso}}}.png|{{{px|50}}}px]]<br><small>'''Medaglia {{{2|Sconosciuta}}}'''<br>{{{3|???}}}<br>''Medaglia {{{4|Sconosciuta}}}''</small><br>
|Consegnata da {{{da}}}
{| width="100%" style="background: transparent"
|Consegnata da:
|-
* [[Videogiochi Pokémon|Giochi]]: {{{games|&mdash;}}}
| width="30%" style="text-align:center; background: #{{#invoke:colore|{{{1|???}}}|dark}}; {{roundy|5px}}" | <small>{{color2|{{#invoke:colore|{{{1|???}}}|light}}|{{{6|Plumbeopoli}}}}}</small>
* [[Anime]]: {{{anime|&mdash;}}}
|}
* {{pkmn2|Manga}}: {{{manga|&mdash;}}} }}
|}
</div></div>
<!-- Benefici --><div class="width-xl-33 width-md-50 width-sm-100" style="padding: 0.2em;"><div class="height-100 roundy white-bg" style="padding: 0.2em;">
<div class="text-center black-text">'''Benefici'''</div>
* '''[[MN]]''': {{{mn|&mdash;}}}
* '''[[Statistiche]] aumentate''': {{{stat|&mdash;}}}
* '''[[Obbedienza]]''': {{#if: {{{obb|}}} | fino al [[livello]] {{{obb}}} | &mdash; }}
</div></div>{{#if: {{{notes|}}}
|<!-- Note --><div class="width-xl-100" style="padding: 0.2em;"><div class="height-100 roundy white-bg" style="padding: 0.2em;">
'''Note''': {{{notes}}}
</div></div> }}
</div><noinclude>
 
Parametri:
| rowspan="2" style="vertical-align:top;" width="25%" |
* <code>tipo</code>: tipo della Palestra.
{| width="100%" style="background: #{{#invoke:colore|{{{1|???}}}|light}}; {{roundy|10px}} border: 4px solid #{{#invoke:colore|{{{1|???}}}|light}};"
* <code>nome</code>: nome italiano, senza ''Medaglia''.
|-
* <code>eng</code>: nome inglese, senza ''Badge''.
| style="vertical-align:top;" |
* <code>jap</code>: nome giapponese.
{| width="100%" style="background: transparent"
* <code>japrom</code>: romanizzazione del nome giapponese.
|-
* <code>citta</code>: città.
| width="30%" style="padding-right: 5px; padding-left: 5px; background: #{{#invoke:colore|{{{1|???}}}|dark}}; {{roundytop|5px}}" | {{color|{{#invoke:colore|{{{1|???}}}|light}}|Data da}}
* <code>isola</code>: se è la Palestra di un'isola scriverne il nome, senza ''Isola''.
|
* <code>games</code>: chi consegna la Medaglia nei giochi.
|-
* <code>anime</code>: chi consegna la Medaglia nell'anime.
| colspan="2" style="padding-right: 10px; padding-left: 10px; background: #fff; {{roundybottom|10px}} {{roundytr|10px}}" | {{color2|000|{{{5|Brock}}}}}
* <code>manga</code>: chi consegna la Medaglia nel manga.
|}
* <code>da</code>: se è consegnata sempre dalla stessa persona, così mostra una voce unica.
|-
* <code>mn</code>: quale MN viene sbloccata (solo se presente).
| style="vertical-align:top;" width="100%" |
* <code>stat</code>: quale statistica viene aumentata (solo se presente).
{| width="100%" style="background: transparent"
* <code>obb</code>: livello di obbedienza massimo (solo se presente).
|-
* <code>notes</code>: eventuali note sulla Medaglia.
| width="60%" style="padding-right: 5px; padding-left: 5px; background: #{{#invoke:colore|{{{1|???}}}|dark}}; {{roundytop|5px}}" | {{color|{{#invoke:colore|{{{1|???}}}|light}}|Altri nei giochi}}
</noinclude>
|
|-
| colspan="2" style="padding-right: 10px; padding-left: 10px; background: #fff; {{roundybottom|10px}} {{roundytr|10px}}" | {{{og|Nessuno}}}
|}
|-
| style="vertical-align:top;" width="100%" |
{| width="100%" style="background: transparent"
|-
| width="60%" style="padding-right: 5px; padding-left: 5px; background: #{{#invoke:colore|{{{1|???}}}|dark}}; {{roundytop|5px}}" | {{color|{{#invoke:colore|{{{1|???}}}|light}}|Altri nell'anime}}
|
|-
| colspan="2" style="padding-right: 10px; padding-left: 10px; background: #fff; {{roundybottom|10px}} {{roundytr|10px}}" | {{{oa|Nessuno}}}
|}
|}
 
| rowspan="2" style="vertical-align:top;" width="20%" |
{| width="100%" style="background: #{{#invoke:colore|{{{1|???}}}|light}}; {{roundy|10px}} border: 4px solid #{{#invoke:colore|{{{1|???}}}|light}};"
|-
| style="vertical-align:top;" width="100%" |
{| width="100%" style="background: transparent"
|-
| width="30%" style="padding-right: 5px; padding-left: 5px; background: #{{#invoke:colore|{{{1|???}}}|dark}}; {{roundytop|5px}}" | {{color2|{{#invoke:colore|{{{1|???}}}|light}}|MN}}
|
|-
| colspan="2" style="padding-right: 10px; padding-left: 10px; background: #fff; {{roundybottom|10px}} {{roundytr|10px}}" | {{{hm|Nessuna}}}
|}
|-
| style="vertical-align:top;" width="100%" |
{| width="100%" style="background: transparent"
|-
| width="65%" style="padding-right: 5px; padding-left: 5px; background: #{{#invoke:colore|{{{1|???}}}|dark}}; {{roundytop|5px}}" | {{color|{{#invoke:colore|{{{1|???}}}|light}}|Pokémon ubbidienti}}
|
|-
| colspan="2" style="padding-right: 10px; padding-left: 10px; background: #fff; {{roundybottom|10px}} {{roundytr|10px}}" | {{#switch:{{{lvl|None}}}|None=N/A|Fino al {{color2|000|Level|Lv.}} {{{lvl|Nessuno}}}}}
|}
|-
| style="vertical-align:top;" width="100%" |
{| width="100%" style="background: transparent"
|-
| width="65%" style="padding-right: 5px; padding-left: 5px; background: #{{#invoke:colore|{{{1|???}}}|dark}}; {{roundytop|5px}}" | {{color2|{{#invoke:colore|{{{1|???}}}|light}}|Statistiche|Statistiche aumentate}}
|
|-
| colspan="2" style="padding-right: 10px; padding-left: 10px; background: #fff; {{roundybottom|10px}} {{roundytr|10px}}" | {{{stat|Nessuna}}}
|}
|}
 
| style="vertical-align:top;" width="100%" |
{| width="100%" style="height: 80px; background: #{{#invoke:colore|{{{1|???}}}|light}}; {{roundy|10px}} border: 4px solid #{{#invoke:colore|{{{1|???}}}|light}};"
|-
| width="30%" style="padding-right: 5px; padding-left: 5px; background: #{{#invoke:colore|{{{1|???}}}|dark}}; {{roundytop|5px}}" | {{color|{{#invoke:colore|{{{1|???}}}|light}}|Base}}
|
|-
| colspan="2" style="padding-right: 10px; padding-left: 10px; background: #fff; {{roundybottom|10px}} {{roundytr|10px}}" | {{{7|Unknown}}}
|}
 
|-
| style="vertical-align:top;" width="100%" |
{| width="100%" style="height: 81px; background: #{{#invoke:colore|{{{1|???}}}|light}}; {{roundy|10px}} border: 4px solid #{{#invoke:colore|{{{1|???}}}|light}};"
|-
| width="30%" style="padding-right: 5px; padding-left: 5px; background: #{{#invoke:colore|{{{1|???}}}|dark}}; {{roundytop|5px}}" | {{color|{{#invoke:colore|{{{1|???}}}|light}}|Note}}
|
|-
| colspan="2" style="padding-right: 10px; padding-left: 10px; background: #fff; {{roundybottom|10px}} {{roundytr|10px}}" | {{{8|Nessuna}}}
|}
|}<noinclude>
|}[[Categoria:Template tabella]]</noinclude>
46 251

contributi