Template:Table-Grub: Difference between revisions

From MiiWiki
Jump to navigationJump to search
No edit summary
mNo edit summary
 
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| class="wikitable"
<table class="wikitable table-green">
!colspan=8|{{PAGENAME}}
<tr>
|-
<th colspan="8">{{PAGENAME}}</th>
!Name
</tr>
!Image
<tr>
!Speed
<th>Name</th>
!HP
<th>Image</th>
!MP
<th>HP</th>
!Attack
<th>MP</th>
!Magic
<th>Attack</th>
!Defense
<th>Magic</th>
|-
<th>Defense</th>
|{{{name1|{{PAGENAME}}}}}
<th>Speed</th>
|<includeonly>[[File:MT Grub {{{image1|{{PAGENAME}}}}}.jpg|200px]]</includeonly>
</tr>
|{{{spd1|0}}}
<tr>
|{{{hp1|0}}}
<td>{{{name1|{{PAGENAME}}}}}</td>
|{{{mp1|0}}}
<td><includeonly>[[File:MT Grub {{{image1|{{PAGENAME}}}}}.jpg|200px]]</includeonly></td>
|{{{atk1|0}}}
<td>{{{hp1|0}}}</td>
|{{{mag1|0}}}
<td>{{{mp1|0}}}</td>
|{{{def1|0}}}{{#ifeq:{{{name2|test}}}|{{{name2|test}}}|{{void}}|
<td>{{{atk1|0}}}</td>
|-
<td>{{{mag1|0}}}</td>
|{{{name2|}}}
<td>{{{def1|0}}}</td>
|<includeonly>[[File:MT Grub {{{image2|{{PAGENAME}}}}}.jpg|200px]]</includeonly>
<td>{{{spd1|0}}}</td>
|{{{spd2|0}}}
</tr>{{#if:{{{name2|}}}|
|{{{hp2|0}}}
<tr>
|{{{mp2|0}}}
<td>{{{name2|}}}</td>
|{{{atk2|0}}}
<td><includeonly>[[File:MT Grub {{{image2|{{PAGENAME}}}}}.jpg|200px]]</includeonly></td>
|{{{mag2|0}}}
<td>{{{hp2|0}}}</td>
|{{{def2|0}}}
<td>{{{mp2|0}}}</td>
|}}{{#ifeq:{{{name3|test}}}|{{{name3|test}}}|{{void}}|
<td>{{{atk2|0}}}</td>
|-
<td>{{{mag2|0}}}</td>
|{{{name3|}}}
<td>{{{def2|0}}}</td>
|<includeonly>[[File:MT Grub {{{image3|{{PAGENAME}}}}}.jpg|200px]]</includeonly>
<td>{{{spd2|0}}}</td>
|{{{spd3|0}}}
</tr>}}{{#if:{{{name3|}}}|
|{{{hp3|0}}}
<tr>
|{{{mp3|0}}}
<td>{{{name3|}}}</td>
|{{{atk3|0}}}
<td><includeonly>[[File:MT Grub {{{image3|{{PAGENAME}}}}}.jpg|200px]]</includeonly></td>
|{{{mag3|0}}}
<td>{{{hp3|0}}}</td>
|{{{def3|0}}}
<td>{{{mp3|0}}}</td>
|}}
<td>{{{atk3|0}}}</td>
|}
<td>{{{mag3|0}}}</td>
<td>{{{def3|0}}}</td>
<td>{{{spd3|0}}}</td>
</tr>}}
</table><noinclude>{{doc}}[[Category:Table templates]]</noinclude>

Latest revision as of 21:08, 30 May 2022

Table-Grub
Name Image HP MP Attack Magic Defense Speed
Table-Grub 0 0 0 0 0 0
{{Table-Grub
|name1= (defaults to pagename)
|image1= (name of item without special characters)
|spd1= (speed; stat values all default to 0)
|hp1= (HP)
|mp1= (MP)
|atk1= (attack)
|mag1= (magic)
|def1= (defense)
|name2= (the rest of these fields are optional, and will only appear if filled out)
|image2=
|spd2=
|hp2=
|mp2=
|atk2=
|mag2=
|def2=
|name3=
|image3=
|spd3=
|hp3=
|mp3=
|atk3=
|mag3=
|def3=
}}