Difference between revisions of "Template:Weapon"

From MHWiki
m (Usage: added spaces to make copy/paste easier for users)
m (Fixed cell alignment in case text wraps (for example, as on Ambush page))
Line 7: Line 7:
 
   <td><table border=0 width=100% align=center>
 
   <td><table border=0 width=100% align=center>
 
       <tr>
 
       <tr>
         <td nowrap><b>Cost:</b></td>
+
         <td valign=top nowrap><b>Cost:</b></td>
 
         <td>{{{cost}}}</td>
 
         <td>{{{cost}}}</td>
 
       </tr>
 
       </tr>
 
       <tr>
 
       <tr>
         <td nowrap><b>Points Required:</b></td>
+
         <td valign=top nowrap><b>Points Required:</b></td>
 
         <td>{{{pointsreq}}}</td>
 
         <td>{{{pointsreq}}}</td>
 
       </tr>
 
       </tr>
Line 18: Line 18:
 
       </tr>
 
       </tr>
 
       <tr>
 
       <tr>
         <td nowrap><b>Power:</b></td>
+
         <td valign=top nowrap><b>Power:</b></td>
 
         <td>{{{power}}}</td>
 
         <td>{{{power}}}</td>
 
       </tr>
 
       </tr>
 
       <tr>
 
       <tr>
         <td nowrap><b>Power Type:</b></td>
+
         <td valign=top nowrap><b>Power Type:</b></td>
 
         <td>[[{{{powertype}}}]]</td>
 
         <td>[[{{{powertype}}}]]</td>
 
       </tr>
 
       </tr>
 
       <tr>
 
       <tr>
         <td nowrap><b>Power Bonus:</b></td>
+
         <td valign=top valign=top nowrap><b>Power Bonus:</b></td>
 
         <td>{{{powerbonus}}}%</td>
 
         <td>{{{powerbonus}}}%</td>
 
       </tr>
 
       </tr>
 
       <tr>
 
       <tr>
         <td nowrap><b>Attraction Bonus:</b></td>
+
         <td valign=top nowrap><b>Attraction Bonus:</b></td>
 
         <td>{{{attbonus}}}%</td>
 
         <td>{{{attbonus}}}%</td>
 
       </tr>
 
       </tr>
 
       <tr>
 
       <tr>
         <td nowrap><b>Luck:</b></td>
+
         <td valign=top nowrap><b>Luck:</b></td>
 
         <td>{{{luck}}}</td>
 
         <td>{{{luck}}}</td>
 
       </tr>
 
       </tr>
 
       <tr>
 
       <tr>
         <td nowrap><b>Cheese Effect:</b></td>
+
         <td valign=top nowrap><b>Cheese Effect:</b></td>
 
         <td>{{{chzeffect}}}</td>
 
         <td>{{{chzeffect}}}</td>
 
       </tr>
 
       </tr>
Line 45: Line 45:
 
       </tr>
 
       </tr>
 
       <tr>
 
       <tr>
         <td nowrap><b>Image:</b></td>
+
         <td valign=top nowrap><b>Image:</b></td>
 
         <td>[{{{imglink}}} External Link]</td>
 
         <td>[{{{imglink}}} External Link]</td>
 
       </tr>
 
       </tr>

Revision as of 17:05, 16 December 2008

{{{name}}}

Cost: {{{cost}}}
Points Required: {{{pointsreq}}}

Power: {{{power}}}
Power Type: [[{{{powertype}}}]]
Power Bonus: {{{powerbonus}}}%
Attraction Bonus: {{{attbonus}}}%
Luck: {{{luck}}}
Cheese Effect: {{{chzeffect}}}

Image: [{{{imglink}}} External Link]


Usage

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

{{ Trap
| name       = 
| cost       = 
| pointsreq  = 
| power      = 
| powertype  = 
| powerbonus = 
| attbonus   = 
| luck       = 
| chzeffect  = 
| imglink    = 
}}

Notes

Use numbers only for Bonus fields; the % is added automatically by the template.