Differenze tra le versioni di "Template:GenNav"

1 435 byte rimossi ,  20:23, 3 mar 2021
Standardizzazione template navigazione
m
(Standardizzazione template navigazione)
{{TempNav/head
{{-}}
<div class="flex flex-row flex-wrap flex-items-center flex-main-stretch width-xl-40 width-lg-55 width-md-70 width-sm-80 width-xs-100 roundy pull-center text-center" style="{{#invoke: css | horizGrad | type color= {{#switch: {{{1}}} | 1=kanto | 2=johto | 3=hoenn | 4=sinnoh | 5=unima | 6=kalos | 7=alola | 8=galar | #default=pcwiki }} }}">
<div class|title="width-xl-100 big-text black-text">'''[[Generazione|Generazioni]]'''</div>
|xl=40|lg=55|md=70|sm=80|xs=100
<div class="width-xl-10 width-xs-25" style="padding: 0.2em;"><div class="roundy" style="padding: 0.2em; background: #{{#invoke: colore | kanto | light}};">'''{{gendarkcolor|I}}'''</div></div>
|content={{TempNav/entry1
<div class="width-xl-10 width-xs-25" style="padding: 0.2em;"><div class="roundy" style="padding: 0.2em; background: #{{#invoke: colore | johto | light}};">'''{{gendarkcolor|II}}'''</div></div>
|content={{genblackabbrev|I}} • {{genblackabbrev|II}} • {{genblackabbrev|III}} • {{genblackabbrev|IV}} • {{genblackabbrev|V}} • {{genblackabbrev|VI}} • {{genblackabbrev|VII}} • {{genblackabbrev|VIII}}
<div class="width-xl-10 width-xs-25" style="padding: 0.2em;"><div class="roundy" style="padding: 0.2em; background: #{{#invoke: colore | hoenn | light}};">'''{{gendarkcolor|III}}'''</div></div>
</div>}} }}<noinclude>[[Categoria:Template navigazione]]</noinclude>
<div class="width-xl-10 width-xs-25" style="padding: 0.2em;"><div class="roundy" style="padding: 0.2em; background: #{{#invoke: colore | sinnoh | light}};">'''{{gendarkcolor|IV}}'''</div></div>
 
<div class="width-xl-10 width-xs-25" style="padding: 0.2em;"><div class="roundy" style="padding: 0.2em; background: #{{#invoke: colore | unima | light}};">'''{{gendarkcolor|V}}'''</div></div>
Inserire come unico parametro il numero della generazione (numero arabo, non romano).
<div class="width-xl-10 width-xs-25" style="padding: 0.2em;"><div class="roundy" style="padding: 0.2em; background: #{{#invoke: colore | kalos | light}};">'''{{gendarkcolor|VI}}'''</div></div>
</noinclude>
<div class="width-xl-10 width-xs-25" style="padding: 0.2em;"><div class="roundy" style="padding: 0.2em; background: #{{#invoke: colore | alola | light}};">'''{{gendarkcolor|VII}}'''</div></div>
<div class="width-xl-10 width-xs-25" style="padding: 0.2em;"><div class="roundy" style="padding: 0.2em; background: #{{#invoke: colore | galar | light}};">'''{{gendarkcolor|VIII}}'''</div></div>
</div><noinclude>[[Categoria:Template navigazione]]</noinclude>
46 258

contributi