This is an archive copy of wikilivres.ca as of 18 February 2017 (from the WikiTeam dump). The original site is closed.

Template:Chapitre: Difference between revisions

Free texts and images.
Jump to navigation Jump to search
imported>Yann
No edit summary
imported>Yann
essai avec un modèle simplifié
Line 1: Line 1:
<div style="border-bottom: 2px solid #CCCCCC; border-right: 2px solid #CCCCCC; background-color: #f4f0e5; padding: 0.5em; text-align: Center; width: 98%">
<div style="border-bottom: 2px solid #CCCCCC; border-right: 2px solid #CCCCCC; background-color: #f4f0e5; padding: 0.5em; text-align: Center; width: 98%">
<div {{ShowIfEmpty|{{{1}}} }} style="font-size: 120%;">'''{{PAGENAME}}'''</div>
<div style="font-size: 120%;">{{{1}}}</div>
<div {{ShowIfEmpty|{{{2}}} }} style="font-size: 110%;">'''Anonyme'''</div>
<div style="font-size: 110%;">{{{2}}}</div>
<div style="font-size: 120%;">{{#if:{{{nrpartie|}}}|Partie n° {{{nrpartie}}}}}</div>
<div style="font-size: 120%;">{{#if:{{{nrpartie|}}}|Partie n° {{{nrpartie}}}}}</div>
<div style="font-size: 120%;">{{#switch:{{{type|}}}|1=Chapitre|2=Livre|#défaut=}}{{#if:{{{nrchapitre|}}}|&nbsp;{{{nrchapitre}}}}}{{#if:{{{TitreChapitre|}}}|&nbsp; {{{TitreChapitre}}}}}</div>
<div style="font-size: 120%;">{{#switch:{{{type|}}}|1=Chapitre|2=Livre|#défaut=}}{{#if:{{{nrchapitre|}}}|&nbsp;{{{nrchapitre}}}}}{{#if:{{{TitreChapitre|}}}|&nbsp; {{{TitreChapitre}}}}}</div>

Revision as of 21:30, 15 September 2006

{{{1}}}
{{{2}}}


Syntaxe
{{chapitre|couleur= (optionnel)
|livre=
|auteur=
|nrpartie= (optionnel)
|type= (sélectionne s'il s'agit d'un chapitre, d'un Livre ou d'une partie)
|nrchapitre=
|TitreChapitre= (optionnel)
|commentaires= (optionnel)
}}