Template:Infobox furniture: Difference between revisions
imported>Prod set default image |
imported>Margotbean update default furniture description for v1.6 |
||
| (7 intermediate revisions by 2 users not shown) | |||
| 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<!-- | ||
| Line 14: | Line 14: | ||
-->{{#if:{{{cs|}}}|<nowiki /> | -->{{#if:{{{cs|}}}|<nowiki /> | ||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxdetail" class="no-wrap" style="background-color: rgba(3,160,7,0.3); border: 1px solid rgba(3,160,7,0.4);"{{!}}[[File:Robin Icon.png|24px|link=]] [[Carpenter's Shop]] | {{!}}id="infoboxdetail" class="no-wrap" style="background-color: rgba(3,160,7,0.3); border: 1px solid rgba(3,160,7,0.4);"{{!}}[[File:Robin Icon.png|24px|link=]] [[Carpenter's Shop]] | ||
{{!}}id="infoboxdetail"{{!}}{{price|{{{cs|}}}}} |}}<!-- | {{!}}id="infoboxdetail"{{!}}{{price|{{{cs|}}}}} |}}<!-- | ||
-->{{#ifeq:{{lc:{{{tc|}}}}}|y|<nowiki /> | -->{{#ifeq:{{lc:{{{tc|}}}}}|y|<nowiki /> | ||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxdetail" class="no-wrap" style="background-color: rgba(3,160,7,0.3); border: 1px solid rgba(3,160,7,0.4);"{{!}}[[File:Traveling Cart Icon.png|24px|link=]] [[Traveling Cart]] | {{!}}id="infoboxdetail" class="no-wrap" style="background-color: rgba(3,160,7,0.3); border: 1px solid rgba(3,160,7,0.4);"{{!}}[[File:Traveling Cart Icon.png|24px|link=]] [[Traveling Cart]] | ||
{{!}}id="infoboxdetail"{{!}}{{tprice|furniture}} |}}<!-- | {{!}}id="infoboxdetail"{{!}}{{tprice|furniture}} |}}<!-- | ||
-->{{#if:{{{qi|}}}|<nowiki /> | -->{{#if:{{{qi|}}}|<nowiki /> | ||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxdetail" class="no-wrap" style="background-color: rgba(3,160,7,0.3); border: 1px solid rgba(3,160,7,0.4);"{{!}}[[File:Mr. Qi Icon.png|24px|link=]] [[Casino]] | {{!}}id="infoboxdetail" class="no-wrap" style="background-color: rgba(3,160,7,0.3); border: 1px solid rgba(3,160,7,0.4);"{{!}}[[File:Mr. Qi Icon.png|24px|link=]] [[Casino]] | ||
{{!}}id="infoboxdetail"{{!}}{{price|{{{qi|}}}|Qi}} |}}<!-- | {{!}}id="infoboxdetail"{{!}}{{price|{{{qi|}}}|Qi}} |}}<!-- | ||
-->{{#ifeq:{{lc:{{{fc|}}}}}|y|<nowiki /> | -->{{#ifeq:{{lc:{{{fc|}}}}}|y|<nowiki /> | ||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxdetail" class="no-wrap" style="background-color: rgba(3,160,7,0.3); border: 1px solid rgba(3,160,7,0.4);"{{!}}[[File:Furniture Catalogue.png|24px|link=]] [[Furniture Catalogue]] | {{!}}id="infoboxdetail" class="no-wrap" style="background-color: rgba(3,160,7,0.3); border: 1px solid rgba(3,160,7,0.4);"{{!}}[[File:Furniture Catalogue.png|24px|link=]] [[Furniture Catalogue]] | ||
{{!}}id="infoboxdetail"{{!}}{{price|0}} |}}<!-- | {{!}}id="infoboxdetail"{{!}}{{price|0}} |}}<!-- | ||
-->{{#ifeq:{{lc:{{{joja|}}}}}|y|<nowiki /> | |||
{{!}}- | |||
{{!}}id="infoboxdetail" class="no-wrap" style="background-color: rgba(3,160,7,0.3); border: 1px solid rgba(3,160,7,0.4);"{{!}}[[File:Joja Furniture Catalogue.png|24px|link=]] [[Joja Furniture Catalogue]] | |||
{{!}}id="infoboxdetail" style="vertical-align: middle;"{{!}}{{Price|0}} |}}<!-- | |||
-->{{#ifeq:{{lc:{{{junimo|}}}}}|y|<nowiki /> | |||
{{!}}- | |||
{{!}}id="infoboxdetail" class="no-wrap" style="background-color: rgba(3,160,7,0.3); border: 1px solid rgba(3,160,7,0.4);"{{!}}[[File:Junimo Catalogue.png|24px|link=]] [[Junimo Catalogue]] | |||
{{!}}id="infoboxdetail" style="vertical-align: middle;"{{!}}{{Price|0}} |}}<!-- | |||
-->{{#ifeq:{{lc:{{{retro|}}}}}|y|<nowiki /> | |||
{{!}}- | |||
{{!}}id="infoboxdetail" class="no-wrap" style="background-color: rgba(3,160,7,0.3); border: 1px solid rgba(3,160,7,0.4);"{{!}}[[File:Retro Catalogue.png|24px|link=]] [[Retro Catalogue]] | |||
{{!}}id="infoboxdetail" style="vertical-align: middle;"{{!}}{{Price|0}} |}}<!-- | |||
-->{{#ifeq:{{lc:{{{trash|}}}}}|y|<nowiki /> | |||
{{!}}- | |||
{{!}}id="infoboxdetail" class="no-wrap" style="background-color: rgba(3,160,7,0.3); border: 1px solid rgba(3,160,7,0.4);"{{!}}[[File:Trash Catalogue.png|24px|link=]] [[Trash Catalogue]] | |||
{{!}}id="infoboxdetail" style="vertical-align: middle;"{{!}}{{Price|0}} |}}<!-- | |||
-->{{#ifeq:{{lc:{{{wizard|}}}}}|y|<nowiki /> | |||
{{!}}- | |||
{{!}}id="infoboxdetail" class="no-wrap" style="background-color: rgba(3,160,7,0.3); border: 1px solid rgba(3,160,7,0.4);"{{!}}[[File:Wizard Catalogue.png|24px|link=]] [[Wizard Catalogue]] | |||
{{!}}id="infoboxdetail" style="vertical-align: middle;"{{!}}{{Price|0}} |}}<!-- | |||
-->{{#if:{{{mu|}}}|<nowiki /> | -->{{#if:{{{mu|}}}|<nowiki /> | ||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxdetail" class="no-wrap" style="background-color: rgba(3,160,7,0.3); border: 1px solid rgba(3,160,7,0.4);"{{!}}[[File:Gunther Icon.png|24px|link=]] [[Museum|Museum Donation]] | {{!}}id="infoboxdetail" class="no-wrap" style="background-color: rgba(3,160,7,0.3); border: 1px solid rgba(3,160,7,0.4);"{{!}}[[File:Gunther Icon.png|24px|link=]] [[Museum|Museum Donation]] | ||
{{!}}id="infoboxdetail"{{!}}{{{mu|}}} |}}<!-- | {{!}}id="infoboxdetail"{{!}}{{{mu|}}} |}}<!-- | ||
-->{{#if:{{{os|}}}|<nowiki /> | -->{{#if:{{{os|}}}|<nowiki /> | ||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxsection"{{!}}{{#ifeq:{{lc:{{{showheader|}}}}}|n|Source(s) | {{!}}id="infoboxsection"{{!}}{{#ifeq:{{lc:{{{showheader|}}}}}|n|Source(s)|Other Source(s)}} | ||
{{!}}id="infoboxdetail"{{!}}{{{os|}}} |}} | {{!}}id="infoboxdetail"{{!}}{{{os|}}} |}} | ||
|- | |- | ||
|id="infoboxsection"|Sell Price | |id="infoboxsection"|Sell Price | ||
|id="infoboxdetail"|{{#if:{{{sellprice|}}} | {{price|{{{sellprice|}}}}} | Cannot be sold }} | |id="infoboxdetail"|{{#if:{{{sellprice|}}} | {{price|{{{sellprice|}}}}} | Cannot be sold }} | ||
|- | |- | ||
|}</div>{{InfoboxSEO | |}</div>{{InfoboxSEO}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> | ||
}}</includeonly><noinclude> | |||
{{{{FULLPAGENAME}}/doc}}</noinclude> | |||
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 }}