Difference between revisions of "Template:Infobox mousehat/doc"
Jump to navigation
Jump to search
Margotbean (talk | contribs) |
m (Updated to accommodate Festival and Tailoring sources for hats) |
||
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== | ||
Line 11: | Line 13: | ||
|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) | ||
}}</pre> | }}</pre> | ||
− | == | + | ==Examples== |
<pre>{{Infobox mousehat | <pre>{{Infobox mousehat | ||
|name = Sombrero | |name = Sombrero | ||
Line 28: | Line 32: | ||
|achievement = Legend | |achievement = Legend | ||
|ad = Earn {{price|10000000}} | |ad = Earn {{price|10000000}} | ||
+ | }} | ||
+ | |||
+ | <pre style="clear:both;">{{Infobox mousehat | ||
+ | |name = Straw Hat | ||
+ | |image = Straw Hat.png | ||
+ | |source = Egg Festival | ||
+ | }}</pre> | ||
+ | |||
+ | {{Infobox mousehat | ||
+ | |name = Straw Hat | ||
+ | |image = Straw Hat.png | ||
+ | |source = Egg Festival | ||
+ | }} | ||
+ | |||
+ | <pre style="clear:both;">{{Infobox mousehat | ||
+ | |name = Beanie | ||
+ | |image = Beanie.png | ||
+ | |source = Tailoring | ||
+ | |ingredients = {{name|Acorn|1}} or {{name|Maple Seed|1}} or {{name|Pine Cone|1}} | ||
+ | }}</pre> | ||
+ | |||
+ | {{Infobox mousehat | ||
+ | |name = Beanie | ||
+ | |image = Beanie.png | ||
+ | |source = Tailoring | ||
+ | |ingredients = {{name|Acorn|1}} or {{name|Maple Seed|1}} 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>{{Addlanglinks}}</includeonly> | <includeonly>{{Addlanglinks}}</includeonly> |
Revision as of 15:45, 1 December 2019
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
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) }}
Examples
{{Infobox mousehat |name = Sombrero |image = Sombrero.png |description = {{Description|Sombrero}} |achievement = Legend |ad = Earn {{price|10000000}} }}
Sombrero | |
A festively decorated hat made from woven straw. | |
Information | |
Source: | Abandoned House |
Achievement: | Legend |
Achievement Description: | Earn 10,000,000g |
Purchase Price: | 1,000g |
Sell Price: | Cannot be sold |
{{Infobox mousehat |name = Straw Hat |image = Straw Hat.png |source = Egg Festival }}
Straw Hat | |
Information | |
Source: | Egg Festival |
Sell Price: | Cannot be sold |
{{Infobox mousehat |name = Beanie |image = Beanie.png |source = Tailoring |ingredients = {{name|Acorn|1}} or {{name|Maple Seed|1}} or {{name|Pine Cone|1}} }}
Beanie | |
Information | |
Source: | Tailoring |
Recipe (Cloth + ): |
Acorn (1) or Maple Seed (1) or Pine Cone (1) |
Sell Price: | Cannot be sold |