Help:Extension:TemplateWizard/fr

Qu'est-ce que l'Assistant de modèle ?
L'Assistant de modèle est une  MediaWiki qui fournit une boîte de dialogue pour permettre l'insertion de modèles dans le, à partir de la barre d'outils de l'Éditeur wiki.

Comment utiliser l'Assistant de modèle ?

 * Pour utiliser l'Assistant de modèle, éditez une page wiki avec l'éditeur wiki (qui n'est pas l'éditeur visuel 2017)
 * placez le curseur à l'endroit où vous voulez insérer le modèle. Puis cliquez sur l'icône en forme de puzzle OOjs UI icon puzzle-ltr.svg dans la barre d'outils - TemplateWizard icon.png
 * une boîte de dialogue apparaîtra

Comment trouver un modèle ?

 * Commencez à entrer le nom du modèle pour avoir accès à une liste de modèles que vous pourrez choisir. TemplateWizard help search en.png
 * Note : Seuls les modèles utilisant TemplateData auront une description. Nous vous encourageons à ajouter les informations TemplateData aux modèles.


 * Quand vous avez trouvé le modèle que vous recherchiez, cliquez dessus (ou utilisez les flèches pour vous déplacer dessus) et appuyez sur Entrée. Ceci vous amènera au formulaire d'entrée des données.

Comment ajouter des données au modèle choisi ?

 * The top bar you see now contains the template title, description, a link OOjs UI icon link-ltr-progressive.svg to the template's wiki page, and a close button OOjs UI icon trash-destructive.svg to close the template form and return to search.
 * The left-side list of parameters, divided into up to three parts for required, suggested, and optional parameters. This area also has a button at the bottom with which to add or remove all non-required fields at once. Note that some templates have no parameters, and in these cases nothing will be listed here. When you click on a template parameter, it gets added to the right side.
 * The right-side form containing the actual data-entry fields into which you put the values that will be added to the wikitext. Only those parameters that are listed here will be inserted into the editing area (including those that contain no value, as templates can treat this differently from the parameter not being present at all).
 * You can click on the info icons above the template fields to read more information about them.
 * TemplateWizard works most effectively with templates that have TemplateData defined: i.e. their parameters have been documented in a detailed and structured way, including default values etc. (information about how to do that is in the TemplateData help pages). It also works without TemplateData definitions, although with some reduced functionality. These two modes are described in the next two sections.

      

Utilisation de TemplateWizard avec TemplateData
Il existe 7 (sept) types différents de champs utilisés dans TemplateWizard, basés sur le type de paramètre défini dans TemplateData.

TemplateData itself supports more field types than are listed above. Some of these may be added in.

Utiliser TemplateWizard sans TemplateData
If a template does not have any TemplateData, then an attempt will be made to guess the names of its parameters, and these will be presented as standard text entry form fields with labels as they are guessed.

Note that it is likely that there will be duplicated, deprecated, or missing parameters in this list, because template authors will do things such as the following to allow different forms of a parameter name: (note the difference in letter case). It is common for there to be a prefered form for a parameter, and this can only be found by viewing the template documentation (and, while you're there, maybe adding TemplateData, so other people aren't confused in the future!).

Comment insérer le modèle ?
When you've added all desired parameters to the template form and given them their values (including no value at all if you need an empty parameter), click the 'Submit' button at the top right of the dialog window and the template wikitext will be inserted at the cursor's current location in the main page editing box.

Template text will be inserted according to the format defined in TemplateData; if none is given then the 'inline' format will be used. It is not possible to have a different custom format for one template (but of course the template wikitext can always be edited after insertion).

Voir aussi

 * Help talk:Extension:TemplateWizard – end-user help forum for the extension.
 * – the extension's home page, aimed at system administrators and developers.
 * tag/TemplateWizard – issue tracking system for bugs and missing features.