Template:Table-Grub: Difference between revisions

From MiiWiki
Jump to navigationJump to search
(Created page with "{| class="wikitable" !colspan=8|{{PAGENAME}} |- !Name !Image !Speed !HP !MP !Attack !Magic !Defense |- |{{{name1|}}} |<includeonly>File:MT Grub {{{image1|{{PAGENAME}}}}}.jpg...")
 
mNo edit summary
 
(18 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|}}}
<th>Speed</th>
|<includeonly>[[File:MT Grub {{{image1|{{PAGENAME}}}}}.jpg|200px]]</includeonly>
</tr>
|{{{spd1|}}}
<tr>
|{{{hp1|}}}
<td>{{{name1|{{PAGENAME}}}}}</td>
|{{{mp1|}}}
<td><includeonly>[[File:MT Grub {{{image1|{{PAGENAME}}}}}.jpg|200px]]</includeonly></td>
|{{{atk1|}}}
<td>{{{hp1|0}}}</td>
|{{{mag1|}}}
<td>{{{mp1|0}}}</td>
|{{{def1|}}}
<td>{{{atk1|0}}}</td>
{{#if:{{{name2|}}}
<td>{{{mag1|0}}}</td>
|-
<td>{{{def1|0}}}</td>
|{{{name2|}}}
<td>{{{spd1|0}}}</td>
|<includeonly>[[File:MT Grub {{{image2|{{PAGENAME}}}}}.jpg|200px]]</includeonly>
</tr>{{#if:{{{name2|}}}|
|{{{spd2|}}}
<tr>
|{{{hp2|}}}
<td>{{{name2|}}}</td>
|{{{mp2|}}}
<td><includeonly>[[File:MT Grub {{{image2|{{PAGENAME}}}}}.jpg|200px]]</includeonly></td>
|{{{atk2|}}}
<td>{{{hp2|0}}}</td>
|{{{mag2|}}}
<td>{{{mp2|0}}}</td>
|{{{def2|}}}
<td>{{{atk2|0}}}</td>
|}}
<td>{{{mag2|0}}}</td>
{{#if:{{{name3|}}}
<td>{{{def2|0}}}</td>
|-
<td>{{{spd2|0}}}</td>
|{{{name3|}}}
</tr>}}{{#if:{{{name3|}}}|
|<includeonly>[[File:MT Grub {{{image3|{{PAGENAME}}}}}.jpg|200px]]</includeonly>
<tr>
|{{{spd3|}}}
<td>{{{name3|}}}</td>
|{{{hp3|}}}
<td><includeonly>[[File:MT Grub {{{image3|{{PAGENAME}}}}}.jpg|200px]]</includeonly></td>
|{{{mp3|}}}
<td>{{{hp3|0}}}</td>
|{{{atk3|}}}
<td>{{{mp3|0}}}</td>
|{{{mag3|}}}
<td>{{{atk3|0}}}</td>
|{{{def3|}}}
<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=
}}