Difference between revisions of "Template:Cheese"

From MHWiki
m (Created)
 
(make categories automatic)
Line 5: Line 5:
 
! colspan="2" style="font-size:150%;" | {{PAGENAME}}
 
! colspan="2" style="font-size:150%;" | {{PAGENAME}}
 
   |-
 
   |-
! colspan="2"  style="border-style: solid; border-width: 2px 2px 2px 2px; font-size:125%;" bgcolor=#B8860B | {{if|{{{subgroup2|}}}|Categories:|Category:}} {{{subgroup1|}}}{{if|{{{subgroup2|}}}|, {{{subgroup2}}}}}{{if|{{{subgroup3|}}}|, {{{subgroup3}}}}}{{if|{{{subgroup4|}}}|, {{{subgroup4}}}}}
+
! colspan="2"  style="border-style: solid; border-width: 2px 2px 2px 2px; font-size:125%;" bgcolor=#B8860B | Category: {{if|{{{subgroup1|}}}|[[:Category:Cheese ({{{subgroup1}}})]]|??}}
 
   |-
 
   |-
 
! colspan="2" width="400" |
 
! colspan="2" width="400" |
Line 50: Line 50:
 
</noinclude>
 
</noinclude>
  
{{if|{{NAMESPACE}}||[[Category:Cheese]]}}
+
{{if|{{NAMESPACE}}|
 +
[[Category:Cheese]]
 +
{{if|{{{subgroup1|}}}|[[Category:Cheese ({{{subgroup1}}}]]}}
 +
}}
  
 
{{-}}
 
{{-}}
 
{{-}}
 
{{-}}

Revision as of 16:24, 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.