Difference between revisions of "Template:Notice Box"

From Nookipedia, the Animal Crossing wiki
m (Self-undo - comment tags don't carry over to source)
Tag: Undo
(Adding a clear tag; otherwise, some funky overlapping can take place)
Line 1: Line 1:
 
<!--  
 
<!--  
 
   \\\ DESKTOP TEMPLATE ///  
 
   \\\ DESKTOP TEMPLATE ///  
-->
+
-->{{clear}}
 
<div class="nomobile" style="margin: 10px auto; width: 89%; background-color:{{{primarycolor|lightgrey}}}; border: 3px solid {{{primarycolor|lightgrey}}}; {{roundy|18px}} padding:0 3px 3px 3px; text-align:center">
 
<div class="nomobile" style="margin: 10px auto; width: 89%; background-color:{{{primarycolor|lightgrey}}}; border: 3px solid {{{primarycolor|lightgrey}}}; {{roundy|18px}} padding:0 3px 3px 3px; text-align:center">
 
   <div style="display:table-cell; vertical-align:middle; padding: 8px 13px 5px 13px;">{{{leftimage|[[File:SpecialSpeciesIconSilhouette.png|28px|link=]]}}}</div>
 
   <div style="display:table-cell; vertical-align:middle; padding: 8px 13px 5px 13px;">{{{leftimage|[[File:SpecialSpeciesIconSilhouette.png|28px|link=]]}}}</div>

Revision as of 21:03, March 22, 2020

SpecialSpeciesIconSilhouette.png
Notice box
Add an informative notice in this box!
Nookipedia Leaf.png
SpecialSpeciesIconSilhouette.png
Notice box
Add an informative notice in this box!.
Nookipedia Leaf.png

Template documentation (view)


Emotion Surprise NH Icon.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.
Emotion Surprise NH Icon.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.
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.