Difference between revisions of "Template:BattleTeam"

From Cassette Beasts
(Another attempt to fix member_2)
(Added slots 7 and 8 due to frankie and vin eventually using more than 6 tapes)
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
* {{{member_1}}}
+
<table class="wikitable">
{{#if: {{{member_2|}}}|* {{{member_2}}}}}
 
<table class="wikitable sortable">
 
<tr><th></th><th>Species</th><th>Number</th><th>Type</th><th>HP</th><th>M Atk</th><th>M Def</th><th>R Atk</th><th>R Def</th><th>Speed</th></tr>
 
 
<tr>
 
<tr>
{{SpeciesSummaryStatsTableCols|{{{monster_1}}}}}
+
<th align="center" {{#if: {{{member_2|}}}||colspan="2"}}>'''{{{member_1}}}'''</th>
 +
{{#if: {{{member_2|}}}|<th align="center">'''{{{member_2|}}}'''</th>}}
 
</tr>
 
</tr>
 +
{{#ifeq: {{{ai_can_fuse|}}}|yes|<tr>
 +
<td align="center" {{#if: {{{member_2|}}}|colspan="2"}}>''Can fuse''</td>
 +
</tr>}}
 
<tr>
 
<tr>
{{SpeciesSummaryStatsTableCols|{{{monster_2}}}}}
+
{{BattleTeamCell
 +
| monster = {{{monster_1}}}
 +
| bootleg_type = {{{monster_1_bootleg_type|}}}
 +
}}
 +
{{#if: {{{monster_2|}}}|
 +
{{BattleTeamCell
 +
| monster = {{{monster_2}}}
 +
| bootleg_type = {{{monster_2_bootleg_type|}}}
 +
}}
 +
}}
 
</tr>
 
</tr>
<tr>
+
{{#if: {{{monster_3|}}}|<tr>
{{SpeciesSummaryStatsTableCols|{{{monster_3}}}}}
+
{{BattleTeamCell
</tr>
+
| monster = {{{monster_3}}}
<tr>
+
| bootleg_type = {{{monster_3_bootleg_type|}}}
{{SpeciesSummaryStatsTableCols|{{{monster_4}}}}}
+
}}
</tr>
+
{{#if: {{{monster_4|}}}|
<tr>
+
{{BattleTeamCell
{{SpeciesSummaryStatsTableCols|{{{monster_5}}}}}
+
| monster = {{{monster_4}}}
</tr>
+
| bootleg_type = {{{monster_4_bootleg_type|}}}
<tr>
+
}}
{{SpeciesSummaryStatsTableCols|{{{monster_6}}}}}
+
}}
</tr>
+
</tr>}}
</table>
+
{{#if: {{{monster_5|}}}|<tr>
 +
{{BattleTeamCell
 +
| monster = {{{monster_5}}}
 +
| bootleg_type = {{{monster_5_bootleg_type|}}}
 +
}}
 +
{{#if: {{{monster_6|}}}|
 +
{{BattleTeamCell
 +
| monster = {{{monster_6}}}
 +
| bootleg_type = {{{monster_6_bootleg_type|}}}
 +
}}
 +
}}
 +
</tr>}}
 +
{{#if: {{{monster_7|}}}|<tr>
 +
{{BattleTeamCell
 +
| monster = {{{monster_7}}}
 +
| bootleg_type = {{{monster_7_bootleg_type|}}}
 +
}}
 +
{{#if: {{{monster_8|}}}|
 +
{{BattleTeamCell
 +
| monster = {{{monster_8}}}
 +
| bootleg_type = {{{monster_8_bootleg_type|}}}
 +
}}
 +
}}
 +
</tr>}}
 +
</table><noinclude>
 +
 
 +
== Examples ==
 +
{{BattleTeam
 +
| member_1 = Wallace
 +
| member_2 = Ranger
 +
| monster_1 = Traffikrab
 +
| monster_2 = Traffikrab
 +
| monster_3 = Lobstacle
 +
}}
 +
 
 +
{{BattleTeam
 +
| member_1 = Wallace
 +
| member_2 = Ranger
 +
| ai_can_fuse = yes
 +
| monster_1 = Weevilite
 +
| monster_2 = Weevilite
 +
| monster_3 = Lobstacle
 +
| monster_4 = Fungogh
 +
}}
 +
 
 +
{{BattleTeam
 +
| member_1 = Wallace
 +
| monster_1 = Weevilite
 +
| monster_2 = Weevilite
 +
| monster_3 = Lobstacle
 +
| monster_4 = Fungogh
 +
| monster_5 = Lobstacle
 +
| monster_6 = Fungogh
 +
}}
 +
 
 +
{{BattleTeam
 +
| member_1 = Wallace
 +
| monster_1 = Weevilite
 +
}}
 +
 
 +
{{BattleTeam
 +
| member_1 = Wallace
 +
| monster_1 = Weevilite
 +
| monster_2 = Weevilite
 +
| monster_2_bootleg_type = Fire
 +
| monster_3 = Lobstacle
 +
| monster_4 = Fungogh
 +
| monster_5 = Lobstacle
 +
| monster_5_bootleg_type = Water
 +
| monster_6 = Fungogh
 +
}}
 +
 
 +
</noinclude>

Latest revision as of 17:59, 8 July 2024