« Modèle:Travail pratique présentation » : différence entre les versions

Une page de Wikiversité, la communauté pédagogique libre.
Contenu supprimé Contenu ajouté
Nouveau modèle pour les TPs
 
mAucun résumé des modifications
Ligne 9 : Ligne 9 :
|colspan="4" style="text-align: left;"|<big>'''''Après ce TP, vous saurez :'''''</big>
|colspan="4" style="text-align: left;"|<big>'''''Après ce TP, vous saurez :'''''</big>
|-
|-
|colspan="4" style="text-align: left;" scope="row"|{{#ifeq: {{{objectif1}}} |* {{{objectif1|}}}
|colspan="4" style="text-align: left;" scope="row"|{{#ifeq: {{{objectif1}}} |<big>* {{{objectif1|}}}
}}{{#ifeq: {{{objectif2}}} |* {{{objectif2|}}}
}}{{#ifeq: {{{objectif2}}} |* {{{objectif2|}}}
}}{{#ifeq: {{{objectif3}}} |* {{{objectif3|}}}
}}{{#ifeq: {{{objectif3}}} |* {{{objectif3|}}}
}}{{#ifeq: {{{objectif4}}} |* {{{objectif4|}}}
}}{{#ifeq: {{{objectif4}}} |* {{{objectif4|}}}
}}{{#ifeq: {{{objectif5}}} |* {{{objectif5|}}}
}}{{#ifeq: {{{objectif5}}} |* {{{objectif5|}}}
}}{{#ifeq: {{{objectif6}}} |* {{{objectif6|}}}}}
}}{{#ifeq: {{{objectif6}}} |* {{{objectif6|}}}}}</big>
|-
|-
|colspan="4" style="text-align: left;" |<big>'''''Durée :'''''</big> {{{durée|Indiquer le nombre d'heures avec le paramètre durée}}}
|colspan="4" style="text-align: left;" |<big>'''''Durée :''''' {{{durée|Indiquer le nombre d'heures avec le paramètre durée}}}</big>
|-
|-
|colspan="4" style="text-align: left;"|<big>'''''Matériel{{#ifeq: {{{matériel2}}} |s}} :'''''</big>
|colspan="4" style="text-align: left;"|<big>'''''Matériel{{#ifeq: {{{matériel2}}} |s}} :'''''</big>
|-
|-
|colspan="4" style="text-align: left;" scope="row"|{{#ifeq: {{{matériel1}}} |* {{{matériel1|}}}
|colspan="4" style="text-align: left;" scope="row"|<big>{{#ifeq: {{{matériel1}}} |* {{{matériel1|}}}
}}{{#ifeq: {{{matériel2}}} |* {{{matériel2|}}}
}}{{#ifeq: {{{matériel2}}} |* {{{matériel2|}}}
}}{{#ifeq: {{{matériel3}}} |* {{{matériel3|}}}
}}{{#ifeq: {{{matériel3}}} |* {{{matériel3|}}}
}}{{#ifeq: {{{matériel4}}} |* {{{matériel4|}}}
}}{{#ifeq: {{{matériel4}}} |* {{{matériel4|}}}
}}{{#ifeq: {{{matériel5}}} |* {{{matériel5|}}}
}}{{#ifeq: {{{matériel5}}} |* {{{matériel5|}}}
}}{{#ifeq: {{{matériel6}}} |* {{{matériel6|}}}}}
}}{{#ifeq: {{{matériel6}}} |* {{{matériel6|}}}}}</big>
|}</div></includeonly>
|}</div></includeonly>

Version du 28 décembre 2011 à 15:53

Documentation du modèle

Documentation

Après ce TP, vous saurez :
Durée :h
Matériel :

Voici un exemple d'inclusion du modèle.

Pour inclure le modèle, copier le modèle en bas en remplissant les champs adéquats.

{{Travail pratique présentation
 | durée = 
 | objectif1 = 
 | objectif2 = 
 | objectif3 = 
 | objectif4 = 
 | objectif5 = 
 | objectif6 = 
 | matériel1 = 
 | matériel2 = 
 | matériel3 = 
 | matériel4 =  
 | matériel5 =  
 | matériel6 =  
}}
Les paramètres du modèle
Nom du paramètre Description Valeur par défaut
align Alignement du modèle. Valeurs possibles : left, center ou right. center
durée Permet la catégorisation du chapitre suivant son niveau de difficulté. vide
objectifX Affiche les objectifs du TP dans une liste vide
matérielX Affiche le matériel nécessaire pour le TP dans une liste vide

Comme exemple, le modèle est :

{{Travail pratique présentation
  | objectif1 = Installer Linux pour faire les TP suivants
  | durée = {{unité|4|{{abréviation|h|heure}}}}
  | matériel1 = un ordinateur avec ou sans système déjà installé 
  | matériel2 = un graveur de CD 
  | matériel3 = un CD vierge
  | matériel4 = être à proximité d'un autre ordinateur connecté à l'internet 
}}

Il y a une option supplémentaire : l'alignement. Par défaut, l'alignement est au centre (center)
Syntaxe :

{{Travail pratique
|align=left, center ou right
 | durée = 
 | objectif1 = 
 | objectif2 = 
 | objectif3 = 
 | objectif4 = 
 | objectif5 = 
 | objectif6 = 
 | matériel1 = 
 | matériel2 = 
 | matériel3 = 
 | matériel4 =  
 | matériel5 =  
 | matériel6 = 
}}


Exemple

{{Travail pratique présentation
 |align = left
  | objectif1 = Installer Linux pour faire les TP suivants
  | durée = {{unité|4|{{abréviation|h|heure}}}}
  | matériel1 = un ordinateur avec ou sans système déjà installé 
  | matériel2 = un graveur de CD 
  | matériel3 = un CD vierge
  | matériel4 = être à proximité d'un autre ordinateur connecté à l'internet 
}}


Après ce TP, vous saurez :
Durée :h
Matériel :


Modèle en relation