Template:Syllabus: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 74: | Line 74: | ||
</tr> | </tr> | ||
}} | }} | ||
{{#ifeq:{{{ | {{#ifeq:{{{do_not_show_sub_page|}}}|Oui| |{{#ifexpr:{{#subpagecount:}}>0| | ||
<tr><td style="text-align:left; margin:10px auto; background-color:rgb(225,235,255);border:1px solid rgb(210, 210,245);padding:8px;" colspan="2">Sous-pages et productions: {{#subpages:default=aucune}} </td></tr>}} | <tr><td style="text-align:left; margin:10px auto; background-color:rgb(225,235,255);border:1px solid rgb(210, 210,245);padding:8px;" colspan="2">Sous-pages et productions: {{#subpages:default=aucune}} </td></tr>}} | ||
}} | }} | ||
Line 119: | Line 119: | ||
{{#set:last important modification={{{last_modification|}}}}} | {{#set:last important modification={{{last_modification|}}}}} | ||
{{#set:difficulty={{{difficulty|}}}}} | {{#set:difficulty={{{difficulty|}}}}} | ||
{{#if:{{{ | {{#if:{{{cat_syllabus|}}}|{{#set:syllabus category=category:{{{cat syllabus|}}}}}}} | ||
{{#if:{{{prerequisite|}}}|{{#arraymap:{{{prerequisite|}}}|,|x|{{#set:prerequisite=x}} }} }} | {{#if:{{{prerequisite|}}}|{{#arraymap:{{{prerequisite|}}}|,|x|{{#set:prerequisite=x}} }} }} | ||
{{#default_form:syllabus}} | {{#default_form:syllabus}} | ||
[[ | [[Category:syllabus page]] | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
[[Category:templates]] | [[Category:templates]] | ||
</noinclude> | </noinclude> |
Revision as of 19:37, 16 March 2018
Ceci est le modèle « syllabus ». Il devrait être appelé selon le format suivant (enfin c'est le code et le formulaire qui font foi !) :
{{syllabus |is_part_of_syllabus= |is_part_if_module= |is_module_of= |page_parent= |page_next= |page_previous= |status= |editor= |last_modification= |prérequis= |objective= |difficulty= |see_also= }}
Modifier la page pour voir le texte du modèle.