Template:Navbox: differenze tra le versioni

Da wikiort.

(aggiungo possibilità di selezionare stili ad un singola cella (group))
(aggiungo possibilità di selezionare stili ad un singola cella (list))
Riga 36: Riga 36:
 
------------------------------------------------------>{{{group1}}}<!-------------------------------------------------------
 
------------------------------------------------------>{{{group1}}}<!-------------------------------------------------------
 
-------></th><!--
 
-------></th><!--
----->}}<td style="width:100%; font-size:90%; text-align:center; {{{liststyle|}}}{{{oddstyle|}}}" colspan="<!--
+
----->}}<td style="width:100%; font-size:90%; text-align:center; {{{liststyle|}}}; {{{oddstyle|}}}; {{{list1style|}}}" colspan="<!--
 
-->{{#if:{{{group1|}}}<!--
 
-->{{#if:{{{group1|}}}<!--
 
-->| 1<!--
 
-->| 1<!--
Riga 70: Riga 70:
 
----------------------------------------------------- Liste successive -----------------------------------------------------
 
----------------------------------------------------- Liste successive -----------------------------------------------------
 
-->{{#if:{{{list2|}}}|<tr>{{#if:{{{group2|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group2style|}}}">{{{group2}}}</th>}}
 
-->{{#if:{{{list2|}}}|<tr>{{#if:{{{group2|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group2style|}}}">{{{group2}}}</th>}}
<td style="width:100%; font-size:90%; text-align:center;background:#f7f7f7; {{{liststyle|}}}{{{evenstyle|}}}" colspan="{{#if:{{{group2|}}}|1|2}}">{{{list2}}}</td></tr>}}<!--
+
<td style="width:100%; font-size:90%; text-align:center;background:#f7f7f7; {{{liststyle|}}}; {{{evenstyle|}}}; {{{list2style|}}}" colspan="{{#if:{{{group2|}}}|1|2}}">{{{list2}}}</td></tr>}}<!--
  
 
-->{{#if:{{{list3|}}}|<tr>{{#if:{{{group3|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group3style|}}}">{{{group3}}}</th>}}
 
-->{{#if:{{{list3|}}}|<tr>{{#if:{{{group3|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group3style|}}}">{{{group3}}}</th>}}
<td style="width:100%; font-size:90%; text-align:center; {{{liststyle|}}}{{{oddstyle|}}}" colspan="{{#if:{{{group3|}}}|1|2}}">{{{list3}}}</td></tr>}}<!--
+
<td style="width:100%; font-size:90%; text-align:center; {{{liststyle|}}}; {{{oddstyle|}}}; {{{list3style|}}}" colspan="{{#if:{{{group3|}}}|1|2}}">{{{list3}}}</td></tr>}}<!--
  
 
-->{{#if:{{{list4|}}}|<tr>{{#if:{{{group4|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group4style|}}}">{{{group4}}}</th>}}
 
-->{{#if:{{{list4|}}}|<tr>{{#if:{{{group4|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group4style|}}}">{{{group4}}}</th>}}
<td style="width:100%; font-size:90%; text-align:center;background:#f7f7f7; {{{liststyle|}}}{{{evenstyle|}}}" colspan="{{#if:{{{group4|}}}|1|2}}">{{{list4}}}</td></tr>}}<!--
+
<td style="width:100%; font-size:90%; text-align:center;background:#f7f7f7; {{{liststyle|}}}; {{{evenstyle|}}}; {{{list4style|}}}" colspan="{{#if:{{{group4|}}}|1|2}}">{{{list4}}}</td></tr>}}<!--
  
 
-->{{#if:{{{list5|}}}|<tr>{{#if:{{{group5|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group5style|}}}">{{{group5}}}</th>}}
 
-->{{#if:{{{list5|}}}|<tr>{{#if:{{{group5|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group5style|}}}">{{{group5}}}</th>}}
<td style="width:100%; font-size:90%; text-align:center; {{{liststyle|}}}{{{oddstyle|}}}" colspan="{{#if:{{{group5|}}}|1|2}}">{{{list5}}}</td></tr>}}<!--
+
<td style="width:100%; font-size:90%; text-align:center; {{{liststyle|}}}; {{{oddstyle|}}}; {{{list5style|}}}" colspan="{{#if:{{{group5|}}}|1|2}}">{{{list5}}}</td></tr>}}<!--
  
 
-->{{#if:{{{list6|}}}|<tr>{{#if:{{{group6|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group6style|}}}">{{{group6}}}</th>}}
 
-->{{#if:{{{list6|}}}|<tr>{{#if:{{{group6|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group6style|}}}">{{{group6}}}</th>}}
<td style="width:100%; font-size:90%; text-align:center;background:#f7f7f7; {{{liststyle|}}}{{{evenstyle|}}}" colspan="{{#if:{{{group6|}}}|1|2}}">{{{list6}}}</td></tr>}}<!--
+
<td style="width:100%; font-size:90%; text-align:center;background:#f7f7f7; {{{liststyle|}}}; {{{evenstyle|}}}; {{{list6style|}}}" colspan="{{#if:{{{group6|}}}|1|2}}">{{{list6}}}</td></tr>}}<!--
  
 
-->{{#if:{{{list7|}}}|<tr>{{#if:{{{group7|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group7style|}}}">{{{group7}}}</th>}}
 
-->{{#if:{{{list7|}}}|<tr>{{#if:{{{group7|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group7style|}}}">{{{group7}}}</th>}}
<td style="width:100%; font-size:90%; text-align:center; {{{liststyle|}}}{{{oddstyle|}}}" colspan="{{#if:{{{group7|}}}|1|2}}">{{{list7}}}</td></tr>}}<!--
+
<td style="width:100%; font-size:90%; text-align:center; {{{liststyle|}}}; {{{oddstyle|}}}; {{{list7style|}}}" colspan="{{#if:{{{group7|}}}|1|2}}">{{{list7}}}</td></tr>}}<!--
  
 
-->{{#if:{{{list8|}}}|<tr>{{#if:{{{group8|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group8style|}}}">{{{group8}}}</th>}}
 
-->{{#if:{{{list8|}}}|<tr>{{#if:{{{group8|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group8style|}}}">{{{group8}}}</th>}}
<td style="width:100%; font-size:90%; text-align:center;background:#f7f7f7; {{{liststyle|}}}{{{evenstyle|}}}" colspan="{{#if:{{{group8|}}}|1|2}}">{{{list8}}}</td></tr>}}<!--
+
<td style="width:100%; font-size:90%; text-align:center;background:#f7f7f7; {{{liststyle|}}}; {{{evenstyle|}}}; {{{list8style|}}}" colspan="{{#if:{{{group8|}}}|1|2}}">{{{list8}}}</td></tr>}}<!--
  
 
-->{{#if:{{{list9|}}}|<tr>{{#if:{{{group9|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group9style|}}}">{{{group9}}}</th>}}
 
-->{{#if:{{{list9|}}}|<tr>{{#if:{{{group9|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group9style|}}}">{{{group9}}}</th>}}
<td style="width:100%; font-size:90%; text-align:center; {{{liststyle|}}}{{{oddstyle|}}}" colspan="{{#if:{{{group9|}}}|1|2}}">{{{list9}}}</td></tr>}}<!--
+
<td style="width:100%; font-size:90%; text-align:center; {{{liststyle|}}}; {{{oddstyle|}}}; {{{list9style|}}}" colspan="{{#if:{{{group9|}}}|1|2}}">{{{list9}}}</td></tr>}}<!--
  
 
-->{{#if:{{{list10|}}}|<tr>{{#if:{{{group10|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group10style|}}}">{{{group10}}}</th>}}
 
-->{{#if:{{{list10|}}}|<tr>{{#if:{{{group10|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group10style|}}}">{{{group10}}}</th>}}
<td style="width:100%; font-size:90%; text-align:center;background:#f7f7f7; {{{liststyle|}}}{{{evenstyle|}}}" colspan="{{#if:{{{group10|}}}|1|2}}">{{{list10}}}</td></tr>}}<!--
+
<td style="width:100%; font-size:90%; text-align:center;background:#f7f7f7; {{{liststyle|}}}; {{{evenstyle|}}}; {{{list10style|}}}" colspan="{{#if:{{{group10|}}}|1|2}}">{{{list10}}}</td></tr>}}<!--
  
 
-->{{#if:{{{list11|}}}|<tr>{{#if:{{{group11|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group11style|}}}">{{{group11}}}</th>}}
 
-->{{#if:{{{list11|}}}|<tr>{{#if:{{{group11|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group11style|}}}">{{{group11}}}</th>}}
<td style="width:100%; font-size:90%; text-align:center; {{{liststyle|}}}{{{oddstyle|}}}" colspan="{{#if:{{{group11|}}}|1|2}}">{{{list11}}}</td></tr>}}<!--
+
<td style="width:100%; font-size:90%; text-align:center; {{{liststyle|}}};{{{oddstyle|}}}; {{{list11style|}}}" colspan="{{#if:{{{group11|}}}|1|2}}">{{{list11}}}</td></tr>}}<!--
  
 
-->{{#if:{{{list12|}}}|<tr>{{#if:{{{group12|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group12style|}}}">{{{group12}}}</th>}}
 
-->{{#if:{{{list12|}}}|<tr>{{#if:{{{group12|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group12style|}}}">{{{group12}}}</th>}}
<td style="width:100%; font-size:90%; text-align:center;background:#f7f7f7; {{{liststyle|}}}{{{evenstyle|}}}" colspan="{{#if:{{{group12|}}}|1|2}}">{{{list12}}}</td></tr>}}<!--
+
<td style="width:100%; font-size:90%; text-align:center;background:#f7f7f7; {{{liststyle|}}}; {{{evenstyle|}}}; {{{list12style|}}}" colspan="{{#if:{{{group12|}}}|1|2}}">{{{list12}}}</td></tr>}}<!--
  
 
-->{{#if:{{{list13|}}}|<tr>{{#if:{{{group13|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group13style|}}}">{{{group13}}}</th>}}
 
-->{{#if:{{{list13|}}}|<tr>{{#if:{{{group13|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group13style|}}}">{{{group13}}}</th>}}
<td style="width:100%; font-size:90%; text-align:center; {{{liststyle|}}}{{{oddstyle|}}}" colspan="{{#if:{{{group13|}}}|1|2}}">{{{list13}}}</td></tr>}}<!--
+
<td style="width:100%; font-size:90%; text-align:center; {{{liststyle|}}}; {{{oddstyle|}}}; {{{list13style|}}}" colspan="{{#if:{{{group13|}}}|1|2}}">{{{list13}}}</td></tr>}}<!--
  
 
-->{{#if:{{{list14|}}}|<tr>{{#if:{{{group14|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group14style|}}}">{{{group14}}}</th>}}
 
-->{{#if:{{{list14|}}}|<tr>{{#if:{{{group14|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group14style|}}}">{{{group14}}}</th>}}
<td style="width:100%; font-size:90%; text-align:center;background:#f7f7f7; {{{liststyle|}}}{{{evenstyle|}}}" colspan="{{#if:{{{group14|}}}|1|2}}">{{{list14}}}</td></tr>}}<!--
+
<td style="width:100%; font-size:90%; text-align:center;background:#f7f7f7; {{{liststyle|}}}; {{{evenstyle|}}}; {{{list14style|}}}" colspan="{{#if:{{{group14|}}}|1|2}}">{{{list14}}}</td></tr>}}<!--
  
 
-->{{#if:{{{list15|}}}|<tr>{{#if:{{{group15|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group15style|}}}">{{{group15}}}</th>}}
 
-->{{#if:{{{list15|}}}|<tr>{{#if:{{{group15|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group15style|}}}">{{{group15}}}</th>}}
<td style="width:100%; font-size:90%; text-align:center; {{{liststyle|}}}{{{oddstyle|}}}" colspan="{{#if:{{{group15|}}}|1|2}}">{{{list15}}}</td></tr>}}<!--
+
<td style="width:100%; font-size:90%; text-align:center; {{{liststyle|}}}; {{{oddstyle|}}}; {{{list15style|}}}" colspan="{{#if:{{{group15|}}}|1|2}}">{{{list15}}}</td></tr>}}<!--
  
 
-->{{#if:{{{list16|}}}|<tr>{{#if:{{{group16|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group16style|}}}">{{{group16}}}</th>}}
 
-->{{#if:{{{list16|}}}|<tr>{{#if:{{{group16|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group16style|}}}">{{{group16}}}</th>}}
<td style="width:100%; font-size:90%; text-align:center;background:#f7f7f7; {{{liststyle|}}}{{{evenstyle|}}}" colspan="{{#if:{{{group16|}}}|1|2}}">{{{list16}}}</td></tr>}}<!--
+
<td style="width:100%; font-size:90%; text-align:center;background:#f7f7f7; {{{liststyle|}}};{{{evenstyle|}}}; {{{list16style|}}}" colspan="{{#if:{{{group16|}}}|1|2}}">{{{list16}}}</td></tr>}}<!--
  
 
-->{{#if:{{{list17|}}}|<tr>{{#if:{{{group17|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group17style|}}}">{{{group17}}}</th>}}
 
-->{{#if:{{{list17|}}}|<tr>{{#if:{{{group17|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group17style|}}}">{{{group17}}}</th>}}
<td style="width:100%; font-size:90%; text-align:center; {{{liststyle|}}}{{{oddstyle|}}}" colspan="{{#if:{{{group17|}}}|1|2}}">{{{list17}}}</td></tr>}}<!--
+
<td style="width:100%; font-size:90%; text-align:center; {{{liststyle|}}}; {{{oddstyle|}}}; {{{list17style|}}}" colspan="{{#if:{{{group17|}}}|1|2}}">{{{list17}}}</td></tr>}}<!--
  
 
-->{{#if:{{{list18|}}}|<tr>{{#if:{{{group18|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group18style|}}}">{{{group18}}}</th>}}
 
-->{{#if:{{{list18|}}}|<tr>{{#if:{{{group18|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group18style|}}}">{{{group18}}}</th>}}
<td style="width:100%; font-size:90%; text-align:center;background:#f7f7f7; {{{liststyle|}}}{{{oddstyle|}}}" colspan="{{#if:{{{group18|}}}|1|2}}">{{{list18}}}</td></tr>}}<!--
+
<td style="width:100%; font-size:90%; text-align:center;background:#f7f7f7; {{{liststyle|}}}; {{{oddstyle|}}}; {{{list18style|}}}" colspan="{{#if:{{{group18|}}}|1|2}}">{{{list18}}}</td></tr>}}<!--
  
 
-->{{#if:{{{list19|}}}|<tr>{{#if:{{{group19|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group19style|}}}">{{{group19}}}</th>}}
 
-->{{#if:{{{list19|}}}|<tr>{{#if:{{{group19|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group19style|}}}">{{{group19}}}</th>}}
<td style="width:100%; font-size:90%; text-align:center; {{{liststyle|}}}{{{oddstyle|}}}" colspan="{{#if:{{{group19|}}}|1|2}}">{{{list19}}}</td></tr>}}<!--
+
<td style="width:100%; font-size:90%; text-align:center; {{{liststyle|}}}; {{{oddstyle|}}}; {{{list19style|}}}" colspan="{{#if:{{{group19|}}}|1|2}}">{{{list19}}}</td></tr>}}<!--
  
 
-->{{#if:{{{list20|}}}|<tr>{{#if:{{{group20|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group20style|}}}">{{{group20}}}</th>}}
 
-->{{#if:{{{list20|}}}|<tr>{{#if:{{{group20|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}; {{{group20style|}}}">{{{group20}}}</th>}}
<td style="width:100%; font-size:90%; text-align:center;background:#f7f7f7; {{{liststyle|}}}{{{oddstyle|}}}" colspan="{{#if:{{{group20|}}}|1|2}}">{{{list20}}}</td></tr>}}<!--
+
<td style="width:100%; font-size:90%; text-align:center;background:#f7f7f7; {{{liststyle|}}}; {{{oddstyle|}}}; {{{list20style|}}}" colspan="{{#if:{{{group20|}}}|1|2}}">{{{list20}}}</td></tr>}}<!--
 
-------------------------------------------------------- Fine liste --------------------------------------------------------
 
-------------------------------------------------------- Fine liste --------------------------------------------------------
 
----------------------------------------------------- Below (opzionale) ----------------------------------------------------
 
----------------------------------------------------- Below (opzionale) ----------------------------------------------------

Versione delle 14:24, 12 giu 2009

Template:Esoteric

Info Istruzioni per l'uso
Le istruzioni che seguono sono contenute nella sottopagina Template:Navbox/man (modifica·cronologia)

Template:/mancy:Nodyn:Blwch llywio generig da:Skabelon:Navbox generic en:Template:Navbox generic fr:Modèle:Méta palette de navigation gl:Template:Navbox generic id:Templat:Navbox generic lv:Veidne:Navbox generic ms:Templat:Navbox generic ja:Template:Navbox generic no:Mal:Navbox generic pt:Predefinição:Navbox generic ro:Format:Navbox generic uk:Шаблон:Навігаційна таблиця simple:Template:Navbox generic sl:Predloga:Generično navpolje fi:Malline:Navbox generic su:Citakan:Navbox generic sv:Mall:Navbox generic vi:Tiêu bản:Navbox generic zh:Template:Navbox generic ru:Шаблон:Навигационная таблица