« Modèle:Exercice » : différence entre les versions

Contenu supprimé Contenu ajouté
.
il y a des exercices précédents, suivants, mais pas forcément un seul chapitre lié
Ligne 1 :
</noincludeincludeonly><div {{#ifeq: {{{align|}}} | center | align="center" style="margin:1em" | {{#ifeq: {{{align|}}} | left | style="margin-right:1em; float:left;" | style="margin-left:1em; float:right;width:205px" }} }}>
<noinclude>
{{Documentation}}
[[Catégorie:Modèle de l'université]]
[[Catégorie:Exclure lors de l'impression]]
</noinclude><div {{#ifeq: {{{align}}} | center | align="center" style="margin:1em" | {{#ifeq: {{{align}}} | left | style="margin-right:1em; float:left;" | style="margin-left:1em; float:right;width:205px" }} }}>
{| class="toccolours" style="background-color: #{{idfaculté/pastel/{{{idfaculté}}}}}; width:200px;"
|+ style="font-size: larger; background-color: transparent;" |'''{{{titre|{{BASEPAGENAME}}}}}'''
Ligne 13 ⟶ 9 :
!colspan="4" style="text-align: center;" scope="row"|Leçon : {{{leçon|[[{{BASEPAGENAME}}]]}}}
|-
!style="width: 80px; text-align: right; font-size: 70%;" scope="row"|{{#if:{{{chapitre|}}}|''Chapitre du cours :''|}}
|colspan="3" style="font-size: 80%;"|{{#if:{{{chapitre|}}}|{{{chapitre}}}|}}
|-
!colspan="4" style="text-align: right; font-size: 80%;" scope="row"|{{#if:{{{niveau<includeonly>|</includeonly>{{!}}}}}|{{niveau|niveau={{{niveau}}}|page=exercice}}|[[Catégorie:Exercice sans niveau]]}}
{{#if:{{{précédent|}}}|<tr><td style="width: 70px; text-align: right; font-size: 80%;">''Chap. préc. :''</th><td colspan="3" style="font-size: 80%;">{{{précédent|}}}</td></tr>}}
}}
{{#if:{{{suivant|}}}|<tr><td style="width: 70px; text-align: right; font-size: 80%;">''Chap. suiv. :''</th><td colspan="3" style="font-size: 80%;">{{{suivant|}}}</td></tr>}}
|}
{{Titre|Exercice : {{{titre}}}<br /><small><small><small>''{{PAGENAME}}''</small></small></small> }}
</div>
</includeonly><noinclude>
{{Documentation}}
[[Catégorie:Modèle de l'université]]
[[Catégorie:Exclure lors de l'impression]]
</noinclude>