|
|
(27 intermediate revisions by 4 users not shown) |
Line 1: |
Line 1: |
− | <div class="infobox"> | + | <includeonly>{{#invoke:Infobox Monster|infoboxMonster}}</includeonly><noinclude>{{/doc}}[[Category:Template]]</noinclude> |
− | <div class="infobox-header">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
| |
− | <div class="infobox-image">[[File:{{{image}}}|250px]]</div>}}
| |
− | <table> | |
− | {{#if:{{{release|}}}|<tr>
| |
− | <th colspan="10">Released</th>
| |
− | <td colspan="20">{{{release}}}</td>
| |
− | </tr>}}
| |
− | {{#if:{{{zones|}}}|<tr>
| |
− | <th colspan="10">Zones</th>
| |
− | <td colspan="20">{{{zones}}}</td>
| |
− | </tr>}}
| |
− | {{#if:{{{level|}}}|<tr>
| |
− | <th colspan="10">Combat Level</th>
| |
− | <td colspan="20">{{{level}}}</td>
| |
− | </tr>}}
| |
− | {{#if:{{{maxHit|}}}|<tr>
| |
− | <th colspan="10">Max hit</th>
| |
− | <td colspan="20">{{{maxHit}}}</td>
| |
− | </tr>}}
| |
− | {{#if:{{{attackStyle|}}}|<tr>
| |
− | <th colspan="10">Attack style</th>
| |
− | <td colspan="20">{{{attackStyle}}}</td>
| |
− | </tr>}}
| |
− | {{#if:{{{attackSpeed|}}}|<tr>
| |
− | <th colspan="10">Attack speed</th>
| |
− | <td colspan="20">{{{attackSpeed}}}</td>
| |
− | </tr>}}
| |
− | </table>
| |
− | <div class="infobox-title">Combat stats</div>
| |
− | <div class="infobox-stats">
| |
− | <table>
| |
− | <tr>
| |
− | <th>{{{maxHealth}}}</th>
| |
− | <th>{{{attackLevel}}}</th>
| |
− | <th>{{{strengthLevel}}}</th>
| |
− | <th>{{{defenseLevel}}}</th>
| |
− | <th>{{{magic}}}</th>
| |
− | <th>{{{range}}}</th>
| |
− | </tr>
| |
− | </table>
| |
− | </div>
| |
− | <div class="infobox-title">Attack bonus</div>
| |
− | <div class="infobox-stats">
| |
− | <table>
| |
− | <tr>
| |
− | <th>{{{accuracy}}}</th>
| |
− | </tr>
| |
− | </table>
| |
− | </div>
| |
− | <div class="infobox-title">Defence bonus</div>
| |
− | <div class="infobox-stats">
| |
− | <table>
| |
− | <tr>
| |
− | <th>{{{stab}}}</th>
| |
− | <th>{{{slash}}}</th>
| |
− | <th>{{{crush}}}</th>
| |
− | <th>{{{magicDef}}}</th>
| |
− | <th>{{{rangeDef}}}</th>
| |
− | </tr>
| |
− | </table>
| |
− | </div>
| |
− | <div class="infobox-title">Strength bonus</div>
| |
− | <div class="infobox-stats">
| |
− | <table>
| |
− | <tr>
| |
− | <th>{{{meeleStr}}}</th>
| |
− | <th>{{{rangeStr}}}</th>
| |
− | <th>{{{magicStr}}}</th>
| |
− | </tr>
| |
− | </table>
| |
− | </div>
| |
− | </div> | |
Usage
The template automatically creates an infobox for the page, only give it a name when the page's name isn't a monster.
Example
{{Infobox Monster|Chicken|zones=farm|DPS=0(melee)}}
Quick Copy
{{Infobox Monster|zones=|DPS=)}}