Difference between revisions of "Template:Charm"
(Made template for Charms. I just chose a random colour, so feel free to change it if you think of a better one.) |
m (Removed "gold") |
||
(23 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>== Sample == | + | <noinclude>== Sample ==</noinclude> |
− | </noinclude>{| align=" | + | {| align="left" cellpadding="5" width="800" style="border:2px solid #702554; border-top:25px solid #702554; border-spacing:0; margin-left:20px; margin-bottom:20px; padding:5px;" |
− | + | |- | |
− | + | ! 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 | |
− | + | |- | |
− | | '''[[Power Bonus]]:''' | + | | nowrap align="left" style="border-style: solid; border-width: 0 0 0 2px" | '''[[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="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]]:''' |
− | | '''[[Luck]]:''' | + | | nowrap align="right" style="border-style: solid; border-width: 0 1px 0 0" | {{{powerbonus|??}}}% |
− | + | | nowrap align="left" style="border-style: solid; border-width: 0 0 0 1px"| '''Limited Edition:''' | |
− | |- | + | | nowrap align="right" style="border-style: solid; border-width: 0 2px 0 0"| {{{LimEd|??}}} |
− | | '''[[ | + | |- |
− | | align="right" | {{{ | + | | nowrap align="left" style="border-style: solid; border-width: 0 0 0 2px" | '''[[Attraction Bonus]]:''' |
− | + | | nowrap align="right" style="border-style: solid; border-width: 0 1px 0 0" | {{{attbonus|??}}}% | |
− | | | + | | nowrap align="left" style="border-style: solid; border-width: 0 0 0 1px"| '''Crafted:''' |
− | |- | + | | nowrap align="right" style="border-style: solid; border-width: 0 2px 0 0"| {{{Craft|??}}} |
− | | | + | |- |
− | + | | nowrap align="left" style="border-style: solid; border-width: 0 0 0 2px" | '''[[Luck]]:''' | |
− | + | | nowrap align="right" style="border-style: solid; border-width: 0 1px 0 0" | {{{luck|??}}} | |
− | + | | nowrap align="left" style="border-style: solid; border-width: 0 0 0 1px"| '''Smashable:''' | |
− | + | | nowrap align="right" style="border-style: solid; border-width: 0 2px 0 0"| {{{Smash|??}}} | |
+ | |- | ||
+ | | nowrap align="left" style="border-style: solid; border-width: 0 0 0 2px" | '''[[Cheese Effect]]:''' | ||
+ | | nowrap align="right" style="border-style: solid; border-width: 0 1px 0 0" | {{{chzeffect|??}}} | ||
+ | | nowrap align="left" style="border-style: solid; border-width: 0 0 0 1px"| '''Tradeable:''' | ||
+ | | nowrap align="right" style="border-style: solid; border-width: 0 2px 0 0"| {{{Trade|??}}} | ||
+ | |- | ||
+ | | nowrap align="left" style="border-style: solid; border-width: 0 0 0 2px" | '''Consumed Upon:''' | ||
+ | | nowrap align="right" style="border-style: solid; border-width: 0 1px 0 0" | {{{consumed|??}}} | ||
+ | | nowrap align="left" style="border-style: solid; border-width: 0 0 0 1px"| '''Giveable:''' | ||
+ | | nowrap align="right" style="border-style: solid; border-width: 0 2px 0 0"| {{{Give|??}}} | ||
+ | |- | ||
+ | | nowrap align="left" style="border-style: solid; border-width: 2px 0 2px 2px"| '''Larry's Loot Lexicon:''' | ||
+ | | nowrap align="right" style="border-style: solid; border-width: 2px 1px 2px 0"| {{if|{{{mhinfo|}}}|2=[{{MHdomain}}/item.php?item_type={{{mhinfo}}} MouseHunt Info Page]|3=??}} | ||
+ | | nowrap align="left" style="border-style: solid; border-width: 2px 0 2px 1px"| '''Image:''' | ||
+ | | nowrap align="right" style="border-style: solid; border-width: 2px 2px 2px 0"| {{if|{{{imglink|}}}|[{{{imglink}}} External Link]|??}} | ||
+ | |- | ||
+ | | colspan="4" align="center" style="font-size:110%; padding:10px;" | {{{desc|}}} | ||
+ | |} | ||
+ | <noinclude> | ||
+ | <br clear=all> | ||
{{Template:Charm/docs}} | {{Template:Charm/docs}} | ||
+ | </noinclude> | ||
− | + | {{if|{{NAMESPACE}}||[[Category:Charms]] | |
+ | {{ifeq|{{{LimEd|}}}|Yes|[[Category:Limited Edition]] [[Category:Charms (Limited Edition)]]}} | ||
+ | {{ifeq|{{{Craft|}}}|Yes|[[Category:Craftable]] [[Category:Charms (Craftable)]]}} | ||
+ | {{ifeq|{{{Smash|}}}|Yes|[[Category:Smashable]] [[Category:Charms (Smashable)]]}} | ||
+ | {{ifeq|{{{Trade|}}}|Yes|[[Category:Tradable]] [[Category:Charms (Tradable)]]}} | ||
+ | {{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__}} | ||
− | + | {{-}} | |
− |
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.