Differenze tra le versioni di "Template:InfoCittà"

Colore automatico del testo
m (typo)
(Colore automatico del testo)
|color={{{type|pcwiki}}}
|color2={{{type2|{{{type|pcwiki}}}}}}
|whitetext={{#ifeq: {{#invoke: chooseColor | forModGradBg | {{{type|pcwiki}}} | {{{type2|{{{type|pcwiki}}}}}} }} | white-text | yes | no }}
|whitetext={{{whitetext|no}}}
|name={{{town|}}}
|engname={{{english|}}}
{{Infobox/div
|text=Descrizione mappa
|whitetext={{#ifeq: {{#invoke: chooseColor | forModGradBg | {{{type|pcwiki}}} | {{{type2|{{{type|pcwiki}}}}}} }} | white-text | yes | no }} }}
|whitetext={{{whitetext|no}}} }}
{{Infobox/entry1
|content={{{mapdesc|}}} }} | }}{{#if: {{{population|}}} |
<!--POPOLAZIONE-->
|text=Popolazione
|whitetext={{#ifeq: {{#invoke: chooseColor | forModGradBg | {{{type|pcwiki}}} | {{{type2|{{{type|pcwiki}}}}}} }} | white-text | yes | no }} }}
|whitetext={{{whitetext|no}}} }}
{{Infobox/entry1
|content={{{population|28{{#invoke: sup | RBG}}, 18{{#invoke: sup | OAC}}, 33{{#invoke: sup | RFVF}}, 30{{#invoke: sup | HGSS}}}}} }} | }}{{#if: {{{leader|}}} |
{{Infobox/div
|text=[[Palestra di {{{town|Biancavilla}}}]] <span class="text-small">(#{{{gymno|1}}} di [[{{{region|Kanto}}}]])</span>
|whitetext={{#ifeq: {{#invoke: chooseColor | forModGradBg | {{{type|pcwiki}}} | {{{type2|{{{type|pcwiki}}}}}} }} | white-text | yes | no }} }}
|whitetext={{{whitetext|no}}} }}
<!--PALESTRE (UNA)-->
{{Infobox/entry1
{{Infobox/div
|text=[[Palestra di {{{town|Biancavilla}}}]] <span class="text-small">(#{{{gymno2|1}}} di [[{{{region|Kanto}}}]])</span>
|whitetext={{#ifeq: {whitetext{#invoke: chooseColor |no forModGradBg | {{{type|pcwiki}}} | {{{type2|{{{type|pcwiki}}}}}} }} | white-text | yes | no }} }} }} {{#if: {{{leader2|}}} |
<!--PALESTRE (DUE)-->
{{Infobox/entry1
{{Infobox/div
|text={{{league|}}}{{#if: {{{leaguetitle|}}} | {{{leaguetitle}}} }}
|whitetext={{#ifeq: {{#invoke: chooseColor | forModGradBg | {{{type|pcwiki}}} | {{{type2|{{{type|pcwiki}}}}}} }} | white-text | yes | no }} }}
|whitetext={{{whitetext|no}}} }}
<!--LEGHE (UNA)-->
{{Infobox/entry1
{{Infobox/div
|text={{{league|}}}{{#if: {{{leaguetitle2|}}} | {{{leaguetitle2}}} }}
|whitetext={{#ifeq: {{#invoke: chooseColor | forModGradBg | {{{type|pcwiki}}} | {{{type2|{{{type|pcwiki}}}}}} }} | white-text | yes | no }} }}
|whitetext={{{whitetext|no}}} }}
<!--LEGHE (DUE)-->
{{Infobox/entry1
{{Infobox/div
|text={{{league|}}}{{#if: {{{leaguetitle3|}}} | {{{leaguetitle3}}} }}
|whitetext={{#ifeq: {{#invoke: chooseColor | forModGradBg | {{{type|pcwiki}}} | {{{type2|{{{type|pcwiki}}}}}} }} | white-text | yes | no }} }}
|whitetext={{{whitetext|no}}} }}
<!--LEGHE (TRE)-->
{{Infobox/entry1
{{Infobox/div
|text=Esplorazione
|whitetext={{#ifeq: {{#invoke: chooseColor | forModGradBg | {{{type|pcwiki}}} | {{{type2|{{{type|pcwiki}}}}}} }} | white-text | yes | no }} }}
|whitetext={{{whitetext|no}}} }}
{{Infobox/entry2
|whitetext={{#ifeq: {{#invoke: chooseColor | forModGradBg | {{{type|pcwiki}}} | {{{type2|{{{type|pcwiki}}}}}} }} | white-text | yes | no }}
|whitetext={{{whitetext|no}}}
|label=Necessita di
|content={{#ifeq: {{{cut|}}} | yes |
{{Infobox/div
|text=Zone collegate
|whitetext={{#ifeq: {whitetext{#invoke: chooseColor |no forModGradBg | {{{type|pcwiki}}} | {{{type2|{{{type|pcwiki}}}}}} }} | white-text | yes | no }} }}{{#if: {{{north|}}}{{{altnorth|}}} |
<!--ZONA NORD-->
{{Infobox/entry2
|label=A nord (↑)
|whitetext={{#ifeq: {{#invoke: chooseColor | forModGradBg | {{{type|pcwiki}}} | {{{type2|{{{type|pcwiki}}}}}} }} | white-text | yes | no }}
|whitetext={{{whitetext|no}}}
|content=
{{colore2|000|{{{altnorth|Percorso {{{north}}} ({{{regionnorth|{{{region}}}}}})}}}|{{{altnorth|Percorso {{{north}}} }}} }} {{#if: {{{northnotes|}}}|{{tt|*|{{{northnotes}}} }} }}
{{Infobox/entry2
|label=Ad ovest (←)
|whitetext={{#ifeq: {{#invoke: chooseColor | forModGradBg | {{{type|pcwiki}}} | {{{type2|{{{type|pcwiki}}}}}} }} | white-text | yes | no }}
|whitetext={{{whitetext|no}}}
|content=
{{colore2|000|{{{altwest|Percorso {{{west}}} ({{{regionwest|{{{region}}}}}})}}}|{{{altwest|Percorso {{{west}}} }}} }} {{#if: {{{westnotes|}}}|{{tt|*|{{{westnotes}}} }} }}
{{Infobox/entry2
|label=Ad est (→)
|whitetext={{#ifeq: {{#invoke: chooseColor | forModGradBg | {{{type|pcwiki}}} | {{{type2|{{{type|pcwiki}}}}}} }} | white-text | yes | no }}
|whitetext={{{whitetext|no}}}
|content=
{{colore2|000|{{{alteast|Percorso {{{east}}} ({{{regioneast|{{{region}}}}}})}}}|{{{alteast|Percorso {{{east}}} }}} }} {{#if: {{{eastnotes|}}}|{{tt|*|{{{eastnotes}}} }} }} {{#if: {{{alteast2|}}}{{{east2|}}}|e {{colore2|000|{{{alteast2|Percorso {{{east2}}} ({{{regioneast2|{{{regioneast|{{{region}}}}}}}}})}}}|{{{alteast2|Percorso {{{east2}}} }}} }} {{#if: {{{east2notes|}}}|{{tt|*|{{{east2notes}}} }} }}
{{Infobox/entry2
|label=A sud (↓)
|whitetext={{#ifeq: {{#invoke: chooseColor | forModGradBg | {{{type|pcwiki}}} | {{{type2|{{{type|pcwiki}}}}}} }} | white-text | yes | no }}
|whitetext={{{whitetext|no}}}
|content=
{{colore2|000|{{{altsouth|Percorso {{{south}}} ({{{regionsouth|{{{region}}}}}})}}}|{{{altsouth|Percorso {{{south}}} }}} }} {{#if: {{{southnotes|}}}|{{tt|*|{{{southnotes}}} }} }} {{#if: {{{altsouth2|}}}{{{south2|}}}|e {{colore2|000|{{{altsouth2|Percorso {{{south2}}} ({{{regionsouth2|{{{regionsouth|{{{region}}}}}}}}})}}}|{{{altsouth2|Percorso {{{south2}}}}}} }} {{#if: {{{south2notes|}}}|{{tt|*|{{{south2notes}}} }} }}
{{Infobox/div
|text=Posizione
|whitetext={{#ifeq: {{#invoke: chooseColor | forModGradBg | {{{type|pcwiki}}} | {{{type2|{{{type|pcwiki}}}}}} }} | white-text | yes | no }} }}
|whitetext={{{whitetext|no}}} }}
{{Infobox/image
|img={{{map|{{{region}}} {{{town|Glitch City}}} Map.gif}}}
Parametri:
* {{code|type}} e {{code|type2}}: colore dell'infobox in gradiente, {{code|2}} in caso di un secondo colore differente dal primo.
* {{code|whitetext}}: se impostato su "yes" dà colore bianco del testo.
* {{code|town}}: nome italiano della città.
* {{code|english}}: nome inglese della città.
46 256

contributi