Template:Color

From Nookipedia, the Animal Crossing wiki
Revision as of 05:51, April 20, 2020 by SuperHamster (talk | contribs) (Replacing default 'Unkown' with 'N/A' (not ideal but saves space in NHItem template)
N/A

Usage

{{Color|<color>|height=<optional>|width=<optional>|margin=<optional>|display=<optional>|roundy=<optional>|small=<optional>}}

Creates a div with a background of a given color, with a color name centered inside. If no value is entered, default color is used and box displays 'N/A'. Setting any value for small will result in the colored box being placed to the left of the text rather than enveloping it.

 Supported Colors
Red
Green
Blue
Yellow
Orange
Pink
Purple
L. Blue
Beige
Brown
Gray
White
Colorful
Black
Default