Template:Infobox mousehat/doc: Difference between revisions
imported>Margotbean update |
imported>Margotbean No edit summary |
||
| (10 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
==Description== | ==Description== | ||
This template displays an infobox for hats available at the Abandoned House (a.k.a. the Hat Mouse). | 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 [[Festivals|Festival]] rewards and [[Tailoring]]. | |||
==Use and Parameters== | ==Use and Parameters== | ||
'''Do not use this on your user page. It is reserved for content pages.''' | |||
Enter the following onto a relevant page: | Enter the following onto a relevant page: | ||
| Line 8: | Line 12: | ||
|name = hat name | |name = hat name | ||
|image = hat name.png | |image = hat name.png | ||
|description = hat description | |description = hat description (optional) | ||
|achievement = name of the achievement that unlocks the hat | |achievement = name of the achievement that unlocks the hat | ||
|ad = achievement description | |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') | |||
}}</pre> | }}</pre> | ||
== | ==Examples== | ||
<pre>{{Infobox mousehat | <pre>{{Infobox mousehat | ||
|name = Sombrero | |name = Sombrero | ||
| Line 20: | Line 29: | ||
|achievement = Legend | |achievement = Legend | ||
|ad = Earn {{price|10000000}} | |ad = Earn {{price|10000000}} | ||
|price = {{Price|25000}} | |||
}}</pre> | }}</pre> | ||
| Line 28: | Line 38: | ||
|achievement = Legend | |achievement = Legend | ||
|ad = Earn {{price|10000000}} | |ad = Earn {{price|10000000}} | ||
|price = {{Price|25000}} | |||
}} | |||
<pre style="clear:both;">{{Infobox mousehat | |||
|name = Straw Hat | |||
|image = Straw Hat.png | |||
|description = {{Description|Straw Hat}} | |||
|source = Egg Festival | |||
|price = {{Price|1000}} | |||
}}</pre> | |||
{{Infobox mousehat | |||
|name = Straw Hat | |||
|image = Straw Hat.png | |||
|description = {{Description|Straw Hat}} | |||
|source = Egg Festival | |||
|price = {{Price|1000}} | |||
}} | |||
<pre style="clear:both;">{{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}} | |||
}}</pre> | |||
{{Infobox mousehat | |||
|name = Beanie | |||
|image = Beanie.png | |||
|description = {{Description|Beanie}} | |||
|source = Tailoring | |||
|ingredients = {{name|Acorn|1|class=inline}} or<br />{{name|Maple Seed|1|class=inline}} or {{name|Pine Cone|1}} | |||
}} | }} | ||
<includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | <includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | ||
<includeonly> | <includeonly>{{Addlanglinks}}</includeonly> | ||
Latest revision as of 16:08, 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 |
| Purchase Price | |
| Sell Price | Cannot be sold |
{{#seo:
|keywords=Stardew Valley Wiki, Stardew Valley, Infobox mousehat/doc, gift |site_name=Stardew Valley Wiki |type=article |title=Infobox mousehat/doc - 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 | |
| Sell Price | Cannot be sold |
{{#seo:
|keywords=Stardew Valley Wiki, Stardew Valley, Infobox mousehat/doc, gift |site_name=Stardew Valley Wiki |type=article |title=Infobox mousehat/doc - 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 + ) |
|
| Sell Price | Cannot be sold |
{{#seo:
|keywords=Stardew Valley Wiki, Stardew Valley, Infobox mousehat/doc, gift |site_name=Stardew Valley Wiki |type=article |title=Infobox mousehat/doc - Stardew Valley Wiki }}


