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
réduction encombrement
imported>Yann
No edit summary
Line 2: Line 2:


<div style="border-bottom: 2px solid #CCCCCC; border-right: 2px solid #CCCCCC; background-color: #{{{couleur|f4f0e5}}}; padding: 0.5em; text-align: Center; width: 98%">
<div style="border-bottom: 2px solid #CCCCCC; border-right: 2px solid #CCCCCC; background-color: #{{{couleur|f4f0e5}}}; padding: 0.5em; text-align: Center; width: 98%">
<div style="font-size: 130%;">[[{{{livre|{{PAGENAME}}}}}]]</div><br />
<div {{ShowIfEmpty|{{{1}}}}} style="font-size: 120%;">'''{{PAGENAME}}'''</div>
<div style="font-size: 125%;">[[{{{auteur|''Indiquez le nom de l'auteur''}}}]]</div>
<div {{ShowIfEmpty|{{{2}}}}} style="font-size: 110%;">'''Anonyme'''</div>
<div style="font-size: 130%;">{{#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>
<div style="font-size: 105%;">{{#if:{{{commentaires|}}}|{{{commentaires}}}}}</div>
<div style="font-size: 105%;">{{HideIfEmpty|{{{commentaires}}} }}</div>
</div>
</div>



Revision as of 20:16, 15 September 2006

Chapitre
Anonyme


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)
}}