« Modèle:Leçon » : différence entre les versions

Contenu supprimé Contenu ajouté
Fin maintenance
Revue du style du code
Ligne 1 :
__NOTOC__ __NOEDITSECTION__<includeonly>__NOTOC__ __NOEDITSECTION__{{#ifeq:{{NAMESPACENUMBER}}|0|
{{#if:{{{idfaculté|}}}||[[Catégorie:Manque paramètre « idfaculté » dans modèle « Leçon »]]}}
{{#if:{{{département|}}}||[[Catégorie:Manque paramètre « département » dans modèle « Leçon »]]}}
Ligne 9 :
| nocat = {{{nocat|}}}
}}<!--
--><div style="backgroundmargin-colortop: #fff; border: 1px solid #aaa1em; padding: 1em; margin-topoverflow: 1emauto; overflowborder: auto1px solid #AAA; border-radius: 10px;">
<div style="float: right; backgroundmargin-colorleft: #{{Idfaculté/pastel/{{{idfaculté}}}}}3em; width: 280px; border: 2px solid #{{idfaculté/couleur/{{{idfaculté}}}}}; textborder-alignradius: center10px; margin-leftbackground: 3em#{{Idfaculté/pastel/{{{idfaculté}}}}}; bordertext-radiusalign: 10pxcenter;">
<div style="font-size: 1.2em; padding: .6em .2em;">
<div>{{#if:{{{département|}}}|<div style="font-size: .85em;">''Département''</div>'''[[Département:{{{département}}}|{{{département}}}]]'''}}</div>
Ligne 191 :
| tp19 = {{{tp19|}}}
| tp20 = {{{tp20|}}}
}}{{ #if: {{{leçonracine|}}} | <div widthstyle="padding: .3em; width: 350px"; border: 1px solid #AAA; style="background-color: #{{Idfaculté/couleur/{{{idfaculté|}}}}}; color: #{{Idfaculté/pastel/{{{idfaculté|}}}}}; bordertext-align:1px solid #aaacenter; font-size:120%; padding:01.3em; text-align:center2em;">'''Navigation'''</div>
<span style="font-size: 80%.8em; border: ">''Cette leçon joue aussi le rôle du chapitre {{{numéro}}} de la leçon : '' {{{leçonracine}}}</span>
<br />{{#if:{{{précédent|}}}|<span style="font-size: 80%.8em; border: ">''Chap. préc. :'' {{{précédent}}}}}</span>
{{#if:{{{suivant|}}}|<span style="font-size: 80%.8em; border: ">''Chap. suiv. :'' {{{suivant}}}}}</span>
}}<!--
-->{{#if:{{{moteur|}}}|<div widthstyle="width: 350px"; style="background-color: #{{Idfaculté/couleur/{{{idfaculté|}}}}}; color: #{{Idfaculté/pastel/{{{idfaculté|}}}}}; border: 1px solid #aaaAAA; font-size:120% 1.2em; padding:0 .3em; text-align: center;">'''Rechercher dans la leçon'''</div>{{moteur}} }}<!--
-->{{#if:{{{autres projets|}}}|<div widthstyle="width: 350px"; style="background-color: #{{Idfaculté/couleur/{{{idfaculté|}}}}}; color: #{{Idfaculté/pastel/{{{idfaculté|}}}}}; border: 1px solid #aaaAAA; font-size:120% 1.2em; padding:0 .3em; text-align: center;">'''Interwikis'''</div><!--
-->{{Autres projets
| transparent = oui
| align = center
| w = {{{w|}}}
| wikt = {{{wikt|}}}