« 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 16 : Ligne 16 :
</pre>
</pre>
Modifier la page pour voir le texte du modèle.
Modifier la page pour voir le texte du modèle.
</noinclude><includeonly>{| style="width: 25em; min-width:10em; max-width:30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
</noinclude><includeonly>
! style="text-align:center; margin:10px auto; background-color:#ccccff;" colspan="2" |<big>{{{fait_partie_du_cours|}}}</big>  
<table style="width: 25em; min-width:10em; max-width:30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;">
|-
  <tr>
! colspan="2" style="text-align:center;font-size:30px;font-weight:900;"| [[{{{page_parente|}}}|▲]]
    <th style="text-align:center; margin:10px auto; background-color:#ccccff;" colspan="2">
|-
      <big>{{{fait_partie_du_cours|}}}</big></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>
  </tr>
|-
  <tr>
| <span style="font-size:20px;font-weight:900;">☑</span> {{{statut|}}}
    <th colspan="2" style="text-align:center;font-size:30px;font-weight:900;"> [[{{{page_parente|}}}|▲]]</th>
| <span style="font-size:20px;font-weight:900;">⚒</span> {{{difficulté|}}}
  </tr>
|-
  <tr>
! style="text-align: center; background-color:#ccccff;" colspan="2"|Prérequis
    <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>
|-
  </tr>
|colspan="2"|<ul>{{#arraymap:{{{prérequis|}}}|,|x|<li>[[prérequis::x]]}}</li></ul>
  <tr>
|-
    <td><span style="font-size:20px;font-weight:900;">☑</span> {{{statut|}}}</td>
! style="text-align: center; background-color:#ccccff;" colspan="2"|Objectifs
    <td><span style="font-size:20px;font-weight:900;">⚒</span> {{{difficulté|}}}</td>
|-
  </tr>
|colspan="2"|<ul>{{#arraymap:{{{objectif|}}}|,|x|<li>[[objectif::x]]}}</li></ul>
  <tr>
|-
    <th style="text-align: center; background-color:#ccccff;" colspan="2">Prérequis</th>
!style="text-align: center; background-color:#ccccff;" colspan="2"|Voir aussi:
  <tr>
|-
    <td colspan="2"><ul>{{#arraymap:{{{prérequis|}}}|,|x|<li>[[prérequis::x]]}}</li></ul></td>
|colspan="2"|<ul>{{#arraymap:{{{voir_aussi|}}}|,|x|<li>[[voir aussi::x]]}}</li></ul>
  </tr>
|-
  <tr>
|
    <th style="text-align: center; background-color:#ccccff;" colspan="2">Objectifs</th>
| style="text-align:right;"|{{{dernière_modif|}}}
  </tr>
|}
  <tr>
    <td colspan="2"><ul>{{#arraymap:{{{objectif|}}}|,|x|<li>[[objectif::x]]}}</li></ul></td>
  </tr>
  <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>[[voir aussi::x]]}}</li></ul></td>
  </tr>
  <tr>
    <td colspan="2" style="text-align:right;">{{{dernière_modif|}}}</td>
  </tr>
</table>
<!-- properties displayed in a non standard way are just "set" -->
<!-- properties displayed in a non standard way are just "set" -->
{{#set:fait partie du cours={{{fait_partie_du_cours|}}} }}
{{#set:fait partie du cours={{{fait_partie_du_cours|}}} }}

Version du 29 août 2013 à 11:02

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.