|
|
| Line 58: |
Line 58: |
| </tr> | | </tr> |
| }} | | }} |
| {{#if:{{{objectif|}}}| | | |
| <tr>
| |
| <th style="text-align: center; background-color:#ccccff;" colspan="2">Objectifs</th>
| |
| </tr>
| |
| <tr>
| |
| <td colspan="2"><ul>{{#arraymap:{{{objectif|}}}|,|x|<li>x</li>||}}</ul></td>
| |
| </tr>
| |
| }}
| |
| {{#if:{{{voir_aussi|}}}|
| |
| <tr>
| |
| <th style="text-align: center; background-color:#ccccff;" colspan="2">Voir aussi</th>
| |
| </tr>
| |
| <tr>
| |
| <td colspan="2"><ul>{{#arraymap:{{{voir_aussi|}}}|,|x|<li>[[x|{{#titleparts: x | | -1}}]]</li>||}}</ul></td>
| |
| </tr>
| |
| }}
| |
| {{#if:{{{pages_module|}}}|
| |
| <tr>
| |
| <th style="text-align: center; background-color:#ccccff;" colspan="2">Contenu du module</th>
| |
| </tr>
| |
| <tr>
| |
| <td colspan="2"><ul>{{#arraymap:{{{pages_module|}}}|,|x|<li>[[x|{{#titleparts: x | | -1}}]]</li>||}}</ul></td>
| |
| </tr>
| |
| }}
| |
| {{#ifeq:{{{pas_afficher_sous-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>}}
| |
| }}
| |
| {{#if:{{{cat tutoriels|}}}|
| |
| <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">[[:Catégorie: {{{cat tutoriels|}}}]][[Catégorie: {{{cat tutoriels|}}}]]</tr>
| |
| }}
| |
| </table>
| |
| | |
| <div class="onlyinprint">
| |
| {{#if:{{{objectif|}}}|
| |
| '''Objectifs'''
| |
| <ul>{{#arraymap:{{{objectif|}}}|,|x|<li>x</li>||}}</ul>
| |
| }}
| |
| {{#if:{{{pages_prérequises|}}}|
| |
| '''Prérequis'''
| |
| <ul>{{#arraymap:{{{pages_prérequises|}}}|,|x|<li>[[x]]</li>||}}</ul>
| |
| }}
| |
| {{#if:{{{voir_aussi|}}}|
| |
| '''Voir aussi/suites'''
| |
| <ul>{{#arraymap:{{{voir_aussi|}}}|,|x|<li>[[x]]</li>||}}</ul>
| |
| }}
| |
| {{#if:{{{statut|}}}|
| |
| <ul><li>Qualité: {{{statut|}}}</li></ul>
| |
| }}
| |
| {{#if:{{{difficulté|}}}|
| |
| <ul><li>Difficulté: {{{difficulté|}}}</li></ul>
| |
| }}
| |
| </div> | | </div> |
|
| |
|
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.