Comment contribuer : Différence entre versions
(ambox test) |
|||
Ligne 31 : | Ligne 31 : | ||
[https://meta.wikimedia.org/wiki/Help:Contents/fr Guide de l’utilisateur] | [https://meta.wikimedia.org/wiki/Help:Contents/fr Guide de l’utilisateur] | ||
− | == Browser cache == | + | |
+ | === Browser cache === | ||
If these boxes don't look alike, you may need to [[Wikipedia:Bypass your cache|refresh your web browser cache]]: | If these boxes don't look alike, you may need to [[Wikipedia:Bypass your cache|refresh your web browser cache]]: | ||
Ligne 49 : | Ligne 50 : | ||
This happens when the class attributes have been updated but still is cached in your browser. This usually is gone in some days. | This happens when the class attributes have been updated but still is cached in your browser. This usually is gone in some days. | ||
Voir la source dans [[wikipedia:Wikipedia:Classes_in_Ambox]] qui s'affiche correct.. | Voir la source dans [[wikipedia:Wikipedia:Classes_in_Ambox]] qui s'affiche correct.. | ||
− | == Basic usage == | + | === Basic usage === |
Simple usage example with the default blue "notice" colour: | Simple usage example with the default blue "notice" colour: | ||
Ligne 80 : | Ligne 81 : | ||
| class="mbox-image" | [[Image:Edit-copy purple.svg|40px]] | | class="mbox-image" | [[Image:Edit-copy purple.svg|40px]] | ||
| class="mbox-text" | Some text. | | class="mbox-text" | Some text. | ||
+ | |} | ||
+ | === Ambox classes === | ||
+ | |||
+ | All the styles for the article message boxes are defined as [[Cascading Style Sheets|CSS]] classes in [[MediaWiki:Common.css]]. This allows the message boxes to be [[Wikipedia:Ambox CSS classes/Skins|skinned]]. That is, they can be overridden in the style sheets for different Wikipedia skins and also in [[Special:Mypage/monobook.css|your own monobook.css]]. | ||
+ | |||
+ | Here are the ambox class names and what they define. | ||
+ | |||
+ | {| class="ambox" | ||
+ | |- | ||
+ | | | ||
+ | | class="mbox-text" | '''ambox''' – The box size, border, background and default colour etc. | ||
+ | |} | ||
+ | {| class="ambox" | ||
+ | |- | ||
+ | | class="mbox-image" | Image | ||
+ | | class="mbox-text" | '''mbox-image''' and '''mbox-imageright''' <br> The size and padding etc. of the image cells. | ||
+ | | class="mbox-imageright" | Imageright | ||
+ | |} | ||
+ | {| class="ambox" | ||
+ | |- | ||
+ | | | ||
+ | | class="mbox-text" | '''mbox-text''' – The size and padding etc. of the text cell. | ||
+ | |} | ||
+ | {| class="ambox ambox-speedy" | ||
+ | |- | ||
+ | | | ||
+ | | class="mbox-text" | '''ambox-speedy''' – The red+pink "speedy deletion" style. | ||
+ | |} | ||
+ | {| class="ambox ambox-delete" | ||
+ | |- | ||
+ | | | ||
+ | | class="mbox-text" | '''ambox-delete''' – The red "deletion" style. | ||
+ | |} | ||
+ | {| class="ambox ambox-content" | ||
+ | |- | ||
+ | | | ||
+ | | class="mbox-text" | '''ambox-content''' – The orange "content issues" style. | ||
+ | |} | ||
+ | {| class="ambox ambox-style" | ||
+ | |- | ||
+ | | | ||
+ | | class="mbox-text" | '''ambox-style''' – The yellow "style issues" style. | ||
+ | |} | ||
+ | {| class="ambox ambox-notice" | ||
+ | |- | ||
+ | | | ||
+ | | class="mbox-text" | '''ambox-notice''' – The blue "article notices" style. | ||
+ | |} | ||
+ | {| class="ambox ambox-move" | ||
+ | |- | ||
+ | | | ||
+ | | class="mbox-text" | '''ambox-move''' – The purple "move/merge/split/transwiki proposals" style. | ||
+ | |} | ||
+ | {| class="ambox ambox-protection" | ||
+ | |- | ||
+ | | | ||
+ | | class="mbox-text" | '''ambox-protection''' – The gray "protection" style. | ||
|} | |} | ||
Version du 21 novembre 2017 à 22:36
PARTICIPER CONTRIBUER à wiKonsult, c'est FACILE!
Sommaire
c'est tout simple
Créer ou modifier une page
Inspirez vous des pages existantes en regardant dans l'onglet Modifier;
ou bien de cette page même.
Vous pouvez commencer par modifier une section un chapitre d'une page.
Rentrez du texte
Une ligne vide pour changer de paragraphe.
Des signes "==" en début et fin de ligne pour signifier des chapitres.
Pour mettre en italiques encadrez par ''apostrophes doubles''.
Pour mettre en gras '''Apostrophes triples'''.
Listes
Numérotées avec # en début de ligne; non numérotées avec *.
Produits:
- "Point virgule ;" en début de ligne pour terme ou, produit sur ordo
- suivi de "deux points:" pour définition ou mode d'administration..
Mise en page
http://workingwithmediawiki.com/book/chapter4.html#toc-Section-24
Browser cache
If these boxes don't look alike, you may need to refresh your web browser cache:
Box generated with the ambox classes. |
Hardcoded box. |
This happens when the class attributes have been updated but still is cached in your browser. This usually is gone in some days. Voir la source dans wikipedia:Wikipedia:Classes_in_Ambox qui s'affiche correct..
Basic usage
Simple usage example with the default blue "notice" colour:
{| class="ambox" |- | class="mbox-image" | Image | class="mbox-text" | Some text. |}
Image | Some text. |
Slightly more complex example with the purple "move/merge/split/transwiki proposals" colour and an image:
{| class="ambox ambox-move" |- | class="mbox-image" | [[Image:Edit-copy purple.svg|40px]] | class="mbox-text" | Some text. |}
Some text. |
Ambox classes
All the styles for the article message boxes are defined as CSS classes in MediaWiki:Common.css. This allows the message boxes to be skinned. That is, they can be overridden in the style sheets for different Wikipedia skins and also in your own monobook.css.
Here are the ambox class names and what they define.
ambox – The box size, border, background and default colour etc. |
Image | mbox-image and mbox-imageright The size and padding etc. of the image cells. |
Imageright |
mbox-text – The size and padding etc. of the text cell. |
ambox-speedy – The red+pink "speedy deletion" style. |
ambox-delete – The red "deletion" style. |
ambox-content – The orange "content issues" style. |
ambox-style – The yellow "style issues" style. |
ambox-notice – The blue "article notices" style. |
ambox-move – The purple "move/merge/split/transwiki proposals" style. |
ambox-protection – The gray "protection" style. |
Pour en savoir plus
Notes et références
<references/> pour indiquer les références