Ouvrir le menu principal

Modifications

1 723 octets ajoutés ,  21 novembre 2017 à 22:36
ambox test
[https://meta.wikimedia.org/wiki/Help:Contents/fr Guide de l’utilisateur]
 === Browser cache ===
If these boxes don't look alike, you may need to [[Wikipedia:Bypass your cache|refresh your web browser cache]]:
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="mbox-image" | [[Image:Edit-copy purple.svg|40px]]
| 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.
|}