« Aide:Anti-sèche » : différence entre les versions
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 1 : | Ligne 1 : | ||
{| style="background-color: | Adapté des Anti-sèches de Wikipedia, un petit tableau fort utile pour se souvenir de la syntaxe de base de MediaWiki. | ||
ATTENTION pour '''passer une ligne entre deux paragraphes''', il faut faire deux sauts de ligne et donc appuyer deux fois sur la touche ENTREE. | |||
{| style="background-color:white; font-size:small; float: left; margin:3px 3px 3px 10px" | |||
|- | |- | ||
|style="background-color:#B9D3EE" |'''Texte Wiki''' | |||
|style="background-color:#B9D3EE" |'''Résultat''' | |||
|style="background-color:#B9D3EE" |'''Bouton''' | |||
|- | |- | ||
|<nowiki>''italique''</nowiki> | |style="background-color:#B9D3EE" |<nowiki>''italique''</nowiki> | ||
|'' | |style="background-color:#B9D3EE" |''Italique'' | ||
|style="background-color:#B9D3EE" |[[Image:Italic.gif]] | |||
|- | |- | ||
|<nowiki>'''gras'''</nowiki> | |style="background-color:#B9D3EE" |<nowiki>'''gras'''</nowiki> | ||
|''' | |style="background-color:#B9D3EE" |'''Gras''' | ||
|style="background-color:#B9D3EE" |[[Image:Gras.gif]] | |||
|- | |- | ||
| | |style="background-color:#B9D3EE" |<nowiki>'''''gras et italique'''''</nowiki> | ||
<nowiki> | |style="background-color:#B9D3EE" |'''''Gras et italique''''' | ||
|style="background-color:#B9D3EE" |[[Image:Italic.gif]] + [[Image:Gras.gif]] | |||
| | |||
|- | |- | ||
| <nowiki> | |style="background-color:#B9D3EE" | | ||
| | <nowiki>==Nouveau chapitre==</nowiki><br /> | ||
<nowiki>===Nouvelle section===</nowiki><br /> | |||
<nowiki>====Nouvelle sous-section====</nowiki><br /> | |||
<nowiki>=====Nouveau paragraphe=====</nowiki> | |||
|style="background-color:#B9D3EE" |Titres de tailles différentes | |||
|style="background-color:#B9D3EE" |[[Image:Titre.gif]] | |||
|- | |- | ||
| <nowiki>[[ | |style="background-color:#B9D3EE" |<nowiki>[[Titre d'une page]]</nowiki><br /> | ||
| | <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> | <nowiki>http://www.exemple.org</nowiki><br /> | ||
<nowiki> | <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]] | |||
<nowiki> | |||
| | |||
# | |||
# | |||
|- | |- | ||
| <nowiki> | |style="background-color:#B9D3EE" | | ||
| | <nowiki>----</nowiki> | ||
|style="background-color:#B9D3EE" |Place un trait horizontal dans la page | |||
|style="background-color:#B9D3EE" |[[Image:Trait.gif]] | |||
|- | |- | ||
| <nowiki> | |style="background-color:#B9D3EE" | | ||
| | <nowiki>* un</nowiki><br /> | ||
<nowiki>* deux</nowiki><br /> | |||
<nowiki>* trois</nowiki> | |||
|style="background-color:#B9D3EE" |Liste à puces | |||
|style="background-color:#B9D3EE" |[[Image:Liste.jpg]] | |||
|- | |- | ||
| <nowiki> | |style="background-color:#B9D3EE" | | ||
| | <nowiki># un</nowiki><br /> | ||
<nowiki># deux</nowiki><br /> | |||
<nowiki># trois</nowiki> | |||
|style="background-color:#B9D3EE" |Liste numérotée | |||
|style="background-color:#B9D3EE" |[[Image:Liste1.jpg]] | |||
|- | |- | ||
| <nowiki>< | |style="background-color:#B9D3EE" |<nowiki>[[Image:Fichier.jpg]]</nowiki><br /> | ||
| | <nowiki>[[Image:Fichier.jpg|Texte]]</nowiki><br /> | ||
<nowiki>[[Image:Fichier.jpg|300px|center]]</nowiki><br /> | |||
<nowiki>[[Image:Fichier.jpg|thumb|Texte]]</nowiki><br /> | |||
<nowiki>[[:Image:Fichier.jpg|Texte]]</nowiki><br /> | |||
|style="background-color:#B9D3EE" |Image<br /> | |||
Image avec texte alternatif <br /> | |||
Image centrée d'une taille de 300 pixels (possible aussi avec left ou right)<br /> | |||
Image miniaturisée avec légende<br /> | |||
Lien vers la page de l'image | |||
|style="background-color:#B9D3EE" |[[Image:Image.gif]] | |||
|- | |- | ||
| <nowiki>< | |style="background-color:#B9D3EE" |<nowiki><center></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 /> | |||
<nowiki>Image:Fichier.jpg|légende</nowiki><br /> | |||
<nowiki></gallery></nowiki><br /> | |||
<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:#B9D3EE"|[[Image:Galerie.jpg]] | |||
|- | |- | ||
| <nowiki>[ | |style="background-color:#B9D3EE" |<nowiki>[[Media:Fichier.ogg]]</nowiki> | ||
| | |style="background-color:#B9D3EE" |Lien de téléchargement d'un fichier (.mp3, .ogg ou .pdf) | ||
|style="background-color:#B9D3EE" |[[Image:Media.gif]] | |||
|- | |- | ||
| <nowiki> | |style="background-color:#B9D3EE" |<nowiki>{{Nom}}</nowiki> | ||
| | |style="background-color:#B9D3EE" |Ajoute le modèle « Nom » | ||
|style="background-color:#B9D3EE" |[[Image:Modèle.jpg]] | |||
|- | |- | ||
|<nowiki> | |style="background-color:#B9D3EE" |<nowiki>~~~</nowiki> | ||
| | |style="background-color:#B9D3EE" |Signature (Lien vers page utilisateur) | ||
|style="background-color:#B9D3EE" | | |||
|- | |- | ||
| | |style="background-color:#B9D3EE" |<nowiki>~~~~</nowiki> | ||
<nowiki>== | |style="background-color:#B9D3EE" |Signature horodatée | ||
<nowiki> | |style="background-color:#B9D3EE" |[[Image:Signature.gif]] | ||
<nowiki>: | |- | ||
<nowiki>: | |style="background-color:#B9D3EE" |<nowiki>#REDIRECT [[Autre article]]</nowiki> | ||
< | |style="background-color:#B9D3EE" |Redirige vers un autre article | ||
| | |style="background-color:#B9D3EE" |[[Image:Redirect.jpg]] | ||
|- | |||
|style="background-color:#B9D3EE" |<nowiki>__NOTOC__</nowiki> | |||
|style="background-color:#B9D3EE" |Permet d'éviter l'affichage du sommaire automatique | |||
|style="background-color:#B9D3EE" | | |||
|- | |||
|style="background-color:#B9D3EE" |<nowiki><poem>...</poem></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:#B9D3EE" | | |||
|- | |||
|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> | |||
===source :=== | |||
* http://meta.wikimedia.org/wiki/Cheatsheet/fr | |||
[[Catégorie:Aide]] [[Catégorie:Wikikit]] |
Version du 26 février 2010 à 09:12
Adapté des Anti-sèches de Wikipedia, un petit tableau fort utile pour se souvenir de la syntaxe de base de MediaWiki.
ATTENTION pour passer une ligne entre deux paragraphes, il faut faire deux sauts de ligne et donc appuyer deux fois sur la touche ENTREE.
Texte Wiki | Résultat | Bouton |
''italique'' | Italique | Fichier:Italic.gif |
'''gras''' | Gras | Fichier:Gras.gif |
'''''gras et italique''''' | Gras et italique | Fichier:Italic.gif + Fichier:Gras.gif |
==Nouveau chapitre== |
Titres de tailles différentes | ![]() |
[[Titre d'une page]] [[Titre|Texte différent]] |
Lien interne vers une autre page sur le wiki (rouge page inexistante, bleu page existante) |
Fichier:Lien interne.gif |
http://www.exemple.org |
Lien externe Lien avec une description |
Fichier:Lien externe.gif |
[[Catégorie:Exemple]] | Ajoute l'article à la catégorie « Exemple » | ![]() |
---- |
Place un trait horizontal dans la page | Fichier:Trait.gif |
* un |
Liste à puces | Fichier:Liste.jpg |
# un |
Liste numérotée | Fichier:Liste1.jpg |
[[Image:Fichier.jpg]] [[Image:Fichier.jpg|Texte]] |
Image Image avec texte alternatif |
![]() |
<center> <gallery perrow=3 caption="titre" widths=150> |
Créer une galerie centrée d'images légendées Le paramètre perrow=3 permet de ne mettre que trois colonnes Le paramètre caption="titre de ma galerie" permet de générer un titre Le paramètre widths=150 permet d'agrandir la taille des images dans la galerie |
![]() |
[[Media:Fichier.ogg]] | Lien de téléchargement d'un fichier (.mp3, .ogg ou .pdf) | ![]() |
{{Nom}} | Ajoute le modèle « Nom » | Fichier:Modèle.jpg |
~~~ | Signature (Lien vers page utilisateur) | |
~~~~ | Signature horodatée | ![]() |
#REDIRECT [[Autre article]] | Redirige vers un autre article | ![]() |
__NOTOC__ | Permet d'éviter l'affichage du sommaire automatique | |
<poem>...</poem> | A utiliser entres autres pour les paroles de chansons. Evite d'avoir à passer deux lignes pour un retour à la ligne |
|
[mailto:contact@wiki-brest.net Contacter l'animatrice] [mailto:contact@wiki-brest.net contact@wiki-brest.net] |
Mettre un lien vers une adresse mail Contacter l'animatrice contact@wiki-brest.net |