Template:Infobox furniture: Difference between revisions
imported>Spaceeinstein add Pierre |
imported>Spaceeinstein mNo edit summary |
||
| Line 16: | Line 16: | ||
{{!}}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|}}}}} |}}<!-- | ||
-->{{#if:{{{pierre|}}}|<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:Pierre Icon.png|24px|link=]] [[{{#explode:{{{pierre|}}}|,|0}}]]: | |||
{{!}}id="infoboxdetail"{{!}}{{price|{{#explode:{{{pierre|}}}|,|1}}}} |}}<!-- | |||
-->{{#ifeq:{{lc:{{{tc|}}}}}|y|<nowiki /> | -->{{#ifeq:{{lc:{{{tc|}}}}}|y|<nowiki /> | ||
{{!}}- | {{!}}- | ||
| Line 32: | Line 36: | ||
{{!}}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 /> | ||
{{!}}- | {{!}}- | ||
Revision as of 18:32, 1 January 2021
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 | |
| Can be placed inside your house. | |
| 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 }}{{#seo: |og:image= }}
Name of item omitted
{{Infobox furniture
|image = Ceramic Pillar
|size = 48
|cs = 100000000000
|fc = y
|tc = n
}}
| Infobox furniture | |
| Can be placed inside your house. | |
| 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 }}{{#seo: |og:image= }}
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
}}
{{#seo:
|keywords=Stardew Valley Wiki, Stardew Valley, Infobox furniture, gift |site_name=Stardew Valley Wiki |type=article |title=Infobox furniture - Stardew Valley Wiki }}{{#seo: |og:image= }}