Template:Tutoriel: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 48: Line 48:
       <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>
<tr><td><span style="font-size:20px;font-weight:900;">⚒</span> {{REVISIONYEAR}}/{{REVISIONMONTH}}/{{REVISIONDAY2}}</td>
    <tr><td><span style="font-size:20px;font-weight:900;">⚒</span> {{REVISIONYEAR}}/{{REVISIONMONTH}}/{{REVISIONDAY2}}</td>
         {{#if:{{{dernière_modif|}}}|<td><span style="font-size:20px;font-weight:900;">⚒⚒</span> {{{dernière_modif|}}}</td>|<td></td>}}
         {{#if:{{{dernière_modif|}}}|<td><span style="font-size:20px;font-weight:900;">⚒⚒</span> {{{dernière_modif|}}}</td>|<td></td>}}
     </tr>
     </tr>
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>}}
    }}
</div>
</div>



Revision as of 19:00, 9 April 2021

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.