|
|
| Riga 1: |
Riga 1: |
| − | <includeonly><table style="{{{stile|}}}" class="metadata {{#if:{{{sempre|}}}||noprint nomobile}} plainlinks avviso {{#switch:{{{tipo|}}} | + | <includeonly> |
| − | | importante = avviso-importante | + | <div role="alert" class="alert |
| − | | contenuto = avviso-contenuto
| + | {{#switch:{{{tipo|}}} |
| − | | stile = avviso-stile
| + | | info = alter-info |
| − | | statico = avviso-statico
| + | | warning = alter-warning |
| − | | struttura = avviso-struttura
| + | | danger = alert-danger |
| − | | generico = avviso-generico | |
| − | | avviso
| |
| − | | #default = avviso-informazioni | |
| | }}"> | | }}"> |
| − | <tr>
| + | {{{testo}}} |
| − | <td class="avviso-immagine {{#if:{{{sempre|}}}|noprint nomobile}}">
| + | </div> |
| − | {{#ifeq:{{{immagine}}}|nessuna | + | </includeonly> |
| − | | <!--cella vuota necessaria al testo per avere la lunghezza del template pari al 100%-->
| + | <noinclude> |
| − | | <div style="width:52px;"> {{#switch:{{{immagine |{{{tipo|}}}}}}
| |
| − | | importante = [[File:Stop hand nuvola.svg|40px]]
| |
| − | | contenuto = [[File:Emblem-important.svg|40px]]
| |
| − | | stile = [[File:Broom icon.svg|40px]]
| |
| − | | statico = [[File:Gnome globe current event.svg|40px]]
| |
| − | | struttura = [[File:Merge-split-transwiki default.svg|40px]]
| |
| − | | generico = [[File:☑.svg|40px]]
| |
| − | | trasparente = [[File:No image.svg]]
| |
| − | | avviso
| |
| − | | #default = {{{immagine|[[File:Information icon4.svg|40px]]}}}
| |
| − | }}</div>
| |
| − | }}</td>
| |
| − | <td class="avviso-testo">{{{testo}}}{{#if:{{{motivo|}}}{{{commento|}}}|<br><div style="font-size:90%;">'''{{#if:{{{motivo|}}}|Motivo|Commento}}''': ''{{{motivo|}}}{{{commento|}}}''</div>}}{{#if:{{{testo secondario|}}}|{{#if:{{{sempre|}}}|<div class="noprint nomobile">}}<hr><div style="font-size:90%;">{{{testo secondario}}}</div>{{#if:{{{sempre|}}}|</div>}}}}</td>
| |
| − | {{#if:{{{immagine a destra|}}}|
| |
| − | <td class="avviso-immaginedestra {{#if:{{{sempre|}}}|noprint nomobile}}"><div style="width:52px;"> {{{immagine a destra|}}} </div></td>
| |
| − | }}
| |
| − | </tr>
| |
| − | </table></includeonly><noinclude>
| |
| − | {{Protetta}}
| |
| − | {{man}}
| |
| − | {{TemplateData}}
| |
| − | | |
| | [[Categoria:Sottotemplate]] | | [[Categoria:Sottotemplate]] |
| | [[Categoria:Template di avviso| ]] | | [[Categoria:Template di avviso| ]] |
| | </noinclude> | | </noinclude> |