Difference between revisions of "Template:Cheese"

From MHWiki
m (correct namespace tagging)
(more automatic categories)
Line 52: Line 52:
 
{{if|{{NAMESPACE}}||
 
{{if|{{NAMESPACE}}||
 
[[Category:Cheese]]
 
[[Category:Cheese]]
 +
{{ifeq|{{{trade}}}|Yes|[[Category:Tradable]] [[Category:Cheese (Tradable)]]}}
 +
{{ifeq|{{{give}}}|Yes|[[Category:Giveable]] [[Category:Cheese (Giveable)]]}}
 +
{{if|{{{smash|}}}|[[Category:Smashable]] [[Category:Cheese (Smashable)]]}}
 +
{{ifeq|{{{craft}}}|Yes|[[Category:Craftable]] [[Category:Cheese (Craftable)]]}}
 
{{if|{{{subgroup1|}}}|[[Category:Cheese ({{{subgroup1}}})]]}}
 
{{if|{{{subgroup1|}}}|[[Category:Cheese ({{{subgroup1}}})]]}}
 
}}
 
}}

Revision as of 16:35, 18 May 2015

Sample

Cheese
Category: ??
Cheese Info
Cost: ??
Shoppe: ??
Potion: ??
Craftable: ??
Tradeable: ??
Giveable: ??
Smashes To: ??
Stales To: ??
Larry's Loot Lexicon: ??
Image: ??



Usage

Simple table template to maintain consistency between Cheese pages. All fields except alttitle are required.

{{ Cheese
 | alttitle =
 | cost       = 
 | shop  = 
 | potion       = 
 | craft  = 
 | smash  = 
 | trade       = 
 | give  = 
 | subgroup1 =
 | stale =
 | mhinfo     =
 | imglink    = 
 | desc       = 
 }}

Notes

Use the potion that creates the cheese, not potions for which it is used to create other cheeses.

For the smash field, use N/A (rather than No) if the cheese is not smashable.

For the mhinfo field, list only the portion of the Larry's Loot Lexicon link after the item_type= in the link. For example, Cheddar Cheese would list mhinfo = cheddar_cheese.

If a cheese requires special characters in the name that can't be represented in the page title (such as SUPER|brie+), add the alttitle field to represent the correct spelling.

The description is to be copied from the official MouseHunt page.