Difference between revisions of "Template:Cheese"
From MHWiki
m (Fixed some issue with subgroup logic) |
m (Fixing more issues :)) |
||
| Line 5: | Line 5: | ||
! colspan="2" style="font-size:150%;" | {{{alttitle|{{PAGENAME}}}}} | ! colspan="2" style="font-size:150%;" | {{{alttitle|{{PAGENAME}}}}} | ||
|- | |- | ||
| − | ! colspan="2" style="border-style: solid; border-width: 2px 2px 2px 2px; font-size:125%;" bgcolor=#B8860B | {{if|{{{subgroup1|}}}|{{if|{{{subgroup2|}}}|Categories:|Category:}} [[:Category:Cheese ({{{subgroup1}}})]]{{if|{{{subgroup2|}}}|, [[:Category:Cheese ({{{subgroup2}}})]]}}{{if|{{{subgroup3|}}}|, [[:Category:Cheese ({{{subgroup3}}})]]}}{{if|{{{subgroup4|}}}|, [[:Category:Cheese ({{{subgroup4}}})]]}}|??}} | + | ! colspan="2" style="border-style: solid; border-width: 2px 2px 2px 2px; font-size:125%;" bgcolor=#B8860B | {{if|{{{subgroup1|}}}|{{if|{{{subgroup2|}}}|Categories:|Category:}} [[:Category:Cheese ({{{subgroup1}}})|{{{subgroup1}}}]]{{if|{{{subgroup2|}}}|, [[:Category:Cheese ({{{subgroup2}}})|{{{subgroup2}}}]]}}{{if|{{{subgroup3|}}}|, [[:Category:Cheese ({{{subgroup3}}})|{{{subgroup3}}}]]}}{{if|{{{subgroup4|}}}|, [[:Category:Cheese ({{{subgroup4}}})|{{{subgroup4}}}]]}}|??}} |
|- | |- | ||
! colspan="2" width="400" | | ! colspan="2" width="400" | | ||
Latest revision as of 20:18, 10 August 2024
Sample
| Cheese | |
|---|---|
| ?? | |
| 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 =
| subgroup2 =
| subgroup3 =
| subgroup4 =
| 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.