From WikiTemp, the GBAtemp wiki
m
m (Made Talkspace different.)
Line 1: Line 1:
{|class="wikitable"| style="margin: 1em auto 1em auto; border: solid 1px grey; border-left:10px solid {{{color|dodgerBlue}}}; background: {{{background|#FFF}}}; width:80%"
+
{|class="wikitable"| style="margin: 1em auto 1em auto; {{#ifeq:{{NAMESPACE}}|{{SUBJECTSPACE}}|border: solid 1px grey; border-left:10px solid {{{color|dodgerBlue}}} |border: 2px solid {{{color|dodgerBlue}}}}}; background: {{{background|#{{#ifeq:{{NAMESPACE}}|{{SUBJECTSPACE}}|FFF|F8EABA}}}}}; width:80%;"
 
|-
 
|-
 
|style="width:50px; padding-left:1px; padding-right:1px; text-align:center;"|[[{{#ifexist:{{{image|Image:Ambox_notice.png}}}|{{{image|Image:Ambox_notice.png}}}|Image:{{{image|Image:Ambox_notice.png}}}}}{{#if:{{{imagewidth|}}}|{{!}}{{{imagewidth}}}}}]]
 
|style="width:50px; padding-left:1px; padding-right:1px; text-align:center;"|[[{{#ifexist:{{{image|Image:Ambox_notice.png}}}|{{{image|Image:Ambox_notice.png}}}|Image:{{{image|Image:Ambox_notice.png}}}}}{{#if:{{{imagewidth|}}}|{{!}}{{{imagewidth}}}}}]]

Revision as of 11:13, 4 January 2011

Ambox notice.png {{{text}}}
↑ Template Documentation ↓ [EditReload]

This is the basic Template for Article Message Boxes. Normally, this template isn't used directly on a page, but is implemented by other Templates instead.


You should only use this template on Article pages. Use Template:Mbox (or the correct *mbox) on other pages.

It is recommended to base templates on Template:Mbox instead of this template.

Parameters

  • color = The color of the box (left side), default = dodgerBlue.
  • background = Background color of the box, default = #FFF (white).
  • width = The width of the box, default = 80%
  • image = The image to use (can be entered with or without preceding Image:), default = Image:Ambox_notice.png.
  • imagewidth = To change the width of the Image.
  • text = The text to appear in the box.

Example Usage

{{Ambox
|color = red
|background = #EEE
|image = Image:Warning.png
|imagewidth = 40px
|text = WARNING: This is just an example!
}}

This produces:

Warning.png WARNING: This is just an example!


The above documentation was Transcluded from the /doc subpage