Difference between revisions of "Template:LearningAnnexWeapon"

From MHWiki
m (Added color, thicker borders)
m (Format Change)
Line 8: Line 8:
 
! colspan="2" width="400" style="border-style: solid; border-width: 2px 1px 2px 2px;" bgcolor=lightgreen | Weapon Statistics !! colspan="2" width="400" style="border-style: solid; border-width: 2px 2px 2px 1px;" bgcolor=lightgreen | Weapon Info
 
! colspan="2" width="400" style="border-style: solid; border-width: 2px 1px 2px 2px;" bgcolor=lightgreen | Weapon Statistics !! colspan="2" width="400" style="border-style: solid; border-width: 2px 2px 2px 1px;" bgcolor=lightgreen | Weapon Info
 
   |-
 
   |-
  | nowrap align="left" style="border-style: solid; border-width:  0 0 0 2px" | '''[[Points|Points Required]]:'''
+
| 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" | {{{pointsreq|??}}}  
+
| 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"|  '''[[Points|Points Required]]:'''  
  | nowrap align="right" style="border-style: solid; border-width:  0 2px 0 0"| {{{cost|??}}} [[gold]]
+
| nowrap align="right" style="border-style: solid; border-width:  0 2px 0 0"| {{{pointsreq|??}}}
  |-  
+
  |-  
  | nowrap align="left" style="border-style: solid; border-width:  0 0 0 2px" | '''[[Power]]:'''
+
| nowrap align="left" style="border-style: solid; border-width:  0 0 0 2px" | '''[[Power Bonus]]:'''
  | 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" | {{{powerbonus|??}}}%
  | nowrap align="left" style="border-style: solid; border-width: 0 0 0 1px"| '''Limited Edition:'''
+
  | 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"|  {{{LimEd|??}}}
+
| nowrap align="right" style="border-style: solid; border-width:  0 2px 0 0"|  {{{cost|??}}} [[gold]]
  |-
+
  |-
  | 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" | '''[[Attraction Bonus]]:'''
  | nowrap align="right" style="border-style: solid; border-width:  0 1px 0 0" | {{{powerbonus|??}}}%  
+
| 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="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"| {{{Craft|??}}}
+
| nowrap align="right" style="border-style: solid; border-width:  0 2px 0 0"| {{{LimEd|??}}}
  |-
+
  |-
  | nowrap align="left" style="border-style: solid; border-width:  0 0 0 2px" | '''[[Attraction Bonus]]:'''
+
| 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" | {{{attbonus|??}}}%
+
| 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="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"| {{{Smash|??}}}
+
| 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="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" | {{{luck|??}}}  
+
| 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"| '''Larry's Loot Lexicon:'''   
+
| 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"|   {{if|{{{mhinfo|}}}|2=[{{MHdomain}}/item.php?item_type={{{mhinfo}}} MouseHunt Info Page]|3=??}}
+
  | 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 2px 2px" | '''[[Cheese Effect]]:'''
+
| 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:  0 1px 2px 0" | {{{chzeffect|??}}}  
+
| 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:  0 0 2px 1px"| '''Image:'''  
+
| nowrap align="left" style="border-style: solid; border-width:  2px 0 2px 1px"| '''Image:'''  
  | nowrap align="right" style="border-style: solid; border-width:  0 2px 2px 0"| {{if|{{{imglink|}}}|[{{{imglink}}} External Link]|??}}
+
| 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|}}}
 
   | colspan="4" align="center" style="font-size:110%; padding:10px;" | {{{desc|}}}
 
|}
 
|}

Revision as of 20:57, 17 June 2014

Sample

LearningAnnexWeapon
Power Type: ??
Weapon Statistics Weapon Info
Power: ?? Points Required: ??
Power Bonus: ??% Cost: ?? gold
Attraction Bonus: ??% Limited Edition: ??
Luck: ?? Crafted: ??
Cheese Effect: ?? Smashable: ??
Larry's Loot Lexicon: ?? Image: ??



Usage

Simple table template to maintain consistency between Traps pages. All fields are required.

{{ Weapon
| cost       = 
| titlereq   = 
| power      = 
| powertype  = 
| powerbonus = 
| attbonus   = 
| luck       = 
| chzeffect  = 
| LimEd      =
| Craft      =
| Smash      =
| Skin       =
| 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, 2010 Blastoff Trap would list mhinfo = 2010_blastoff_trap_weapon.

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

Set Skin = Yes if there is at least one skin; this does not show up in the infobox, but does affect automatic categorization.

See more notes in the Manual of Style.