Difference between revisions of "Template:Base"

From MHWiki
(minor change to header font)
(Rebuilt table in wiki format)
Line 1: Line 1:
<table cellpadding=20 cellspacing=0 align=right><tr><td>
+
<noinclude>== Sample ==
<table border=1 width=260 cellpadding=4 cellspacing=0 align=center>
+
</noinclude>{| align="right" cellpadding="5" width="260" style="border:2px solid #330066; border-top:25px solid #330066; border-spacing:0; margin-left:20px; margin-bottom:20px; padding:5px;"
<tr>
+
|-
  <td><table border=0 width=100% align=center cellpadding=4>
+
! colspan="2" style="font-size:150%;" | {{PAGENAME}}
      <tr bgcolor=#9cf>
+
|-
        <th colspan=2 style="font-size:150%;">{{PAGENAME}}</th>
+
| '''Cost:'''
      </tr>
+
| align="right" | {{{cost|??}}} [[gold]]
      <tr>
+
|-
        <td valign=top nowrap><b>Cost:</b></td>
+
| nowrap | '''[[Points|Points Required]]:'''
        <td>{{{cost}}} [[gold]]</td>
+
| align="right" | {{{pointsreq|??}}}
      </tr>
+
|-
      <tr>
+
| '''[[Power]]:'''
        <td valign=top nowrap><b>[[Points|Points Required]]:</b></td>
+
| align="right" | {{{power|??}}}
        <td>{{{pointsreq}}}</td>
+
|-
      </tr>
+
| '''[[Power Bonus]]:'''
      <tr>
+
| align="right" | {{{powerbonus|??}}}
        <td colspan=2><hr size=1></td>
+
|-
      </tr>
+
| nowrap | '''[[Attraction Bonus]]:'''
      <tr>
+
| align="right" | {{{attbonus|??}}}
        <td valign=top nowrap><b>[[Power]]:</b></td>
+
|-
        <td>{{{power}}}</td>
+
| '''[[Luck]]:'''
      </tr>
+
| align="right" | {{{luck|??}}}
      <tr>
+
|-
        <td valign=top valign=top nowrap><b>[[Power Bonus]]:</b></td>
+
| '''[[Cheese Effect]]:'''
        <td>{{{powerbonus}}}%</td>
+
| align="right" | {{{chzeffect|??}}}
      </tr>
+
|-
      <tr>
+
colspan=2 | <hr size=1>
        <td valign=top nowrap><b>[[Attraction Bonus]]:</b></td>
+
|-
        <td>{{{attbonus}}}%</td>
+
valign=top nowrap | <b>Image:</b>
      </tr>
+
| [{{{imglink}}} External Link]
      <tr>
+
|-
        <td valign=top nowrap><b>[[Luck]]:</b></td>
+
colspan=2 align="center" | <hr size=1>''{{{desc}}}''
        <td>{{{luck}}}</td>
+
|}<noinclude><br clear=all>
      </tr>
 
      <tr>
 
        <td valign=top nowrap><b>[[Cheese Effect]]:</b></td>
 
        <td>{{{chzeffect}}}</td>
 
      </tr>
 
      <tr>
 
        <td colspan=2><hr size=1></td>
 
      </tr>
 
      <tr>
 
        <td valign=top nowrap><b>Image:</b></td>
 
        <td>[{{{imglink}}} External Link]</td>
 
      </tr>
 
      <tr>
 
        <td colspan="2" align="center"><hr size=1><i>{{{desc}}}</i></td>
 
      </tr>
 
      </table></td>
 
</tr>
 
</table>
 
</td></tr></table>
 
 
 
<noinclude><br clear=all>
 
  
 
{{Template:Base/docs}}
 
{{Template:Base/docs}}

Revision as of 15:12, 4 February 2009

Sample

Base
Cost: ?? gold
Points Required: ??
Power: ??
Power Bonus: ??
Attraction Bonus: ??
Luck: ??
Cheese Effect: ??

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

{{{desc}}}


Usage

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

{{ Base
 | title       = 
 | pointsreq  = 
 | power      = 
 | powerbonus = 
 | attbonus   = 
 | luck       = 
 | chzeffect  = 
 | LimEd  =
 | Craft  =
 | Smash  =
 | 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, Aqua Base would list mhinfo = aqua_base.

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

See more notes in the Manual of Style.