Template:Infobox/doc

From Dreamlight Valley Wiki
< Template:Infobox
Revision as of 21:57, 1 May 2023 by Lizz (talk | contribs) (Stub article - nowhere near complete)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

This template creates an Info Box with information key information about a page, or properties of an item. It automatically adds select categories to a page based on values provided.

Usage

The convention is to add an infobox section as the first item on the page. There are multiple possible parameters, which will be outlined below.

{{infobox
|name=Vintage Phonograph
|image=Vintage Phonograph (Gold).png
|type=Furniture
|category=Decor, Misc.
|buyprice=6400
|color=yellow, brown
|tags=Traditional, Rustic, Rec Room, Study, Living Room
|universe=Other
|from={{name|Scrooge's Store}}
|storeSlot=quad FL
|size=2x2
|placement=surfaces
}}

Parameters

name

|name=Vintage Phonograph

name only needs to be provided if the name of the item differs from the name of the page. This happens in cases where there are multiple items with identical names, or the actual name contains a character that cannot be used in a page name.

image

|image=Vintage Phonograph (Gold).png

width

|width=350px

width controls the width of the image in the infobox.

type

|type=Furniture

Possible Values:

category

|category=Decor, Misc.

buyprice

|buyprice=6400

type

|type=Furniture

color

|color=yellow, brown

color specifies the color filters associated with the item. There can be multiple colors. If the value is "none", the item has no associated colors, and it will ONLY display when no color filters are selected. They should be provided in the same order that the colors appear in the furniture and clothing menu.

tags

|tags=Traditional, Rustic, Rec Room, Study, Living Room

universe

|universe=Other

universe specifies the Universe associated with the item. There can only be one Universe associated. If the value is "none", the item has no associated Universe - it will ONLY display when no Universe filters are selected.

from

|from={{name|Scrooge's Store}}

storeSlot

|storeSlot=quad FL

size

|size=2x2

placement

|placement=surfaces