Difference between revisions of "Template:Infobox clothing"

From Stardew Valley Wiki
Jump to navigation Jump to search
m
(Matching layout of main infobox)
Line 4: Line 4:
 
|-
 
|-
 
|colspan=2|{{#if:{{{image}}}|[[File:{{{image|}}}|center|link=]]|}}
 
|colspan=2|{{#if:{{{image}}}|[[File:{{{image|}}}|center|link=]]|}}
 +
|-
 +
|colspan=2 align="center" id="infoboxdetail"|{{{description|}}}
 +
|-
 +
|colspan=2 id="infoboxsection" style="text-align:center;"|Information
 
|-
 
|-
 
|id="infoboxsection"|Name:
 
|id="infoboxsection"|Name:
 
|id="infoboxdetail"|{{#if:{{{name|}}}|{{{name|N/A}}}|N/A}}
 
|id="infoboxdetail"|{{#if:{{{name|}}}|{{{name|N/A}}}|N/A}}
|-
 
|id="infoboxsection"|Description:
 
|id="infoboxdetail"|{{#if:{{{description|}}}|{{{description|N/A}}}|N/A}}
 
 
|-
 
|-
 
|id="infoboxsection"|Source:
 
|id="infoboxsection"|Source:

Revision as of 23:46, 3 April 2016

Description

This template displays an infobox for clothing.

Use

This template can be used by entering the following onto a relevant page. Do not use this on your user page. It is reserved for content pages.

{{Infobox clothing
|name        = 
|image       = 
|description = 
|source      = 
|ingredients = 
|stats       =
|gprice      =
|value       = 
}}

Parameters

{{Infobox clothing
|name        = 
|image       = 
|description = Description (optional -- populated by Template:Description if omitted)
|source      = Where it comes from
|ingredients = What makes it (optional)
|stats       = Stat boosts from wearing the item (optional)
|gprice      = Adventurer's Guild purchase price
|value       = Adventurer's Guild sell price
}}

Example

{{Infobox clothing
|name        = Magnet Ring
|image       = Magnet Ring.png
|description = {{Description|Magnet Ring}}
|source      = [[The Mines]]
|stats       = {{name|Defense|+4}}
|gprice      = Not sold
|value       = 100
}}
Magnet Ring
Magnet Ring.png
Increases your radius for collecting items.
Information
Name: Magnet Ring
Source: The Mines
Ingredients: N/A
Selling Price: 100
Error: {{#seo:}} must contain at least one non-empty attribute.