Template:Note: differenze tra le versioni
Aspetto
Creata. Probabilmente necessita di interventi aggiuntivi, ma devo salvarla per poterla provare. |
Necessitava di alcuni accorgimenti correttivi |
||
| Riga 1: | Riga 1: | ||
<p class="golem-template-note-{{{type}}}"> | <p class="golem-template-note golem-template-note-{{{type}}}"> | ||
[[File:golem-template-note-{{{type}}}.png|35px]] | [[File:golem-template-note-{{{type}}}.png|35px]] | ||
{{{text}}} | {{{text}}} | ||
| Riga 17: | Riga 17: | ||
Parametri: | Parametri: | ||
* '''type''': tipo di nota, da scegliere tra | * '''type''': tipo di nota, da scegliere tra i seguenti (in ordine di gravità) | ||
** info | ** info | ||
** example | ** example | ||
** reminder | ** reminder | ||
** warning | ** warning | ||
** | ** attention | ||
* '''text''' | * '''text''' | ||
Esempi: | Esempi: | ||
{{Note | |||
|type=info | |||
|text=Questa è un'informazione aggiuntiva | |||
}} | |||
{{Note | |||
|type=example | |||
|text=Questo è un esempio | |||
}} | |||
{{Note | {{Note | ||
|type=reminder | |type=reminder | ||
|text=Questo è un promemoria | |text=Questo è un promemoria | ||
}} | |||
{{Note | |||
|type=warning | |||
|text=Questo è un avvertimento | |||
}} | |||
{{Note | |||
|type=attention | |||
|text=Questo richiede particolare attenzione! | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
Versione delle 20:55, 1 feb 2018
[[File:golem-template-note-{{{type}}}.png|35px]] {{{text}}}
Uso
Template per specchietti con note informative, avvertimenti, suggerimenti.
Sintassi:
{{Note
|type=[info|example|reminder|warning|error]
|text=Some useful text
}}
Parametri:
- type: tipo di nota, da scegliere tra i seguenti (in ordine di gravità)
- info
- example
- reminder
- warning
- attention
- text
Esempi:
Questa è un'informazione aggiuntiva
Questo richiede particolare attenzione!