Difference between revisions of "Template:Infobox mousehat/doc"

m
 
(2 intermediate revisions by 2 users not shown)
Line 5: Line 5:
  
 
==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 17: Line 19:
 
|requires    = Requirement or condition (optional)
 
|requires    = Requirement or condition (optional)
 
|price      = purchase price (optional)
 
|price      = purchase price (optional)
 +
|sell        = sell price (optional - defaults to 'Cannot be Sold')
 
}}</pre>
 
}}</pre>
  
Line 63: Line 66:
 
|description = {{Description|Beanie}}
 
|description = {{Description|Beanie}}
 
|source      = Tailoring
 
|source      = Tailoring
|ingredients = {{name|Acorn|1}} or {{name|Maple Seed|1}} or {{name|Pine Cone|1}}
+
|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>{{Addlanglinks}}</includeonly>
 
<includeonly>{{Addlanglinks}}</includeonly>

Latest revision as of 00:25, 4 June 2022

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}}
}}
Sombrero
Sombrero.png
A festively decorated hat made from woven straw.
Information
Source: Abandoned House
Achievement: Legend
Achievement Description: Earn data-sort-value="10000000">Gold.png10,000,000g
Purchase Price: data-sort-value="1000">Gold.png1,000g
Sell Price: Cannot be sold
{{Infobox mousehat
|name        = Straw Hat
|image       = Straw Hat.png
|description = {{Description|Straw Hat}}
|source      = Egg Festival
}}
Straw Hat
Straw Hat.png
Light and cool, it's a farmer's delight.
Information
Source: Egg Festival
Sell Price: Cannot be sold
{{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
Beanie.png
A warm hat with a pretty tight fit.
Information
Source: Tailoring
Recipe
(Cloth + ):
Acorn.png Acorn (1) or
Maple Seed.png Maple Seed (1) or Pine Cone.png Pine Cone (1)
Sell Price: Cannot be sold