Differenze tra le versioni di "Template:InfoPercorso"

Prova colorizona con il modulo
(Correzione errori *** sovrascritto il testo esistente ***)
(Prova colorizona con il modulo)
{| align="right" class="roundy" style="background: #{{colorezona/med#invoke: colore | zona_{{{tipo|terra}}} | med}}; width: 30%; max-width: 30%; margin-left: 5px; margin-bottom: 5px; border: 3px solid #{{colorezona/dark#invoke: colore | zona_{{{tipo|terra}}} | dark}};"
|- align="center"
| class="roundy" style="border: 2px solid #{{Colorezona/dark#invoke: colore | zona_{{{tipo|terra}}} | dark}}; background: #{{Colorezona/light#invoke: colore | zona_{{{tipo|terra}}} | light}};" |
{| align="center" class="roundy" width="100%" style="background: #{{colorezona/light#invoke: colore | zona_{{{tipo|terra}}} | light}};"
|- align="center"
| rowspan="2" style="color:#{{Colorezona/text#invoke: colore | zona_text | {{{tipo|terra}}}}};" | {{#if: {{{nomepercorso|}}}|'''{{{regione|Kanto}}}'''<br>}}'''<big><big><big>{{{nome|Percorso {{{nomepercorso|0}}}}}}</big></big></big>'''{{#if: {{{sevii|}}}|<br>'''{{{sevii|}}}isola'''}}
| style="color:#{{Colorezona/text#invoke: colore | zona_text | {{{tipo|terra}}}}};" | <small>'''<span lang="ja">{{tt2|{{{jpname|{{#ifexpr:{{{nomepercorso|0}}} > 99|&#xFF1{{#expr: floor({{{nomepercorso|0}}}/100)}};}}{{#ifexpr:{{{nomepercorso|0}}} > 9|&#xFF1{{#expr: floor(({{{nomepercorso|0}}} mod 100 )/10)}};}}&#xFF1{{#expr: floor({{{nomepercorso|0}}} mod 10)}};{{#ifeq: {{{tipo|terra}}}|oceano|ばんすいどう|ばんどうろ}}}}}|{{{jptranslit|{{{nomepercorso|0}}} {{#ifeq: {{{tipo|terra}}}|oceano|ban suidō|ban dōro}}}}}|{{Colorezona/text#invoke: colore | zona_text | {{{tipo|terra}}}}}}}</span>'''</small>
|- align="center"
| style="color:#{{Colorezona/text#invoke: colore | zona_text | {{{tipo|terra}}}}};" | <small>''{{{jptrans|{{#ifeq: {{{tipo|terra}}}|oceano|Sea}} Route {{{nomepercorso|0}}}}}}''</small>
|}
|- style="{{#if:{{{image|}}}||display: none;}} background: #{{Colorezona/med#invoke: colore | zona_{{{tipo|terra}}} | med}};" align="center"
| colspan="2" |
{| align="center" class="roundy" style="background: #FFFFFF;"
|}
|- style="{{#if:{{{mapdesc|}}}||display: none;}}" align="center"
| class="roundy" style="border: 2px solid #{{Colorezona/dark#invoke: colore | zona_{{{tipo|terra}}} | dark}}; background: #{{Colorezona/light#invoke: colore | zona_{{{tipo|terra}}} | light}};" | {{colore|{{Colorezona/text#invoke: colore | zona_text | {{{tipo|terra}}}}}|'''Descrizione mappa'''}}
{| align="center" class="roundy" style="background:#{{Colorezona/light#invoke: colore | zona_{{{tipo|terra}}} | light}}; border-collapse: collapse;"
| class="roundy" style="background:#FFFFFF;" |
{| width="100%" class="roundy" style="background:#FFFFFF;" align="center"
|}
|- style="{{#if:{{{cut|}}}{{{surf|}}}{{{strength|}}}{{{flash|}}}{{{defog|}}}{{{whirlpool|}}}{{{rocksmash|}}}{{{waterfall|}}}{{{dive|}}}{{{rockclimb|}}}{{{bike|}}}{{{mach|}}}{{{acro|}}}||display: none;}}" align="center"
| class="roundy" style="border: 2px solid #{{Colorezona/dark#invoke: colore | zona_{{{tipo|terra}}} | dark}}; background: #{{Colorezona/light#invoke: colore | zona_{{{tipo|terra}}} | light}};" | {{colore|{{Colorezona/text#invoke: colore | zona_text | {{{tipo|terra}}}}}|'''Necessari per l'esplorazione'''}}
{| align="center" class="roundy" style="background:#{{Colorezona/light#invoke: colore | zona_{{{tipo|terra}}} | light}}; border-collapse: collapse;"
|
{{#ifeq: {{{cut}}}|yes|{{InfoPercorso/box|cut|{{{cutnote|}}}}}|}}{{#ifeq: {{{surf}}}|yes|{{InfoPercorso/box|surf|{{{surfnote|}}}}}|}}{{#ifeq: {{{strength}}}|yes|{{InfoPercorso/box|strength|{{{strengthnote|}}}}}|}}{{#ifeq: {{{flash}}}|yes|{{InfoPercorso/box|flash|{{{flashnote|}}}}}|}}{{#ifeq: {{{defog}}}|yes|{{InfoPercorso/box|defog|{{{defognote|}}}}}|}}{{#ifeq: {{{whirlpool}}}|yes|{{InfoPercorso/box|whirlpool|{{{whirlpoolnote|}}}}}|}}{{#ifeq: {{{rocksmash}}}|yes|{{InfoPercorso/box|rocksmash|{{{rocksmashnote|}}}}}|}}{{#ifeq: {{{waterfall}}}|yes|{{InfoPercorso/box|waterfall|{{{waterfallnote|}}}}}|}}{{#ifeq: {{{dive}}}|yes|{{InfoPercorso/box|dive|{{{divenote|}}}}}|}}{{#ifeq: {{{rockclimb}}}|yes|{{InfoPercorso/box|rockclimb|{{{rockclimbnote|}}}}}|}}{{#ifeq: {{{bike}}}|yes|{{InfoPercorso/box|bike|{{{bikenote|}}}}}|}}{{#ifeq: {{{acro}}}|yes|{{InfoPercorso/box|acro|{{{acronote|}}}}}|}}{{#ifeq: {{{mach}}}|yes|{{InfoPercorso/box|mach|{{{machnote|}}}}}|}}
{| width="100%" class="roundy" align="center" style="{{#if:{{{cut|}}}{{{surf|}}}{{{strength|}}}{{{flash|}}}{{{defog|}}}{{{whirlpool|}}}{{{rocksmash|}}}{{{waterfall|}}}{{{dive|}}}{{{rockclimb|}}}{{{bike|}}}{{{mach|}}}{{{acro|}}}|display: none;}} background:#{{Colorezona/light#invoke: colore | zona_{{{tipo|terra}}} | light}}; border-collapse: collapse;"
! width="32px" class="roundyleft" style="background:#FFFFFF;" | {{bag|None}}
| class="roundyright" style="background:#FFFFFF;" | Nessuna
|}
|- align="center"
| class="roundy" style="border: 2px solid #{{{colordark|{{colorezona/dark#invoke: colore | zona_{{{tipo|terra}}} | dark}}}}}; background: #{{{colorlight|{{colorezona/light#invoke: colore | zona_{{{tipo|terra}}} | light}}}}};" | {{colore|000000|'''[[Percorso|{{colore|{{Colorezona/text#invoke: colore | zona_text | {{{tipo|terra}}}}}|Zone adiacenti}}]]'''}}
{| class="roundy" align="center" style="background:#{{{colorlight|{{colorezona/light#invoke: colore | zona_{{{tipo|terra}}} | light}}}}}; border-collapse: collapse;"
{{#if: {{{north|}}}{{{altnorth|}}}|
{{!}}- align="center"
{{!}} width="30%" {{!}} &nbsp;|}}
|-
| width="30%" align="right" style="background:#{{#if: {{{west|}}}{{{altwest|}}}|FFFFFF|{{{colorlight|{{colorezona/light#invoke: colore | zona_{{{tipo|terra}}} | light}}}}}}}; {{roundyleft|100px}}" |
{{#if: {{{west|}}}{{{altwest|}}}|{{{!}} width="100%" style="background:#FFFFFF; {{roundyleft|100px}}"
{{!}}- align="right"
{{!}} [[{{{altwest|{{{west}}}}}} {{#if:{{{regionwest|}}}|({{{regionwest|}}})|}}|{{colore|000|{{{altwest|{{{west}}}}}}{{#if:{{{westnotes|}}}|{{tt|*|{{{westnotes|}}}}}}}}}]] {{#if: {{{west2|}}}|e [[{{{west2}}} {{#if:{{{regionwest2|}}}|({{{regionwest2|}}})|}}|{{colore|000|{{{altwest2|{{{west2}}}}}}{{#if:{{{west2notes|}}}|{{tt|*|{{{west2notes|}}}}}}}}}]]}}
{{!}}}|}}
| align="center" width="40%" style="background:#FFFFFF; border: 1px solid #{{{colorlight|{{colorezona/light#invoke: colore | zona_{{{tipo|terra}}} | light}}}}};" | '''{{#if: {{{north|}}}{{{altnorth|}}}{{{east|}}}{{{alteast|}}}{{{west|}}}{{{altwest|}}}{{{south|}}}{{{altsouth|}}}|{{#if:{{{nomepercorso|}}}|Percorso {{{nomepercorso|0}}}|{{{nome}}}}}|Nessuno}}'''
| width="30%" align="left" style="background:#{{#if: {{{east|}}}{{{alteast|}}}|FFFFFF|{{{colorlight|{{colorezona/light#invoke: colore | zona_{{{tipo|terra}}} | light}}}}}}}; {{roundyright|100px}}" |
{{#if: {{{east|}}}{{{alteast|}}}|{{{!}} width="100%" style="background:#FFFFFF; {{roundyright|100px}}"
{{!}}- align="left"
|}
|- align="center"
| class="roundy" style="border: 2px solid #{{Colorezona/dark#invoke: colore | zona_{{{tipo|terra}}} | dark}}; background: #{{Colorezona/light#invoke: colore | zona_{{{tipo|terra}}} | light}};" | {{colore|{{Colorezona/text#invoke: colore | zona_text | {{{tipo|terra}}}}}|'''[[Regione|{{colore|{{Colorezona/text#invoke: colore | zona_text | {{{tipo|terra}}}}}|Zona}}]]'''}} <br> [[File:{{{regionmap|{{{regione}}} MappaPercorso{{{nomepercorso|0}}}.gif}}}]] <br> {{colore|{{Colorezona/text#invoke: colore | zona_text | {{{tipo|terra}}}}}|<small>Posizione {{#if:{{{nomepercorso|}}}|del Percorso {{{nomepercorso|0}}}|di {{{nome}}}}} nella regione di [[{{{regione}}}|{{colore|{{Colorezona/text#invoke: colore | zona_text | {{{tipo|terra}}}}}|{{{regione}}}}}]].</small>}}
|-
{{#ifexpr: {{{generazione|1}}} < 3|
{{!}} class="roundy" style="border: 2px solid #{{Colorezona/dark#invoke: colore | zona_{{{tipo|terra}}} | dark}}; background: #{{Colorezona/light#invoke: colore | zona_{{{tipo|terra}}} | light}};" {{!}}
{{{!}} align="center" class="collapsible roundy" width="100%" style="background: #{{colorezona/light#invoke: colore | zona_{{{tipo|terra}}} | light}};"
{{!}}- class="expandable"
! {{colore|{{Colorezona/text#invoke: colore | zona_text | {{{tipo|terra}}}}}|Nelle altre generazioni}}
{{!}}- align="center"
{{!}}
{{{!}} align="center" width="100%" class="roundy" style="background: #{{colorezona/light#invoke: colore | zona_{{{tipo|terra}}} | light}};"
{{!}}- align="center"
{{!}} {{#ifexpr: {{{generazione|1}}} = 2||width="33%" class="roundy" style="background: #FFFFFF;" {{!}} {{#if:{{{imageI|}}}|[[File:{{{imageI|}}}|{{#expr: floor ({{{size|300}}} div 3)}}px]]|Nessuna immagine disponibile}}}}
{{!}} {{#ifexpr: {{{generazione|1}}} = 2||width="33%" class="roundy" style="background: #FFFFFF;" {{!}} {{#if:{{{imageIII|}}}|[[File:{{{imageIII|}}}|{{#expr: floor ({{{size|300}}} div 3)}}px]]|Nessuna immagine disponibile}}}}
{{!}}-
! {{#ifexpr: {{{generazione|1}}} = 2||{{colore|{{Colorezona/text#invoke: colore | zona_text | {{{tipo|terra}}}}}|Prima gen}}}}
! {{colore|{{Colorezona/text#invoke: colore | zona_text | {{{tipo|terra}}}}}|Seconda gen}}
! {{#ifexpr: {{{generazione|1}}} = 2||{{colore|{{Colorezona/text#invoke: colore | zona_text | {{{tipo|terra}}}}}|Terza gen}}}}
{{!}}}
{{!}}}
}}
|- style="{{#if:{{{prima|}}}{{{dopo|}}}{{{nomepercorso|}}}||display: none;}}" align="center"
| class="roundy" style="border: 2px solid #{{Colorezona/dark#invoke: colore | zona_{{{tipo|terra}}} | dark}}; background: #{{Colorezona/light#invoke: colore | zona_{{{tipo|terra}}} | light}};" | [[Elenco dei percorsi del mondo Pokémon|{{colore|{{Colorezona/text#invoke: colore | zona_text | {{{tipo|terra}}}}}|'''Percorsi del mondo Pokémon'''}}]]
{| width="100%" class="roundy" align="center" style="background:#{{Colorezona/light#invoke: colore | zona_{{{tipo|terra}}} | light}}; border-collapse: collapse;"
| class="roundy" style="background:#{{Colorezona/light#invoke: colore | zona_{{{tipo|terra}}} | light}};" |
{| width="100%" class="roundy" style="background:#{{Colorezona/light#invoke: colore | zona_{{{tipo|terra}}} | light}}; border-collapse:collapse;" align="center"
| align="right" class="roundyleft" style="background:#FFFFFF;" | [[{{{prima|Percorso {{#expr: {{{nomepercorso|0}}} - 1}} ({{{regionprev|{{{regione|Kanto}}}}}})}}}|{{colore|000|&larr;}}]]
| align="right" width="40%" style="background:#FFFFFF;" | [[{{{prima|Percorso {{#expr: {{{nomepercorso|0}}} - 1}} ({{{regionprev|{{{regione|Kanto}}}}}})}}}|{{colore|000|{{{prima|Percorso {{#expr: {{{nomepercorso|0}}} - 1}}}}}}}]]