Got a spare minute? The Archives need some love. See the to-do list to find a way to help.
If you upload a new image make sure you name and categorize it properly. If in doubt, ask an admin or see our FAQ page.

Template:NBox/doc: Difference between revisions

From Bulbagarden Archives
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
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 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==
==Example==

Revision as of 23:05, 20 September 2024

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
| 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.
}}
0772Type Null.png
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

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Borderborder

The color of the border. Don't include "#".

Default
CCC
Example
F0A018
Stringsuggested
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

The title of the notice box.

Stringrequired
Texttext

The text in the notice box.

Stringrequired