PathfinderWiki
Log in

Difference between revisions of "Template:Notice"

From PathfinderWiki
m (-)
m (-)
 
Line 3: Line 3:
 
|- style="{{{rowstyle|}}}"
 
|- style="{{{rowstyle|}}}"
 
{{#ifeq: {{{image|}}}|none||
 
{{#ifeq: {{{image|}}}|none||
{{!}} {{{imagestyle|}}} {{!}} {{{image|[[File:Information icon.jpg|64px]]}}}}}
+
{{!}} style="{{{imagestyle|}}};" {{!}} {{{image|[[File:Information icon.jpg|64px]]}}}}}
| {{{textstyle|}}} |
+
| style="{{{textstyle|}}};" |
 
{{#if: {{{headline|}}}|'''{{{headline}}}'''<br>}}
 
{{#if: {{{headline|}}}|'''{{{headline}}}'''<br>}}
 
{{{text|}}}
 
{{{text|}}}

Latest revision as of 00:58, 27 October 2019

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?)