Template:Infobox/doc

From Dreamlight Valley Wiki
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.

Vintage Phonograph
Vintage Phonograph (Gold).png
Information
Type: Menu Icon Furniture.png Furniture
Categories: Decor.png Decor
Miscellaneous.png Miscellaneous
Placement: 2x2 (Surfaces)
Tags:
Colors:
Costs: Star Coin icon.png 6,400
From: Scrooge's Store

was created from...

{{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
}}


or


Infobox/doc
Pumpkin Soup.png

A thick, creamy soup with an orange hue.

Information
Type: Menu Icon Meals.png Meal
Categories: Appetizers.png Appetizer
Sells for: Star Coin icon.png 1,500 or more
Energy: Energy.png+1,431 or more
Ingredients: Vegetables.png Any Vegetable

Milk
Ginger
Pumpkin

was created from...

{{infobox
|image=Pumpkin Soup.png
|description=A thick, creamy soup with an orange hue.
|type=Meal
|category=Appetizers
|stars=4
|energy=1431
|sellprice=1500
|ingredients={{name|Pumpkin}}<br>
{{name|Ginger}}<br>
{{name|Milk}}<br>
{{ingredient|Vegetables}}
}}


or


Infobox/doc
Iron Crafting Station.png
Information
Type: Menu Icon Furniture.png Crafted Furniture
Crafting Category: Functional Items.png Functional Items
Functionality: Crafting.png Crafting Station
Reward From: Menu Icon Quests.png Scrooge McDuck's Grand Re-opening Scrooge McDuck.png Menu Icon Story.png
Crafting Recipe: Iron Ingot (10)

Hardwood (10)
Topaz

was created from...

{{infobox
|image=Iron Crafting Station.png				
|type=Crafted Furniture
|craftingcategory=Functional Items
|functions=Crafting Station
|category=none
|color=
|tags=
|universe=Other
|reward={{quest|Scrooge McDuck's Grand Re-opening|realm=Story|friendship=Scrooge McDuck}}
|recipe={{name|Iron Ingot|10}}<br>
{{name|Hardwood|10}}<br>
{{name|Topaz}}
}}

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

image specifies the full file name, including extension, of the focal image to use in the infobox. The image and the page should be named identically.


width

|width=350px

width controls the width of the image in the infobox. This is typically not necessary to specify, and can be omitted.


type

|type=Furniture

craftingcategory

|craftingcategory=Functional Items

category

|category=Decor, Misc.

category specifies the category filters associated with the item. There can be multiple categories. If the value is "none", the item has no associated colors, and it will ONLY display in results when the All category filter is selected. Categories should be provided in the same order that they appear in the furniture and clothing menu. If creating a new item page and/or all categories have not been confirmed, add Category: Missing Categories to the bottom of the page, and leave the parameter blank.


stars (Meals)

|stars=4

stars specifies the number of Stars a Meal Recipe has, which corresponds directly to how many Ingredients it requires. When displayed in the infobox, it will be displayed with the stars template.


energy (Meals)

|energy=1431

energy specifies how much energy the Player gains by consuming the item. The value should be provided as a simple number, with no commas. When displayed in the infobox, it will be displayed with the energy template.


buyprice

|buyprice=6400

buyprice specifies the number of Star Coins that are required to purchase this item from Scrooge's Store, Goofy's Stall, or Prince Eric's Blueprint Table. The value should be provided as a simple number, with no commas. When displayed in the infobox, it will be displayed with the price template.


sellprice

|sellprice=1500

sellprice specifies the number of Star Coins that are obtained in exchange for selling this item at Goofy's Stall or serving this meal at Chez Remy. The value should be provided as a simple number, with no commas. When displayed in the infobox, it will be displayed with the price template.


color (Clothing, Furniture)

|color=yellow, brown

color specifies the color filters associated with the Clothing or Furniture item. There can be multiple colors. If the value is "none", the item has no associated colors, and it will ONLY display in results when no color filters are selected. Colors should be provided in the same order that they appear in the furniture and clothing menu. If creating a new item page and all colors have not been confirmed, add Category: Missing Colors to the bottom of the page, and leave the parameter blank.

tags (Clothing, Furniture)

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


universe (Clothing, Furniture)

|universe=Other

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


from

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


storeSlot (Clothing, Furniture)

|storeSlot=quad FL


ingredients (Meals)

|ingredients={{name|Pumpkin}}<br>
{{name|Ginger}}<br>
{{name|Milk}}<br>
{{ingredient|Vegetables}}
}}

recipe (Crafting)

|recipe={{name|Iron Ingot|10}}<br>
{{name|Hardwood|10}}<br>
{{name|Topaz}}
}}

size

|size=2x2


placement

|placement=surfaces


Default Infoboxes

Crops

{{infobox
|image=
|description=
|type=<<Ingredient>>
|ingtype=<<Vegetables>>
|energy=
|buyprice=<<if sold>> 
|sellprice=
|seed=
|growtime=
|from=<<biome of Goofy stall>>
}}

Foraged Ingredients

{{infobox
|image=
|description=
|type=<<Ingredient>>
|ingtype=<<Spices/Fruit/Etc>>
|energy=
|buyprice=<<if applicable>>
|sellprice=
|found=<<biome>>
}}

Fish

{{infobox
|image=
|description=
|type=<<Ingredient>>
|ingtype=<<Fish>>
|pool=<<color of pool>>
|energy=
|sellprice=
|size=
|found=<<biome>>
}}

Character Houses

{{infobox
|image=
|residents=
|universe=
|buyprice=<<if applicable>>
|found=<<location of unlock>>
|from=<<unlock source>>
}}