User:Rustle/NBox
Template documentation
View or edit this documentation. (About template documentation)
This template uses TemplateStyles: Template:NBox/styles.css.
This template uses TemplateStyles: Template:NBox/styles.css.
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.
Example
{{User:Rustle/NBox
| border = {{flying color}}
| i-background = {{flying color light}}
| image = 018Pidgeot.png
| imagesize = 48px
| title = This {{{2|article}}} is a candidate for moving to {{#if: {{{1|}}}|[[{{{1|}}}]].|<span style="color: red;">''No page given.''</span>}}
| text = Please discuss it on the <span class="plainlinks">[{{fullurl:{{TALKPAGENAME}}}} talk page]</span>.
}}
This article is a candidate for moving to No page given.
Please discuss it on the talk page.
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Border | border | The color of the border. Don't include "#".
| String | suggested |
| Image Background | i-background | The color of the background behind the image. Don't include "#".
| String | suggested |
| Background | background | The background color of the template. Don't include "#". Should normally be the default.
| String | optional |
| Image | image | The image to display. Don't include "File:".
| File | required |
| Image size | imagesize | The size of the image. Must include "px".
| String | optional |
| Title | title | The title of the notice box. | String | required |
| Text | text | The text in the notice box. | String | required |
Categories
- No categories associated with this article