Template:ChapterTitle
it:
- Funzione: Il template serve a formattare il titolo dei box testo della pagina principale e delle pagine dei portali. Bisogna obbligatoriamente indicare il titolo, il colore dello sfondo e il bordo.
In aggiunta si possono specificare anche i parametri per i bordi destri e sinistro. Se il parametro opzionaleedit
viene compilato, il Titolo verrà allineato a sinistra e apparirà allineato a destra un link all'articolo da modificare. - Uso:
{{ChapterTitle|ti=Titel|color=numero del colore|r=bordo destro|l=bordo sinistro|top=bordo superiore|bottom=bordo inferiore|borders=all|edit=Nome dell'articolo}}
- Parametri obbligatori:
|ti=
Titolo
- Parametri opzionali:
|borders=all
Veranno mostrati tutti i 4 bordi.|color=
codice del colore (vedi sotto)|r=
Parametri CSS per il bordo destro|l=
Parametri CSS per il bordo sinistro|top=
Parametri CSS per il bordo superiore|bottom=
Parametri CSS per il bordo inferiore|edit=
Link all'articolo da modificare
Esempi
Codice sorgente | ...e come vi apparirà |
---|---|
{{ChapterTitle}}
|
New Chapter
|
{{ChapterTitle|ti=TITOLO DEL CAPITOLO}}
|
TITOLO DEL CAPITOLO
|
{{ChapterTitle|ti=TITOLO DEL CAPITOLO|edit=Prova}}
|
[modifica]TITOLO DEL CAPITOLO
|
{{ChapterTitle|ti=TITOLO DEL CAPITOLO|color=5|r=1em}}
|
TITOLO DEL CAPITOLO
|
{{ChapterTitle|ti=TITOLO DEL CAPITOLO|borders=all}}
|
TITOLO DEL CAPITOLO
|
{{ChapterTitle|ti=TITOLO DEL CAPITOLO|top=0}}
|
TITOLO DEL CAPITOLO
|
Codici dei colori
Codice sorgente | ...e come vi apparirà |
---|---|
{{ChapterTitle|ti=TITOLO DEL CAPITOLO|top=0|color=1}}
|
TITOLO DEL CAPITOLO
|
{{ChapterTitle|ti=TITOLO DEL CAPITOLO|top=0|color=2}}
|
TITOLO DEL CAPITOLO
|
{{ChapterTitle|ti=TITOLO DEL CAPITOLO|top=0|color=3}}
|
TITOLO DEL CAPITOLO
|
{{ChapterTitle|ti=TITOLO DEL CAPITOLO|top=0|color=4}}
|
TITOLO DEL CAPITOLO
|
{{ChapterTitle|ti=TITOLO DEL CAPITOLO|top=0|color=5}}
|
TITOLO DEL CAPITOLO
|
{{ChapterTitle|ti=TITOLO DEL CAPITOLO|top=0|color=6}}
|
TITOLO DEL CAPITOLO
|
{{ChapterTitle|ti=TITOLO DEL CAPITOLO|top=0|color=7}}
|
TITOLO DEL CAPITOLO
|
{{ChapterTitle|ti=TITOLO DEL CAPITOLO|top=0|color=8}}
|
TITOLO DEL CAPITOLO
|
{{ChapterTitle|ti=TITOLO DEL CAPITOLO|top=0|color=9}}
|
TITOLO DEL CAPITOLO
|
{{ChapterTitle|ti=TITOLO DEL CAPITOLO|top=0|color=10}}
|
TITOLO DEL CAPITOLO
|
{{ChapterTitle|ti=TITOLO DEL CAPITOLO|top=0|color=11}}
|
TITOLO DEL CAPITOLO
|
{{ChapterTitle|ti=TITOLO DEL CAPITOLO|top=0|color=12}}
|
TITOLO DEL CAPITOLO
|
{{ChapterTitle|ti=TITOLO DEL CAPITOLO|top=0|color=13}}
|
TITOLO DEL CAPITOLO
|
Template collegati
- {{ChapterText}}
- {{Chapter}}