Difference between revisions of "Template:Color"
From Nookipedia, the Animal Crossing wiki
(Removing extraneous blankspace, caused odd behavior when generating Clothing links in Template:NHVillagerInfo) |
PanchamBro (talk | contribs) m (Making blue slightly brighter to make link color stand out.) |
||
Line 5: | Line 5: | ||
| Green = #84daa1 | | Green = #84daa1 | ||
| blue | | blue | ||
− | | Blue = # | + | | Blue = #90cbde |
| yellow | | yellow | ||
| Yellow = #ffe19b | | Yellow = #ffe19b |
Revision as of 16:27, February 14, 2022
N/A
Template documentation (view)
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.
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
{{Color|<color>|height=<optional>|width=<optional>|margin=<optional>|display=<optional>|roundy=<optional>|small=<optional>|center=<optional>}}
This template creates a div with a background of a given color, with the name of the color centered inside. If no value is entered, a default color is used and box displays 'N/A'. Setting any value for the small
parameter 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
|
Example
{{Color|Red|width=100px}}
Red
{{Color|Red|small=yes}}
Red