Jump to content

Template:Infobox mousehat: Difference between revisions

From Stardew Valley Wiki
imported>Margotbean
Undo revision 169853 by Sizau (talk) This change suppresses purchase price if there is a source listed
imported>Margotbean
Remove default purchase price of 1000 for hats that are unlocked with achievements. All purchase prices must now be added to individual pages.
Line 22: Line 22:
   {{!}}id="infoboxsection"{{!}}Achievement Description:
   {{!}}id="infoboxsection"{{!}}Achievement Description:
   {{!}}id="infoboxdetail"{{!}}{{{ad|}}}
   {{!}}id="infoboxdetail"{{!}}{{{ad|}}}
  {{!}}-
  {{!}}id="infoboxsection"{{!}}Purchase Price:
  {{!}}id="infoboxdetail"{{!}}{{price|1000}}
}}
}}
|-
|-

Revision as of 15:59, 23 June 2024

Description

This template displays an infobox for hats.

By default it populates info for hats available at the Abandoned House (a.k.a. the Hat Mouse). Using optional parameters the infobox can account for other sources such as Festival rewards and Tailoring.

Use and Parameters

Do not use this on your user page. It is reserved for content pages.

Enter the following onto a relevant page:

{{Infobox mousehat
|name        = hat name
|image       = hat name.png
|description = hat description (optional)
|achievement = name of the achievement that unlocks the hat
|ad          = achievement description
|source      = hat source (if not awarded by an achievement) (optional)
|ingredients = crafting ingredients, if the hat is produced using tailoring (optional)
|requires    = Requirement or condition (optional)
|price       = purchase price (optional)
|sell        = sell price (optional - defaults to 'Cannot be Sold')
}}

Examples

{{Infobox mousehat
|name        = Sombrero
|image       = Sombrero.png
|description = {{Description|Sombrero}}
|achievement = Legend
|ad          = Earn {{price|10000000}}
|price       = {{Price|25000}}
}}
Sombrero
A festively decorated hat made from woven straw.
Information
Source: Abandoned House
Achievement: Legend
Achievement Description: Earn data-sort-value="10000000">10,000,000g
Purchase Price: data-sort-value="25000">25,000g
Sell Price: Cannot be sold

{{#seo:

|keywords=Stardew Valley Wiki, Stardew Valley, Infobox mousehat, gift |site_name=Stardew Valley Wiki |type=article |title=Infobox mousehat - Stardew Valley Wiki }}

{{Infobox mousehat
|name        = Straw Hat
|image       = Straw Hat.png
|description = {{Description|Straw Hat}}
|source      = Egg Festival
|price       = {{Price|1000}}
}}
Straw Hat
Light and cool, it's a farmer's delight.
Information
Source: Egg Festival
Purchase Price: data-sort-value="1000">1,000g
Sell Price: Cannot be sold

{{#seo:

|keywords=Stardew Valley Wiki, Stardew Valley, Infobox mousehat, gift |site_name=Stardew Valley Wiki |type=article |title=Infobox mousehat - Stardew Valley Wiki }}

{{Infobox mousehat
|name        = Beanie
|image       = Beanie.png
|description = {{Description|Beanie}}
|source      = Tailoring
|ingredients = {{name|Acorn|1}} or {{name|Maple Seed|1}} or {{name|Pine Cone|1}}
}}
Beanie
A warm hat with a pretty tight fit.
Information
Source: Tailoring
Recipe
(Cloth + ):
Acorn (1) or
Maple Seed (1) or Pine Cone (1)
Sell Price: Cannot be sold

{{#seo:

|keywords=Stardew Valley Wiki, Stardew Valley, Infobox mousehat, gift |site_name=Stardew Valley Wiki |type=article |title=Infobox mousehat - Stardew Valley Wiki }}