Difference between revisions of "Template:Charm"
(more automatic categories) |
m (Removed "gold") |
||
(6 intermediate revisions by one other user not shown) | |||
Line 3: | Line 3: | ||
|- | |- | ||
! colspan="4" style="font-size:150%;" | {{PAGENAME}} | ! colspan="4" style="font-size:150%;" | {{PAGENAME}} | ||
+ | |- | ||
+ | ! colspan="4" style="border-style: solid; border-width: 2px 2px 2px 2px; font-size:125%;" bgcolor=#92527a | {{if|{{{subgroup2|}}}|Categories:|Category:}} {{{subgroup1|}}}{{if|{{{subgroup2|}}}|, {{{subgroup2}}}}}{{if|{{{subgroup3|}}}|, {{{subgroup3}}}}}{{if|{{{subgroup4|}}}|, {{{subgroup4}}}}} | ||
+ | |- | ||
+ | ! colspan="2" width="400" | !! colspan="2" width="400" | | ||
|- | |- | ||
! colspan="2" width="400" style="border-style: solid; font-size:110%; border-width: 2px 1px 2px 2px;" bgcolor=#b57fa1 | Charm Statistics !! colspan="2" width="400" style="border-style: solid; font-size:110%; border-width: 2px 2px 2px 1px;" bgcolor=#b57fa1 | Charm Info | ! colspan="2" width="400" style="border-style: solid; font-size:110%; border-width: 2px 1px 2px 2px;" bgcolor=#b57fa1 | Charm Statistics !! colspan="2" width="400" style="border-style: solid; font-size:110%; border-width: 2px 2px 2px 1px;" bgcolor=#b57fa1 | Charm Info | ||
Line 9: | Line 13: | ||
| nowrap align="right" style="border-style: solid; border-width: 0 1px 0 0" | {{{power|??}}} | | nowrap align="right" style="border-style: solid; border-width: 0 1px 0 0" | {{{power|??}}} | ||
| nowrap align="left" style="border-style: solid; border-width: 0 0 0 1px"| '''Cost:''' | | nowrap align="left" style="border-style: solid; border-width: 0 0 0 1px"| '''Cost:''' | ||
− | | nowrap align="right" style="border-style: solid; border-width: 0 2px 0 0"| {{{cost|??}}} | + | | nowrap align="right" style="border-style: solid; border-width: 0 2px 0 0"| {{{cost|??}}} |
|- | |- | ||
| nowrap align="left" style="border-style: solid; border-width: 0 0 0 2px" | '''[[Power Bonus]]:''' | | nowrap align="left" style="border-style: solid; border-width: 0 0 0 2px" | '''[[Power Bonus]]:''' | ||
Line 55: | Line 59: | ||
{{ifeq|{{{Trade|}}}|Yes|[[Category:Tradable]] [[Category:Charms (Tradable)]]}} | {{ifeq|{{{Trade|}}}|Yes|[[Category:Tradable]] [[Category:Charms (Tradable)]]}} | ||
{{ifeq|{{{Give|}}}|Yes|[[Category:Giveable]] [[Category:Charms (Giveable)]]}} | {{ifeq|{{{Give|}}}|Yes|[[Category:Giveable]] [[Category:Charms (Giveable)]]}} | ||
+ | {{if|{{{imglink|}}}| |[[Category:Missing Image]]}} | ||
+ | {{if|{{{subgroup1|}}}|[[Category:Charms ({{{subgroup1}}})]]}} | ||
+ | {{if|{{{subgroup2|}}}|[[Category:Charms ({{{subgroup2}}})]]}} | ||
+ | {{if|{{{subgroup3|}}}|[[Category:Charms ({{{subgroup3}}})]]}} | ||
+ | {{if|{{{subgroup4|}}}|[[Category:Charms ({{{subgroup4}}})]]}} | ||
__NOTOC__}} | __NOTOC__}} | ||
{{-}} | {{-}} |
Latest revision as of 21:23, 27 December 2015
Sample
Charm | |||
---|---|---|---|
Category: | |||
Charm Statistics | Charm Info | ||
Power: | ?? | Cost: | ?? |
Power Bonus: | ??% | Limited Edition: | ?? |
Attraction Bonus: | ??% | Crafted: | ?? |
Luck: | ?? | Smashable: | ?? |
Cheese Effect: | ?? | Tradeable: | ?? |
Consumed Upon: | ?? | Giveable: | ?? |
Larry's Loot Lexicon: | ?? | Image: | ?? |
Usage
Simple table template to maintain consistency between Charms pages. Most fields are required, although subgroup2, subgroup3, and subgroup4 can be omitted as appropriate.
{{ Charm | cost = | power = | powerbonus = | attbonus = | luck = | chzeffect = | consumed = | LimEd = | Craft = | Smash = | Trade = | Give = | subgroup1 = | subgroup2 = | subgroup3 = | subgroup4 = | mhinfo = | imglink = | desc = }}
Notes
Use numbers only for Bonus fields; the % is added automatically by the template. If there is no stat for a given field, use 0 (zero) in its place.
For the mhinfo field, list only the portion of the Larry's Loot Lexicon link after the item_type= in the link. For example, Amplifier Charm would list mhinfo = amplifier_trinket.
Learning which subgroup (or groups) a charm belongs to can be done for a charm you currently own, by using the charm selector from the Camp page; or by reading the html source of Larry's Loot Lexicon for the charm and searching for "tags".
The description is to be copied from the official MouseHunt page.
See more notes in the Manual of Style.