Difference between revisions of "Template:Notice Box"
From Nookipedia, the Animal Crossing wiki
(Adjusting padding when rightimage is present, and shrinking rightmost cell when it isn't present.) |
m (Changing width to match navbox. Works better on mobile.) |
||
Line 1: | Line 1: | ||
− | <includeonly>{| width= | + | <includeonly>{| width=90% align=center style="margin-top: 10px; margin-bottom: 10px; height:70px; background-color: {{{colorinner|}}}; border: 3px solid {{{colorouter|}}}; {{roundy|25px}};" |
| | | | ||
{| width=100% style="height:70px; background: {{{background|}}}; {{roundy|20px}};" | {| width=100% style="height:70px; background: {{{background|}}}; {{roundy|20px}};" |
Revision as of 22:46, November 5, 2019
Template documentation (view)
|
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]]. }}
|