Template:Navbox: differenze tra le versioni

Da wikiort.

(rollback a Trixt: aspettare il consenso, vedi discussione)
m (Sposto categorie e iw da manuale in questa pagina; highlighting sorgente sennò non si capisce niente)
Riga 1: Riga 1:
<includeonly><table class="navbox collapsible {{{state|autocollapse}}} nowraplinks" style="margin:auto; width:100%; clear:both; border: 1px solid #aaa; padding: 2px; {{{style|}}}{{{bodystyle|}}}">
+
<includeonly><table class="navbox collapsible {{{state|autocollapse}}} nowraplinks" style="margin:auto; width:100%; clear:both; border: 1px solid #aaa; padding: 2px; {{{style|}}}{{{bodystyle|}}}"><!--
<tr><!--
+
----------------------------------------------------------------------------------------------------------------------------
---Titlebar---
+
--><tr><!--
 +
----------------------------------------------------- Barra del titolo -----------------------------------------------------
 +
--><th colspan="{{#if:{{{image|}}}<!--
 +
--------------->| 3<!--
 +
--------------->| 2<!--
 +
--------------->}}" style="text-align:center; width:100%; background:#ccf; font-size:90%; {{{titlestyle|}}}"><!--
 +
---------------------------------------------------------- V.D.M. ----------------------------------------------------------
 +
--><div class="noprint plainlinks" style="float:left; font-size:xx-small; width:6em; text-align:left; padding:0 10px;">{{#switch:{{{navbar|}}}
 +
| plain=
 +
| #default=[[Template:{{{name}}}|<span title="Vai alla pagina del template.">v</span>]]&nbsp;·&nbsp;[[Discussioni template:{{{name}}}|<span style="color:#002bb8;" title="Discuti del template.">d</span>]]&nbsp;·&nbsp;[{{fullurl:Template:{{{name}}}|action=edit}} <span style="color:#002bb8;" title="Per modificare il template. Usa l'anteprima prima di salvare.">m</span>]}}</div><span style="font-size:110%;"><!--
 +
---------------------------------------------------------- V.D.M. ----------------------------------------------------------
 +
---------------------------------------------------------- Titolo ----------------------------------------------------------
 +
-------------------------------------------->{{#if:{{{title|}}}|{{{title}}}|}}<!--------------------------------------------
 +
--></span></th><!--
 +
---------------------------------------------------------- Titolo ----------------------------------------------------------
 +
----------------------------------------------------- Barra del titolo -----------------------------------------------------
 
-->
 
-->
<th colspan="{{#if:{{{image|}}}|3|2}}" style="text-align:center; width:100%; background:#ccf; font-size:90%; {{{titlestyle|}}}"><!--
 
--><div class="noprint plainlinks" style="float:left; font-size:xx-small; width:6em; text-align:left; padding:0 10px;">{{#switch:{{{navbar|}}} |plain= |#default=[[Template:{{{name}}}|<span title="Vai alla pagina del template.">v</span>]]&nbsp;<span style=" font-size:80%;">•</span>&nbsp;[[Discussioni template:{{{name}}}|<span style="color:#002bb8;" title="Discuti del template.">d</span>]]&nbsp;<span style="font-size:80%;">•</span>&nbsp;[{{fullurl:Template:{{{name}}}|action=edit}} <span style="color:#002bb8;" title="Per modificare il template. Usa l'anteprima prima di salvare.">m</span>]}}</div><span style="font-size:110%;">{{#if:{{{title|}}}|{{{title}}}|}}</span></th>
 
 
</tr><!--
 
</tr><!--
---Above (optional)---
+
----------------------------------------------------- Above (opzionale) ----------------------------------------------------
-->{{#if:{{{above|}}} |<tr><td style="background:#ddf; text-align:center; font-size:90%; {{{abovestyle|}}}" colspan="{{#if:{{{image|}}}|3|2}}">{{{above|}}}</td></tr>}}<!--
+
-->{{#if:{{{above|}}}<!--
---Groups---
+
-->| <tr><td style="background:#ddf; text-align:center; font-size:90%; {{{abovestyle|}}}" colspan="{{#if:{{{image|}}}<!--
-->{{#if:{{{list1|}}}|<tr>{{#if:{{{group1|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}">{{{group1}}}</th>}}
+
-------------------------------------------------------------------------------------------------->| 3<!--
<td style="width:100%; font-size:90%; text-align:center; {{{liststyle|}}}{{{oddstyle|}}}" colspan="{{#if:{{{group1|}}}|1|2}}">{{{list1}}}</td><!--
+
-------------------------------------------------------------------------------------------------->| 2<!--
 
+
-------------------------------------------------------------------------------------------------->}}"><!--
-->{{#if:{{{image|}}}|<td rowspan="{{#expr: {{#if:{{{list1|}}}|1|0}} +{{#if:{{{list2|}}}|1|0}} +{{#if:{{{list3|}}}|1|0}} +{{#if:{{{list4|}}}|1|0}} +{{#if:{{{list5|}}}|1|0}} +{{#if:{{{list6|}}}|1|0}} +{{#if:{{{list7|}}}|1|0}} +{{#if:{{{list8|}}}|1|0}} +{{#if:{{{list9|}}}|1|0}} +{{#if:{{{list10|}}}|1|0}} +{{#if:{{{list11|}}}|1|0}} +{{#if:{{{list12|}}}|1|0}} +{{#if:{{{list13|}}}|1|0}} +{{#if:{{{list14|}}}|1|0}} +{{#if:{{{list15|}}}|1|0}} +{{#if:{{{list16|}}}|1|0}} +{{#if:{{{list17|}}}|1|0}} +{{#if:{{{list18|}}}|1|0}} +{{#if:{{{list19|}}}|1|0}} +{{#if:{{{list20|}}}|1|0}}}}"
+
------------------------------------------------------>{{{above|}}}<!-------------------------------------------------------
style="vertical-align:middle; padding-left:7px; width:0%; {{{imagestyle|}}}">{{{image}}}</td>}}</tr>}}<!--
+
----></td></tr><!--
 
+
-->}}<!--
 +
----------------------------------------------------- Above (opzionale) ----------------------------------------------------
 +
---------------------------------------------------------- Gruppi ----------------------------------------------------------
 +
---------------------------------------------------------- Lista1 ----------------------------------------------------------
 +
-->{{#if:{{{list1|}}}
 +
| <tr>{{#if:{{{group1|}}}
 +
      | <th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}"><!--
 +
------------------------------------------------------>{{{group1}}}<!-------------------------------------------------------
 +
-------></th><!--
 +
----->}}<td style="width:100%; font-size:90%; text-align:center; {{{liststyle|}}}{{{oddstyle|}}}" colspan="<!--
 +
-->{{#if:{{{group1|}}}<!--
 +
-->| 1<!--
 +
-->| 2<!--
 +
-->}}">{{{list1}}}</td><!--
 +
--------------------------------------------------------- Immagine ---------------------------------------------------------
 +
---->{{#if:{{{image|}}}
 +
|<td rowspan="{{#expr:
 +
{{#if:{{{list1|}}}|1|0}}
 +
+{{#if:{{{list2|}}}|1|0}}
 +
+{{#if:{{{list3|}}}|1|0}}
 +
+{{#if:{{{list4|}}}|1|0}}
 +
+{{#if:{{{list5|}}}|1|0}}
 +
+{{#if:{{{list6|}}}|1|0}}
 +
+{{#if:{{{list7|}}}|1|0}}
 +
+{{#if:{{{list8|}}}|1|0}}
 +
+{{#if:{{{list9|}}}|1|0}}
 +
+{{#if:{{{list10|}}}|1|0}}
 +
+{{#if:{{{list11|}}}|1|0}}
 +
+{{#if:{{{list12|}}}|1|0}}
 +
+{{#if:{{{list13|}}}|1|0}}
 +
+{{#if:{{{list14|}}}|1|0}}
 +
+{{#if:{{{list15|}}}|1|0}}
 +
+{{#if:{{{list16|}}}|1|0}}
 +
+{{#if:{{{list17|}}}|1|0}}
 +
+{{#if:{{{list18|}}}|1|0}}
 +
+{{#if:{{{list19|}}}|1|0}}
 +
+{{#if:{{{list20|}}}|1|0}}<!--
 +
------------->}}" style="vertical-align:middle; padding-left:7px; width:0%; {{{imagestyle|}}}">{{{image}}}</td><!--
 +
---->}}</tr><!--
 +
-->}}<!--
 +
---------------------------------------------------------- Lista1 ----------------------------------------------------------
 +
----------------------------------------------------- Liste successive -----------------------------------------------------
 
-->{{#if:{{{list2|}}}|<tr>{{#if:{{{group2|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}">{{{group2}}}</th>}}
 
-->{{#if:{{{list2|}}}|<tr>{{#if:{{{group2|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}">{{{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|}}}" colspan="{{#if:{{{group2|}}}|1|2}}">{{{list2}}}</td></tr>}}<!--
Riga 32: Riga 86:
 
-->{{#if:{{{list7|}}}|<tr>{{#if:{{{group7|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}">{{{group7}}}</th>}}
 
-->{{#if:{{{list7|}}}|<tr>{{#if:{{{group7|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}">{{{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|}}}" 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|}}}">{{{group8}}}</th>}}
 
-->{{#if:{{{list8|}}}|<tr>{{#if:{{{group8|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}">{{{group8}}}</th>}}
Riga 39: Riga 92:
 
-->{{#if:{{{list9|}}}|<tr>{{#if:{{{group9|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}">{{{group9}}}</th>}}
 
-->{{#if:{{{list9|}}}|<tr>{{#if:{{{group9|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}">{{{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|}}}" 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|}}}">{{{group10}}}</th>}}
 
-->{{#if:{{{list10|}}}|<tr>{{#if:{{{group10|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}">{{{group10}}}</th>}}
Riga 46: Riga 98:
 
-->{{#if:{{{list11|}}}|<tr>{{#if:{{{group11|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}">{{{group11}}}</th>}}
 
-->{{#if:{{{list11|}}}|<tr>{{#if:{{{group11|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}">{{{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|}}}" 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|}}}">{{{group12}}}</th>}}
 
-->{{#if:{{{list12|}}}|<tr>{{#if:{{{group12|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}">{{{group12}}}</th>}}
Riga 53: Riga 104:
 
-->{{#if:{{{list13|}}}|<tr>{{#if:{{{group13|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}">{{{group13}}}</th>}}
 
-->{{#if:{{{list13|}}}|<tr>{{#if:{{{group13|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}">{{{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|}}}" 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|}}}">{{{group14}}}</th>}}
 
-->{{#if:{{{list14|}}}|<tr>{{#if:{{{group14|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}">{{{group14}}}</th>}}
Riga 60: Riga 110:
 
-->{{#if:{{{list15|}}}|<tr>{{#if:{{{group15|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}">{{{group15}}}</th>}}
 
-->{{#if:{{{list15|}}}|<tr>{{#if:{{{group15|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}">{{{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|}}}" 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|}}}">{{{group16}}}</th>}}
 
-->{{#if:{{{list16|}}}|<tr>{{#if:{{{group16|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}">{{{group16}}}</th>}}
Riga 67: Riga 116:
 
-->{{#if:{{{list17|}}}|<tr>{{#if:{{{group17|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}">{{{group17}}}</th>}}
 
-->{{#if:{{{list17|}}}|<tr>{{#if:{{{group17|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}">{{{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|}}}" 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|}}}">{{{group18}}}</th>}}
 
-->{{#if:{{{list18|}}}|<tr>{{#if:{{{group18|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}">{{{group18}}}</th>}}
Riga 74: Riga 122:
 
-->{{#if:{{{list19|}}}|<tr>{{#if:{{{group19|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}">{{{group19}}}</th>}}
 
-->{{#if:{{{list19|}}}|<tr>{{#if:{{{group19|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}">{{{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|}}}" 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|}}}">{{{group20}}}</th>}}
 
-->{{#if:{{{list20|}}}|<tr>{{#if:{{{group20|}}}|<th style="background:#ddf; white-space:nowrap; padding:0 10px; font-size:90%; {{{groupstyle|}}}">{{{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|}}}" colspan="{{#if:{{{group20|}}}|1|2}}">{{{list20}}}</td></tr>}}<!--
---Below (optional)---
+
-------------------------------------------------------- Fine liste --------------------------------------------------------
-->{{#if:{{{below|}}}|<tr><td style="background:#ddf; text-align:center; font-size:90%; {{{belowstyle|}}}" colspan="{{#if:{{{image|}}}|3|2}}">{{{below|}}}</td></tr>}}<!--
+
----------------------------------------------------- Below (opzionale) ----------------------------------------------------
 
+
-->{{#if:{{{below|}}}<!--
 +
-->| <tr><td style="background:#ddf; text-align:center; font-size:90%; {{{belowstyle|}}}" colspan="{{#if:{{{image|}}}<!--
 +
-------------------------------------------------------------------------------------------------->| 3<!--
 +
-------------------------------------------------------------------------------------------------->| 2<!--
 +
-------------------------------------------------------------------------------------------------->}}"><!--
 +
------------------------------------------------------>{{{below|}}}<!-------------------------------------------------------
 +
----></td></tr><!--
 +
-->}}<!--
 +
----------------------------------------------------------------------------------------------------------------------------
 
--></table></includeonly><noinclude>
 
--></table></includeonly><noinclude>
 
+
{{esoteric}}
{{templateprotetto}}
+
 
{{man}}
 
{{man}}
  
<!-- Add cats and interwikis to the /man subpage, not here! -->
+
[[Categoria:Template strumenti di layout|Navbox generic]]
  
 +
[[cy: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:Шаблон:Навигационная таблица]]
 
</noinclude>
 
</noinclude>

Versione delle 22:09, 24 feb 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:Шаблон:Навигационная таблица