Difference between revisions of "Template:Notice Box"

From Nookipedia, the Animal Crossing wiki
(Added includeonly)
(Removed font tag as it is deprecated, and added Documentation template. Functionality should remain the same.)
Line 3: Line 3:
 
{| width=100% style="height:70px; background: {{{background|}}}; {{roundy|20px}};"  
 
{| width=100% style="height:70px; background: {{{background|}}}; {{roundy|20px}};"  
 
| width=50px style="padding:0 0 0 25px;" | {{{leftimage|}}}
 
| width=50px style="padding:0 0 0 25px;" | {{{leftimage|}}}
| style="text-align:left; padding:0 0 0 15px;" | <font face="Coustard" size=4>{{{header|}}}</font><br>{{{message|}}}
+
| style="text-align:left; padding:0 0 0 15px;" | <span style="font-family: Coustard; font-size: 1.4em">{{{header|}}}</span><br>{{{message|}}}
 
| width=50px style="padding:0 25px 0 0;" | {{{rightimage|}}}
 
| width=50px style="padding:0 25px 0 0;" | {{{rightimage|}}}
 
|}
 
|}
 
|}</includeonly>
 
|}</includeonly>
 
<noinclude>
 
<noinclude>
{{Notice Box/doc}}
+
{{Documentation}}
 
[[Category:Notice Templates]]
 
[[Category:Notice Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 08:30, April 9, 2019


Template documentation (view)


Emotion Surprise NH Icon cropped.png This template is complex or is transcluded on a large number of pages.
Due to the sensitive nature of this template, caution is advised before editing. Any changes should first be tested in a sandbox. Please consider discussing planned changes on the talk page or with staff members before implementing them.

Usage

{{Notice Box
|primarycolor   =
|secondarycolor =
|textcolor      =
|shadowcolor    =
|leftimage      = 
|rightimage     = 
|header         = 
|message        = 
}}

This is a base template used by many notice templates.

Example

{{Notice Box
|primarycolor   = #5571c3
|secondarycolor = #c5ceed
|textcolor      = #eceff8
|shadowcolor    = #374f95
|leftimage      = [[File:Copper NH Character Icon.png|26px|link=|]]
|rightimage     =
|header         = This page documents a Nookipedia policy.
|message        = A '''[[Nookipedia:Policy|policy]]''' is a widely accepted standard that all editors should normally follow. Users who fail to adhere to policies may be [[Nookipedia:Block policy|blocked]]. 
}}
Copper NH Character Icon.png This page documents a Nookipedia policy.
A policy is a widely accepted standard that all editors should normally follow. Users who fail to adhere to policies may be blocked.