Template:NoticeBox/core

From PZwiki
< Template:NoticeBox
Revision as of 18:39, 5 May 2019 by Vaileasys (talk | contribs) (added "margin" attribute for padding with other elements + moved documentation to /doc)
Lock-locked.png
This page has been put into protection by a PZwiki administrator.
[view] [edit] [history] [purge] Template documentation
This template contains the core functioning of {{NoticeBox}}.

Usage

{{NoticeBox/core
| bkg-color = purple
| color = black
| border-width = 2px
| image = [[File:PictureKate.png|32px]]
| style = font-size:150%;
| text = This feature/item is planned in a '''future''' version. It either does not exist yet, or does not yet have any known use.
| cat = [[Category:notyetingame]]
| hidecat = true
}}
Produces:
PictureKate.png
This feature/item is planned in a future version. It either does not exist yet, or does not yet have any known use.

Parameters

Syntax Description
bkg-color Colour of the background.
color Colour of the border and the tag on the left.
border-width Width of the border. Same border defined by color.
image The image to be inserted on the left side.
style Style in CSS of the text.
text The text used in the description of the notice.
cat The category added to the article this notice is on.
hidecat Having a value in this will hide the category from the page.
Documentation transcluded from Template:NoticeBox/core/doc.
Editors can experiment in this template's sandbox (create)