Template:Tutoriel: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(28 intermediate revisions by the same user not shown)
Line 26: Line 26:
<big>{{#ifexist:{{{fait_partie_du_cours|}}}|[[{{{fait_partie_du_cours|}}}]][[category:{{{fait_partie_du_cours|}}}]]|{{PAGENAME}} }}</big></th>  
<big>{{#ifexist:{{{fait_partie_du_cours|}}}|[[{{{fait_partie_du_cours|}}}]][[category:{{{fait_partie_du_cours|}}}]]|{{PAGENAME}} }}</big></th>  
     </tr>
     </tr>
    {{#if:{{{source|}}}|
    <tr>
      <th colspan="2" style="text-align:center;font-weight:400;">Source à citer: {{{source|}}}</th>
    </tr>
    }}
   {{#if:{{{fait_partie_du_module|}}}|
   {{#if:{{{fait_partie_du_module|}}}|
     <tr><!-- code module -->
     <tr><!-- code module -->
Line 58: Line 63:
     </tr>
     </tr>
     }}
     }}
      
     {{#if:{{{objectif|}}}|
</div>
    <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>
    }}
  {{#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">[[:Category: {{{cat tutoriels|}}}]][[Category: {{{cat tutoriels|}}}]]</tr>
  }}
  <tr><td style="font-size:smaller" colspan="2"> {{#formlink:form=Tutoriel |link text=Editer |link type=button |target ={{PAGENAME}} }}</td></tr>
  </table>




{{#default_form:tutoriel}}
[[Category:tutoriel]]
[[Category:tutoriel]]
</includeonly><noinclude>
</includeonly><noinclude>
[[Category:Modèles]]
[[Category:Modèles]]
</noinclude>
</noinclude>

Latest revision as of 11:55, 8 September 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.