PathfinderWiki
Log in

Difference between revisions of "Template:Notice"

From PathfinderWiki
(Init.)
 
m (Allow setting the class)
Line 1: Line 1:
 
<center>
 
<center>
{| class="tantable pfw-policy"
+
{| class="tantable {{{class|pfw-policy}}}"
 
|-
 
|-
 
| {{{image|[[File:Information icon.jpg|64px]]}}}
 
| {{{image|[[File:Information icon.jpg|64px]]}}}

Revision as of 16:56, 29 December 2015

Information icon.svg


Template documentation (for the above template, sometimes hidden or invisible)

Contents

{{Notice}} creates a notice box for display at the top of a page.

Usage

{{Notice
| class      = 
| style      = 
| image      = 
| headline   = 
| text       = 
| categories = 
}}
class (optional)
A list of space-delimited CSS classes to apply to the box. The default is tantable pfw-policy.
style (optional)
A list of semicolon-delimited CSS styles to apply to the box.
image (optional)
A file link to an image, such as [[File:Purple question mark.svg|30px]]. The default image is a 75-pixel blue circle with an information-symbol i.
headline (optional)
A heading for the box, formatted as bold wikitext. The default is blank.
text (optional)
The notice's body text. The default is blank.
categories (optional)
A list of categories to associate with the box, such as [[Category:categoryName]]. The default is blank.

Visit Template:Notice/doc to edit this text! (How does this work?)