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|}}}|
     {{#if:{{{voir_aussi|}}}|
     <tr>
     <tr>
Line 85: Line 78:
     <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>}}
     <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>



Revision as of 19:04, 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.