Template:NBox

{{{text}}}



Template documentation
Note: portions of the template sample may not be visible without values provided.

This template allows for the easy creation of Notice Box templates. It shouldn't normally be used directly on content or file pages.

This template uses TemplateStyles, located at Template:NBox/styles.css.

Example

{{NBox
| border = F0A018
| boxbackground = CCC
| background = F5C169
| image = 0772Type Null.png
| imagesize = 48px
| title = This AI generated image is permitted, as its inclusion on Bulbapedia serves a legitimate encyclopaedic purpose.
| text = It should only be used on the relevant article. AI generated images are not normally permitted on the Bulbagarden Archives or Bulbapedia. <br />See the {{bp|Bulbapedia:Machine-assisted contribution policy|Machine-assisted contribution policy}} for more information.
}}
This AI generated image is permitted, as its inclusion on Bulbapedia serves a legitimate encyclopaedic purpose.
It should only be used on the relevant article. AI generated images are not normally permitted on the Bulbagarden Archives or Bulbapedia.
See the Machine-assisted contribution policy for more information.


TemplateData

A template that allows for the easy creation of Notice Box templates. It shouldn't normally be used directly on content or file pages.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Backgroundboxbackground

Background color of the notice box. Don't include "#".

Default
FAFFF4
Stringoptional
Borderborder

The color of the border. Don't include "#". Don't use if using the "Shadow" parameter.

Example
F0A018
Stringsuggested
Shadowshadow

If a drop shadow is desired, use this parameter. Don't use if using the "Border" parameter.

Example
yes
Booleanoptional
Image backgroundbackground

The color of the background behind the image. Don't include "#".

Default
CCC
Example
F5C169
Stringsuggested
Imageimage

The image to display. Don't include "File:".

Default
0001Bulbasaur.png
Filerequired
Image sizeimagesize

The size of the image. Must include "px".

Default
50px
Stringoptional
Titletitle

Optional. The title of the notice box.

Stringsuggested
Texttext

The text in the notice box.

Stringrequired