Difference between revisions of "Template:Color"
From Nookipedia, the Animal Crossing wiki
Dorsal Axe (talk | contribs) m (change to lower-case) |
Dorsal Axe (talk | contribs) (Add documentation template) |
||
Line 56: | Line 56: | ||
| Black = [[List of black furniture items|<span style="color:black">Black</span>]] | | Black = [[List of black furniture items|<span style="color:black">Black</span>]] | ||
| Colorful = [[List of colorful furniture items|<span style="color:black">Colorful</span>]] | | Colorful = [[List of colorful furniture items|<span style="color:black">Colorful</span>]] | ||
− | }}|#default = {{{1|N/A}}} }}</small></div>}}<noinclude> | + | }}|#default = {{{1|N/A}}} }}</small></div>}} |
− | + | <noinclude>{{Documentation}}</noinclude> | |
− | |||
− | |||
− | |||
− | {{ | ||
− | </ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 07:43, July 5, 2020
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