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

De EduTech Wiki
Aller à la navigation Aller à la recherche
mAucun résumé des modifications
mAucun résumé des modifications
Ligne 20 : Ligne 20 :
   <tr>
   <tr>
     <th style="text-align:center; margin:10px auto; background-color:#ccccff;" colspan="2">
     <th style="text-align:center; margin:10px auto; background-color:#ccccff;" colspan="2">
       <big>{{{fait_partie_du_cours|}}}</big></th>  
       <big>{{#if:{{{fait_partie_du_cours|}}}|{{{fait_partie_du_cours|}}}|{{PAGENAME}}}}</big></th>  
   </tr>
   </tr>
{{#if:{{{page_parente|}}}|
{{#if:{{{page_parente|}}}|
   <tr>
   <tr>
     <th colspan="2" style="text-align:center;font-size:30px;font-weight:900;"> [[{{{page_parente|}}}|▲]]</th>
     <th colspan="2" style="text-align:center;font-size:30px;font-weight:900;"> [[{{{page_parente|}}}|▲]]</th>
   </tr>}}
   </tr>
}}
   <tr>
   <tr>
     <th colspan="2" style="margin-bottom:10px;"><span style="float:left;font-size:30px;font-weight:900;">[[{{{page_precedente|}}}|◀◀]]</span> <span style="float:right;font-size:30px;font-weight:900;margin-bottom:10px">[[{{{page_suivante|}}}|▶▶]]</span></th>
     <th colspan="2" style="margin-bottom:10px;"><span style="float:left;font-size:30px;font-weight:900;">{{#if:{{{page_precedente|}}}|[[{{{page_precedente|}}}◀◀]]| }}</span> <span style="float:right;font-size:30px;font-weight:900;margin-bottom:10px">{{#if:{{{page_suivante|}}}|[[{{{page_suivante|}}}|▶▶]]| }}</span></th>
   </tr>
   </tr>
   <tr>
   <tr>
Ligne 33 : Ligne 34 :
     <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>
{{#if:{{{prérequis|}}|
   <tr>
   <tr>
     <th style="text-align: center; background-color:#ccccff;" colspan="2">Prérequis</th>
     <th style="text-align: center; background-color:#ccccff;" colspan="2">Prérequis</th>
   <tr>
   <tr>
     <td colspan="2"><ul>{{#arraymap:{{{prérequis|}}}|,|x|<li>[[prérequis::x]]}}</li></ul></td>
     <td colspan="2"><ul>{{#arraymap:{{{prérequis|}}}|,|x|<li>[[prérequis::x]]}}</li></ul></td>
   </tr>
   </tr>}}
{{#if:{{{objectif|}}|
   <tr>
   <tr>
     <th style="text-align: center; background-color:#ccccff;" colspan="2">Objectifs</th>
     <th style="text-align: center; background-color:#ccccff;" colspan="2">Objectifs</th>
Ligne 44 : Ligne 47 :
     <td colspan="2"><ul>{{#arraymap:{{{objectif|}}}|,|x|<li>[[objectif::x]]}}</li></ul></td>
     <td colspan="2"><ul>{{#arraymap:{{{objectif|}}}|,|x|<li>[[objectif::x]]}}</li></ul></td>
   </tr>
   </tr>
}}
{{#if:{{{voir_aussi|}}|
   <tr>
   <tr>
     <th style="text-align: center; background-color:#ccccff;" colspan="2">Voir aussi</th>
     <th style="text-align: center; background-color:#ccccff;" colspan="2">Voir aussi</th>
Ligne 50 : Ligne 55 :
     <td colspan="2"><ul>{{#arraymap:{{{voir_aussi|}}}|,|x|<li>[[voir aussi::x]]}}</li></ul></td>
     <td colspan="2"><ul>{{#arraymap:{{{voir_aussi|}}}|,|x|<li>[[voir aussi::x]]}}</li></ul></td>
   </tr>
   </tr>
}}
{{#if:{{{dernière_modif|}}}|
   <tr>
   <tr>
     <td colspan="2" style="text-align:right;">{{{dernière_modif|}}}</td>
     <td colspan="2" style="text-align:right;">{{{dernière_modif|}}}</td>
   </tr>
   </tr>
}}
</table>
</table>
<!-- properties displayed in a non standard way are just "set" -->
<!-- properties displayed in a non standard way are just "set" -->

Version du 29 août 2013 à 11:22

Ceci est le modèle « tutoriel ». Il devrait être appelé selon le format suivant :

{{tutoriel
|fait_partie_du_cours=
|page_parente=
|page_suivante=
|page_precedente=
|statut=
|derniere_modif=
|prérequis=
|objectif=
|difficulté=
|voir_aussi=
}}

Modifier la page pour voir le texte du modèle.