« Aide:Anti-sèche » : différence entre les versions

1 903 octets ajoutés ,  27 mars 2012
m
Révocation des modifications de Ilenekari (discussion) vers la dernière version de WikiSysop
Aucun résumé des modifications
m (Révocation des modifications de Ilenekari (discussion) vers la dernière version de WikiSysop)
 
(27 versions intermédiaires par 6 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
Adapté des Anti-sèches de Wikipedia, un petit tableau fort utile pour se souvenir de la syntaxe de base de MediaWiki.
{{Aide:Accueil/Navigation}}
Cette page regroupe l'essentiel de ce que vous avez à connaître sur l'écriture Wiki. C'est un peu le couteau suisse du contributeur, dès que vous avez un doute, n'hésitez pas à y faire un tour.


ATTENTION pour '''passer une ligne entre deux paragraphes''', il faut faire deux sauts de ligne et donc appuyer deux fois sur la touche ENTREE.
== Syntaxe et habitudes d'écriture ==
Pour '''passer une ligne entre deux paragraphes''', il faut faire deux sauts de ligne et donc appuyer deux fois sur la touche <big>Entrée</Big>.


{| style="background-color:white; font-size:small; float: left; margin:3px 3px 3px 10px"
Pour faire un retour à la ligne, il vous faut placer la balise <nowiki><br></nowiki> à la fin de la phrase.
 
Pour utiliser des modèles, voir [[Aide:Modèles|la page qui leur est consacrée]].
 
{{clr|right}}
== Tableau récapitulatif ==
=== Mise en page ===
{| style="background-color:white; font-size:small; float: left; margin:3px 3px 3px 10px; width: 100%;"
|-
|-
|style="background-color:#B9D3EE" |'''Texte Wiki'''
|style="background-color:#ececec" |'''Texte wiki'''
|style="background-color:#B9D3EE" |'''Résultat'''
|style="background-color:#ececec" |'''Résultat'''
|style="background-color:#B9D3EE" |'''Bouton'''
|style="background-color:#ececec" |'''Bouton'''
|-
|-
|style="background-color:#B9D3EE" |<nowiki>''italique''</nowiki>
|style="background-color:#ececec" |<nowiki>''italique''</nowiki>
|style="background-color:#B9D3EE" |''Italique''
|style="background-color:#ececec" |''Italique''
|style="background-color:#B9D3EE" |[[Image:Italic.gif]]
|style="background-color:#ececec" |[[Image:italique.jpg]]
|-
|-
|style="background-color:#B9D3EE" |<nowiki>'''gras'''</nowiki>
|style="background-color:#ececec" |<nowiki>'''gras'''</nowiki>
|style="background-color:#B9D3EE" |'''Gras'''
|style="background-color:#ececec" |'''Gras'''
|style="background-color:#B9D3EE" |[[Image:Gras.gif]]
|style="background-color:#ececec" |[[Image:gras.jpeg]]
|-
|-
|style="background-color:#B9D3EE" |<nowiki>'''''gras et italique'''''</nowiki>
|style="background-color:#ececec" |<nowiki>'''''gras et italique'''''</nowiki>
|style="background-color:#B9D3EE" |'''''Gras et italique'''''
|style="background-color:#ececec" |'''''Gras et italique'''''
|style="background-color:#B9D3EE" |[[Image:Italic.gif]] + [[Image:Gras.gif]]
|style="background-color:#ececec" |[[Image:italique.jpg]] + [[Image:gras.jpeg]]
|-
|-
|style="background-color:#B9D3EE" |
|style="background-color:#ececec" |
<nowiki>==Nouveau chapitre==</nowiki><br />
<nowiki>==Nouveau chapitre==</nowiki><br />
<nowiki>===Nouvelle section===</nowiki><br />
<nowiki>===Nouvelle section===</nowiki><br />
<nowiki>====Nouvelle sous-section====</nowiki><br />
<nowiki>====Nouvelle sous-section====</nowiki><br />
<nowiki>=====Nouveau paragraphe=====</nowiki>
<nowiki>=====Nouveau paragraphe=====</nowiki>
|style="background-color:#B9D3EE" |Titres de tailles différentes
|style="background-color:#ececec" |Titres de tailles différentes
|style="background-color:#B9D3EE" |[[Image:Titre.gif]]
|style="background-color:#ececec" |[[Image:titre.jpg]]
|-
|-
|style="background-color:#B9D3EE" |<nowiki>[[Titre d'une page]]</nowiki><br />
|style="background-color:#ececec" |
<nowiki>[[Titre|Texte différent]]</nowiki>
|style="background-color:#B9D3EE" |Lien interne vers une autre page sur le wiki <br />(rouge page inexistante, bleu page existante)
|style="background-color:#B9D3EE" |[[Image:Lien_interne.gif]]
|-
|style="background-color:#B9D3EE" |
<nowiki>http://www.exemple.org</nowiki><br />
<nowiki>[http://www.exemple.org Texte]</nowiki>
|style="background-color:#B9D3EE" |Lien externe<br />
Lien avec une description
|style="background-color:#B9D3EE" |[[Image:Lien_externe.gif]]
|-
|style="background-color:#B9D3EE" |<nowiki>[[Catégorie:Exemple]]</nowiki>
|style="background-color:#B9D3EE" |Ajoute l'article à la catégorie « Exemple »
|style="background-color:#B9D3EE" |[[Image:Catégorie.jpg]]
|-
|style="background-color:#B9D3EE" |
<nowiki>----</nowiki>
<nowiki>----</nowiki>
|style="background-color:#B9D3EE" |Place un trait horizontal dans la page
|style="background-color:#ececec" |Place un trait horizontal dans la page
|style="background-color:#B9D3EE" |[[Image:Trait.gif]]
|style="background-color:#ececec" |[[Image:Lgne.jpg]]
|-
|-
|style="background-color:#B9D3EE" |
|style="background-color:#ececec" |
<nowiki>* un</nowiki><br />
<nowiki>* un</nowiki><br />
<nowiki>* deux</nowiki><br />
<nowiki>* deux</nowiki><br />
<nowiki>* trois</nowiki>
<nowiki>* trois</nowiki>
|style="background-color:#B9D3EE" |Liste à puces
|style="background-color:#ececec" |
|style="background-color:#B9D3EE" |[[Image:Liste.jpg]]
* un
* deux
* trois
|style="background-color:#ececec" |
|-
|-
|style="background-color:#B9D3EE" |
|style="background-color:#ececec" |
<nowiki># un</nowiki><br />
<nowiki># un</nowiki><br />
<nowiki># deux</nowiki><br />
<nowiki># deux</nowiki><br />
<nowiki># trois</nowiki>
<nowiki># trois</nowiki>
|style="background-color:#B9D3EE" |Liste numérotée
|style="background-color:#ececec" |
|style="background-color:#B9D3EE" |[[Image:Liste1.jpg]]
# un
# deux
# trois
|style="background-color:#ececec" |
|-
|-
|style="background-color:#B9D3EE" |<nowiki>[[Image:Fichier.jpg]]</nowiki><br />
|}
 
=== Liens ===
{| style="background-color:white; font-size:small; float: left; margin:3px 3px 3px 10px; width: 100%;"
|-
|style="background-color:#ececec" |'''Texte wiki'''
|style="background-color:#ececec" |'''Résultat'''
|style="background-color:#ececec" |'''Bouton'''
|-
|style="background-color:#ececec" |<nowiki>[[Titre d'une page]]</nowiki><br />
<nowiki>[[Titre|Texte différent]]</nowiki>
|style="background-color:#ececec" |Lien interne vers une autre page sur le wiki <br />(rouge page inexistante, bleu page existante)
|style="background-color:#ececec" |[[Image:lien_interne.jpg]]
|-
|style="background-color:#ececec" |
<nowiki>{{w|Chaussure}}</nowiki><br />
|style="background-color:#ececec" |Lien externe vers Wikipedia (exemple avec l'article "Chaussure")<br />
|style="background-color:#ececec" |[[Image:Button_link_to_Wikipedia.png]]
|-
|style="background-color:#ececec" |
<nowiki>[http://www.exemple.org]</nowiki><br />
<nowiki>[http://www.exemple.org Texte]</nowiki>
|style="background-color:#ececec" |Lien externe<br />
Lien avec une description
|style="background-color:#ececec" |[[Image:lien_externe.jpg]]
|-
|style="background-color:#ececec" |<nowiki>[[Catégorie:Exemple]]</nowiki><br><nowiki>[[Catégorie:Exemple|G]]</nowiki>
|style="background-color:#ececec" |Ajoute l'article à la catégorie « Exemple »<br>Ajoute l'article à la catégorie « Exemple », à la lettre G
|style="background-color:#ececec" |
|-
|style="background-color:#ececec" |<nowiki>{{source wikipédia}}</nowiki>
|style="background-color:#ececec" |Permet d'indiquer que l'article est une copie de Wikipédia ([[Modèle:source wikipédia|aide]])
|style="background-color:#ececec" |[[Image:Button_lauriers.png]]
|-
|style="background-color:#ececec" |<nowiki>{{citation}}</nowiki>
|style="background-color:#ececec" |Ajoute le modèle « citation », avec les paramètres ([[Modèle:citation|aide]])
|style="background-color:#ececec" |[[Image:Button_comillas_latinas.png]]
|-
|style="background-color:#ececec" |<nowiki>{{Commons}}</nowiki>
|style="background-color:#ececec" |Ajoute le modèle « Commons », avec les paramètres ([[Modèle:Commons|aide]])
|style="background-color:#ececec" |[[Image:Button_commons.png]]
|-
|}
 
=== Images et médias ===
{| style="background-color:white; font-size:small; float: left; margin:3px 3px 3px 10px; width: 100%;"
|-
|style="background-color:#ececec" |'''Texte wiki'''
|style="background-color:#ececec" |'''Résultat'''
|style="background-color:#ececec" |'''Bouton'''
|-
|style="background-color:#ececec" |<nowiki>[[Image:Fichier.jpg]]</nowiki><br />
<nowiki>[[Image:Fichier.jpg|Texte]]</nowiki><br />
<nowiki>[[Image:Fichier.jpg|Texte]]</nowiki><br />
<nowiki>[[Image:Fichier.jpg|300px|center]]</nowiki><br />
<nowiki>[[Image:Fichier.jpg|300px|center]]</nowiki><br />
<nowiki>[[Image:Fichier.jpg|thumb|Texte]]</nowiki><br />
<nowiki>[[Image:Fichier.jpg|thumb|Texte]]</nowiki><br />
<nowiki>[[:Image:Fichier.jpg|Texte]]</nowiki><br />
<nowiki>[[:Image:Fichier.jpg|Texte]]</nowiki><br />
|style="background-color:#B9D3EE" |Image<br />
|style="background-color:#ececec" |Image<br />
Image avec texte alternatif <br />
Image avec texte alternatif <br />
Image centrée d'une taille de 300 pixels (possible aussi avec left ou right)<br />
Image centrée d'une taille de 300 pixels (possible aussi avec left ou right)<br />
Image miniaturisée avec légende<br />
Image miniaturisée avec légende<br />
Lien vers la page de l'image
Lien vers la page de l'image
|style="background-color:#B9D3EE" |[[Image:Image.gif]]
|style="background-color:#ececec" |[[Image:image.jpg]]
|-
|-
|style="background-color:#B9D3EE" |<nowiki><center></nowiki><br />
|style="background-color:#ececec" |<nowiki><center></nowiki><br />
<nowiki><gallery perrow=3 caption="titre" widths=150></nowiki><br />
<nowiki><gallery perrow=3 caption="titre" widths=150></nowiki><br />
<nowiki>Image:Fichier.jpg|légende</nowiki><br />
<nowiki>Image:Fichier.jpg|légende</nowiki><br />
Ligne 83 : Ligne 133 :
<nowiki></gallery></nowiki><br />
<nowiki></gallery></nowiki><br />
<nowiki></center></nowiki>
<nowiki></center></nowiki>
|style="background-color:#B9D3EE" |Créer une galerie centrée d'images légendées <br /><br />''Le paramètre '''perrow=3''' permet de ne mettre que trois colonnes'' <br /> ''Le paramètre '''caption="titre de ma galerie"''' permet de générer un titre'' <br /> ''Le paramètre '''widths=150''' permet d'agrandir la taille des images dans la galerie''
|style="background-color:#ececec" |Créer une galerie centrée d'images légendées <br /><br />''Le paramètre '''perrow=3''' permet de ne mettre que trois colonnes'' <br /> ''Le paramètre '''caption="titre de ma galerie"''' permet de générer un titre'' <br /> ''Le paramètre '''widths=150''' permet d'agrandir la taille des images dans la galerie''
|style="background-color:#B9D3EE"|[[Image:Galerie.jpg]]
|style="background-color:#ececec"|
|-
|style="background-color:#ececec" |<nowiki>[[Media:Fichier.ogg]]</nowiki>
|style="background-color:#ececec" |Lien de téléchargement d'un fichier (.mp3, .ogg ou .pdf)
|style="background-color:#ececec" |[[Image:son.jpg]]
|-
|}
 
=== Discussion ===
{| style="background-color:white; font-size:small; float: left; margin:3px 3px 3px 10px; width: 100%;"
|-
|-
|style="background-color:#B9D3EE" |<nowiki>[[Media:Fichier.ogg]]</nowiki>
|style="background-color:#ececec" |'''Texte wiki'''
|style="background-color:#B9D3EE" |Lien de téléchargement d'un fichier (.mp3, .ogg ou .pdf)
|style="background-color:#ececec" |'''Résultat'''
|style="background-color:#B9D3EE" |[[Image:Media.gif]]
|style="background-color:#ececec" |'''Bouton'''
|-
|-
|style="background-color:#B9D3EE" |<nowiki>{{Nom}}</nowiki>
|style="background-color:#ececec" |<nowiki>~~~</nowiki>
|style="background-color:#B9D3EE" |Ajoute le modèle « Nom »
|style="background-color:#ececec" |Signature (Lien vers page utilisateur)
|style="background-color:#B9D3EE" |[[Image:Modèle.jpg]]
|style="background-color:#ececec" |
|-
|-
|style="background-color:#B9D3EE" |<nowiki>~~~</nowiki>
|style="background-color:#ececec" |<nowiki>~~~~</nowiki>
|style="background-color:#B9D3EE" |Signature (Lien vers page utilisateur)
|style="background-color:#ececec" |Signature horodatée
|style="background-color:#B9D3EE" |
|style="background-color:#ececec" |[[Image:signature.jpg]]
|-
|-
|style="background-color:#B9D3EE" |<nowiki>~~~~</nowiki>
|}
|style="background-color:#B9D3EE" |Signature horodatée
 
|style="background-color:#B9D3EE" |[[Image:Signature.gif]]
=== Gestion des articles ===
{| style="background-color:white; font-size:small; float: left; margin:3px 3px 3px 10px; width: 100%;"
|-
|-
|style="background-color:#B9D3EE" |<nowiki>#REDIRECT [[Autre article]]</nowiki>
|style="background-color:#ececec" |'''Texte wiki'''
|style="background-color:#B9D3EE" |Redirige vers un autre article
|style="background-color:#ececec" |'''Résultat'''
|style="background-color:#B9D3EE" |[[Image:Redirect.jpg]]
|style="background-color:#ececec" |'''Bouton'''
|-
|-
|style="background-color:#B9D3EE" |<nowiki>__NOTOC__</nowiki>
|style="background-color:#ececec" |<nowiki>#REDIRECT [[Autre article]]</nowiki>
|style="background-color:#B9D3EE" |Permet d'éviter l'affichage du sommaire automatique
|style="background-color:#ececec" |Redirige vers un autre article
|style="background-color:#B9D3EE" |
|style="background-color:#ececec" |[[Image:Button_redir.png]]
|-
|-
|style="background-color:#B9D3EE" |<nowiki><poem>...</poem></nowiki>
|style="background-color:#ececec" |<nowiki>__NOTOC__</nowiki>
|style="background-color:#B9D3EE" |A utiliser entres autres pour les paroles de chansons.<br> Evite d'avoir à passer deux lignes pour un retour à la ligne
|style="background-color:#ececec" |Permet d'éviter l'affichage du sommaire automatique
|style="background-color:#B9D3EE" |
|style="background-color:#ececec" |
|-
|-
|style="background-color:#B9D3EE" |<nowiki>[mailto:contact@wiki-brest.net Contacter l'animatrice]</nowiki><br><nowiki>[mailto:contact@wiki-brest.net contact@wiki-brest.net]</nowiki>
|style="background-color:#B9D3EE" |Mettre un lien vers une adresse mail<br>[mailto:contact@wiki-brest.net Contacter l'animatrice]<br>[mailto:contact@wiki-brest.net contact@wiki-brest.net]
|style="background-color:#B9D3EE" |
|}
|}


<br clear=all>
== Sources ==
 
Cette page est inspirée de :  
===source :===
* [http://meta.wikimedia.org/wiki/Cheatsheet/fr Anti-sèche de MediaWiki]
* http://meta.wikimedia.org/wiki/Cheatsheet/fr
* [http://www.wiki-brest.net/index.php/Anti-s%C3%A8che Anti-sèche de Wiki-Brest]


[[Catégorie:Aide]] [[Catégorie:Wikikit]]
[[Catégorie:Aide]]
8 230

modifications