Category:Template/fr
Comment créer un nouveau modèle
Pour certaines utilisations, si vous voulez répéter certaines actions sur des pages redondantes sans efforts, vous avez besoin d'écrire un modèle (ou gabarit) de votre page.
Un modèle est comme une page, aussi un modèle «faites-le facilement» devrait exister à l'adresse URL : [[1]].
Créez-là et copiez/collez les balises wiki que vous avez déjà créées pour «faites-le facilement» dans cette page et sauvegardez-là. Ensuite, utilisez le code {{Faites-le facilement}} là où vous voulez inclure le gabarit sur tout autre page.
Templates
Templates are great at keeping things looking consistent. If you are new, you may not be ready to create them, but don't worry, they are very easy to use. Just add the contents in the "what to type" column and you will get the text in the "What it looks like" column inserted on the page.
Click on the template name for usage options that may not be apparent, translators should see Languages
What to insert | What it looks like | Where to insert |
---|---|---|
{{Note box|string}} |
|
Anywhere |
{{Tip box|string}} |
|
Anywhere |
{{Warning box|string}} |
|
Anywhere |
{{Level|level|comment}} |
[[Category: {{{1}}}]] |
Under title |
{{Incomplete}} |
|
Anywhere |
{{Cleanup}} |
|
Anywhere |
{{Request_for_deletion}} |
|
Top of Article |
{{Ready_for_deletion}} |
|
Top of Article |
{{Outdated}} |
|
Top of Article |
{{Needs review}} |
|
Top of Article |
{{WIP box}} or
{{WIP box|Username}} |
or |
Top of Article |
{{Languages|pagename of English version}} |
|
Top of Article |
{{Repository|Repositoryname}} |
The following command will configure the snetram repository on SME Server. Snetram After adding it to the database we have to update the changes to the configuration file: signal-event yum-modify |
Anywhere |
{{#smeversion:package|description}} | ||
{{Donate}} |
|
Top of Article |
{{Template:BugzillaFileBug}} |
|
Bottom of Article |
Credits: Some of these templates have been integrally taken from the MythTV wiki others are heavily based on them.