Differenze tra le versioni di "Template:Note"
Jump to navigation
Jump to search
(Creata. Probabilmente necessita di interventi aggiuntivi, ma devo salvarla per poterla provare.) |
|||
| (5 versioni intermedie di un altro utente non mostrate) | |||
| Riga 1: | Riga 1: | ||
| − | < | + | <div class="golem-template-note golem-template-note-{{{type}}}"> |
| − | [[File:golem-template-note-{{{type}}}.png|35px]] | + | [[File:golem-template-note-{{{type}}}.png|35px|link=]] |
{{{text}}} | {{{text}}} | ||
| − | </ | + | </div> |
| − | |||
<noinclude> | <noinclude> | ||
== Uso == | == Uso == | ||
| Riga 11: | Riga 10: | ||
<pre> | <pre> | ||
{{Note | {{Note | ||
| − | |type=[info|example|reminder|warning| | + | |type=[info|example|reminder|warning|attention] |
|text=Some useful text | |text=Some useful text | ||
}} | }} | ||
| Riga 17: | Riga 16: | ||
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 attuale delle 23:14, 12 nov 2025
[[File:golem-template-note-{{{type}}}.png|35px|link=]] {{{text}}}
Uso
Template per specchietti con note informative, avvertimenti, suggerimenti.
Sintassi:
{{Note
|type=[info|example|reminder|warning|attention]
|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 è un esempio
Questo è un promemoria
Questo è un avvertimento
Questo richiede particolare attenzione!