Template:Infobox furniture: Difference between revisions
imported>Margotbean ban colons |
imported>Margotbean update default furniture description for v1.6 |
||
| Line 5: | Line 5: | ||
|colspan="2" style="padding-bottom: 5px; text-align: center;"|{{#if:{{{image|}}} | [[File:{{{image|}}}.png{{#if:{{{size|}}}|{{!}}{{{size|}}}px|}}]] | {{#ifexist:File:{{{image|{{PAGENAME}}.png}}} | [[File:{{PAGENAME}}.png{{#if:{{{size|}}}|{{!}}{{{size|}}}px|}}]] |}} |}}{{#ifeq:{{{space|}}} | y | |}}<!-- space between images -->{{#if:{{{image2|}}} | [[File:{{{image2|}}}.png{{#if:{{{size2|}}}|{{!}}{{{size2|}}}px|}}]] |}}{{#ifeq:{{{space|}}} | y | |}}<!-- space between images -->{{#if:{{{image3|}}} | [[File:{{{image3|}}}.png{{#if:{{{size3|}}}|{{!}}{{{size3|}}}px|}}]] |}} | |colspan="2" style="padding-bottom: 5px; text-align: center;"|{{#if:{{{image|}}} | [[File:{{{image|}}}.png{{#if:{{{size|}}}|{{!}}{{{size|}}}px|}}]] | {{#ifexist:File:{{{image|{{PAGENAME}}.png}}} | [[File:{{PAGENAME}}.png{{#if:{{{size|}}}|{{!}}{{{size|}}}px|}}]] |}} |}}{{#ifeq:{{{space|}}} | y | |}}<!-- space between images -->{{#if:{{{image2|}}} | [[File:{{{image2|}}}.png{{#if:{{{size2|}}}|{{!}}{{{size2|}}}px|}}]] |}}{{#ifeq:{{{space|}}} | y | |}}<!-- space between images -->{{#if:{{{image3|}}} | [[File:{{{image3|}}}.png{{#if:{{{size3|}}}|{{!}}{{{size3|}}}px|}}]] |}} | ||
|- | |- | ||
|colspan="2" id="infoboxdetail" style="text-align: center; font-style: italic;"|{{#if:{{{description|}}}|{{{description|}}}|{{Description|furniture}}}} | |colspan="2" id="infoboxdetail" style="text-align: center; font-style: italic;"|{{#if:{{{description|}}}|{{{description|}}}|{{Description|furniture notoutdoors}}}} | ||
|- | |- | ||
|colspan="2" id="infoboxsection" style="text-align: center;"|Information<!-- | |colspan="2" id="infoboxsection" style="text-align: center;"|Information<!-- | ||
Latest revision as of 22:36, 4 August 2025
Infobox template for furniture that shows all available sources and suppresses unavailable sources. Can use alternate headings if the only source is a unique source (e.g., sold at a festival). Do not use this on your user page. It is reserved for content pages.
Format
{{Infobox furniture
|name = name of item (pagename if omitted)
|image = name of image (pagename.png if omitted)
|size = size of image in pixels (optional)
|image2 = second image (optional)
|size2 = size of second image in pixels (optional)
|image3 = third image (optional)
|size3 = size of third image in pixels (optional)
|space = y (optional -- used to show space between images)
|description = description (optional)
|cs = price at Carpenter's Shop (optional)
|tc = y (sold at Traveling Cart?) (optional)
|qi = price at Casino (optional)
|fc = y (sold through Furniture Catalogue?) (optional)
|joja = y (sold through Joja Furniture Catalogue?) (optional)
|junimo = y (sold through Junimo Catalogue?) (optional)
|retro = y (sold through Retro Catalogue?) (optional)
|trash = y (sold through Trash Catalogue?) (optional)
|wizard = y (sold through Wizard Catalogue?) (optional)
|mu = museum donation details (optional)
|os = other sources (optional)
|showheader = n (Suppress "Source" and "Cost/Price" headers) (optional -- for use if the only source is "other")
|sellprice = sell price (optional - as of v1.11 no furniture can be sold)
}}
If showheader is omitted, the left heading changes from "Other Source(s)" to "Source(s)".
Examples
Example showing all fields
{{Infobox furniture
|name = Sloth Skeleton
|image = Sloth Skeleton L
|image2 = Sloth Skeleton M
|image3 = Sloth Skeleton R
|cs = 888
|tc = Y
|qi = 3000
|fc = y
|mu = 88 [[Artifacts]] including {{name|Rare Disc|class=inline}} and {{name|Dwarf Gadget}}
|sellprice = 40
|os = Random monster drop
|joja = y
|junimo = y
|retro = y
|trash = y
|wizard = y
}}
| Sloth Skeleton | |
| This furniture can't be placed outdoors. | |
| Information | |
| Source | Cost |
| 88 Artifacts including | |
| Other Source(s) | Random monster drop |
| Sell Price | |
{{#seo:
|keywords=Stardew Valley Wiki, Stardew Valley, Infobox furniture, gift |site_name=Stardew Valley Wiki |type=article |title=Infobox furniture - Stardew Valley Wiki }}
Name of item omitted
{{Infobox furniture
|image = Ceramic Pillar
|size = 48
|cs = 100000000000
|fc = y
|tc = n
}}
| Infobox furniture | |
| This furniture can't be placed outdoors. | |
| Information | |
| Source | Price |
| Sell Price | Cannot be sold |
{{#seo:
|keywords=Stardew Valley Wiki, Stardew Valley, Infobox furniture, gift |site_name=Stardew Valley Wiki |type=article |title=Infobox furniture - Stardew Valley Wiki }}
showheader field suppressed
{{Infobox furniture
|name = Monster Danglers
|image = Monster Danglers
|os = <ul><li style="white-space:nowrap;">{{NPC|Robin|6 Hearts Event}}</li><li>Purchase in the [[Casino]] for {{price|1000000}}</li></ul>
|showheader = n
}}
| Monster Danglers | |
| This furniture can't be placed outdoors. | |
| Information | |
| Source(s) | |
| Sell Price | Cannot be sold |
{{#seo:
|keywords=Stardew Valley Wiki, Stardew Valley, Infobox furniture, gift |site_name=Stardew Valley Wiki |type=article |title=Infobox furniture - Stardew Valley Wiki }}