« Modèle:Tutoriel » : différence entre les versions
Aller à la navigation
Aller à la recherche
mAucun résumé des modifications |
m (Annulation des modifications 172630 de Daniel K. Schneider (discussion)) Balise : Annulation |
||
(18 versions intermédiaires par 3 utilisateurs non affichées) | |||
Ligne 21 : | Ligne 21 : | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
<table | <table cellspacing="8" style="width: 272px; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 5px; float: right; clear: right; text-align:left;"> | ||
<tr> | <tr> | ||
<th style="text-align:center; margin:10px auto; background-color:#ccccff; border:1px solid rgb(190, 190,240);padding:8px;" colspan="2"> | <th style="text-align:center; margin:10px auto; background-color:#ccccff; border:1px solid rgb(190, 190,240);padding:8px;" colspan="2"> | ||
Ligne 32 : | Ligne 32 : | ||
}} | }} | ||
{{#if:{{{est_module_de|}}}| | {{#if:{{{est_module_de|}}}| | ||
<tr><!-- code module --> | <tr><!-- code page entree module --> | ||
<th style="text-align:center; margin:10px auto; background-color:rgb(225,235,255);border:1px solid rgb(210, 210,245);padding:8px;" colspan="2">''Page d'entrée du module''<br/> | <th style="text-align:center; margin:10px auto; background-color:rgb(225,235,255);border:1px solid rgb(210, 210,245);padding:8px;" colspan="2">''Page d'entrée du module''<br/>[[{{{est_module_de|}}}]] </th> | ||
</tr> | </tr> | ||
}} | }} | ||
Ligne 45 : | Ligne 45 : | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td><span style="font-size:20px;font-weight:900;">⚐</span> {{{statut|}}}</td> | <td><span style="font-size:20px;font-weight:900;background-color:green">⚐</span> {{{statut|}}}</td> | ||
<td><span style="font-size:20px;font-weight:900;">☸</span> {{{difficulté|}}}</td> | <td><span style="font-size:20px;font-weight:900;">☸</span> {{{difficulté|}}}</td> | ||
</tr> | </tr> | ||
Ligne 72 : | Ligne 72 : | ||
<tr> | <tr> | ||
<td colspan="2"><ul>{{#arraymap:{{{voir_aussi|}}}|,|x|<li>[[x|{{#titleparts: x | | -1}}]]</li>||}}</ul></td> | <td colspan="2"><ul>{{#arraymap:{{{voir_aussi|}}}|,|x|<li>[[x|{{#titleparts: x | | -1}}]]</li>||}}</ul></td> | ||
</tr> | |||
}} | |||
{{#ifeq:{{{all_pages_module|}}}| | |||
<tr> | |||
<th style="text-align: center; background-color:#ccccff;" colspan="2">Contenu du module</th> | |||
</tr> | |||
<tr> | |||
<td colspan="2"><ul>{{#arraymap:{{{A_FAIRE_NE_MARCHE_PAS_DKS}}}|,|x|<li>[[x|{{#titleparts: x | | -1}}]]</li>||}}</ul></td> | |||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{pages_module|}}}| | {{#if:{{{pages_module|}}}| | ||
<tr> | <tr> | ||
<th style="text-align: center; background-color:#ccccff;" colspan="2"> | <th style="text-align: center; background-color:#ccccff;" colspan="2">Autres pages du module</th> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Ligne 90 : | Ligne 98 : | ||
</table> | </table> | ||
{{#arraymap:{{{prérequis|}}}|,|x|{{#set:prérequis=x}} }} | {{#arraymap:{{{prérequis|}}}|,|x|{{#set:prérequis=x}} }} |
Dernière version du 5 août 2023 à 10:05
Ceci est le modèle « tutoriel ». Il devrait être appelé selon le format suivant (enfin c'est le code et le formulaire qui font foi !) :
{{tutoriel |fait_partie_du_cours= |fait_partie_du_module= |est module de= |page_parente= |page_suivante= |page_precedente= |statut= |editeur= |derniere_modif= |prérequis= |objectif= |difficulté= |voir_aussi= }}
Modifier la page pour voir le texte du modèle.