Template:BattleTeam: Difference between revisions
Exclude second member if none provided |
No edit summary |
||
| (12 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{| | |||
{{#if: {{{member_2}}}| | ! style="background: #9b59b6; padding: 4px; width: 240px; color: #ffffff;" align="center" | '''{{{member_1}}}'''<!-- | ||
< | -->{{#if: {{{member_2|}}}|<th style="background: #9b59b6; padding: 4px; width: 240px; color: #ffffff;" align="center">'''{{{member_2}}}'''</th>|}}<!-- | ||
<tr>< | -->{{#if: {{{member_3|}}}|<th style="background: #9b59b6; padding: 4px; width: 240px; color: #ffffff;" align="center">'''{{{member_3}}}''' </th>|}}<!-- | ||
< | -->{{#ifeq: {{{ai_can_fuse|}}}|yes|<tr>{{#if: {{{member_2|}}}|<!-- | ||
{{ | -->{{#if: {{{member_3|}}}|<td align="center" style="background: #3fbb9f; color: #ffffff;" colspan="3">|<td align="center" style="background: #3fbb9f; color: #ffffff;" colspan="2">}}''Can fuse''</td></tr>|<tr><td align="center" style="background: #3fbb9f; color: #ffffff;">''Can fuse''</td></tr>}}|}} | ||
</tr> | |- | ||
<tr> | | style="vertical-align: top" | {{BattleTeamCell | ||
{{ | | monster = {{{monster_1}}} | ||
</ | | bootleg_type = {{{monster_1_bootleg_type|}}} | ||
< | | moves = {{#if: {{{monster_1_moves|}}}|{{{monster_1_moves}}}|}} | ||
{{ | }}<!-- | ||
</tr> | -->{{#if: {{{monster_2|}}}|{{#if: {{{member_2|}}}|<td style="vertical-align: top"> | ||
<tr> | {{BattleTeamCell | ||
{{ | | monster = {{{monster_2}}} | ||
</tr> | | bootleg_type = {{{monster_2_bootleg_type|}}} | ||
<tr> | | moves = {{#if: {{{monster_2_moves|}}}|{{{monster_2_moves}}}}}}} | ||
{{ | </td>|</tr><tr><td style="vertical-align: top"> | ||
</ | {{BattleTeamCell | ||
< | | monster = {{{monster_2}}} | ||
{{ | | bootleg_type = {{{monster_2_bootleg_type|}}} | ||
</tr> | | moves = {{#if: {{{monster_2_moves|}}}|{{{monster_2_moves}}}}}}}</td>}}|}}<!-- | ||
</table> | -->{{#if: {{{monster_3|}}}|{{#if: {{{member_3|}}}|<td style="vertical-align: top"> | ||
{{BattleTeamCell | |||
| monster = {{{monster_3}}} | |||
| bootleg_type = {{{monster_3_bootleg_type|}}} | |||
| moves = {{#if: {{{monster_3_moves|}}}|{{{monster_3_moves}}}}}}} | |||
</td>|</tr><tr><td style="vertical-align: top"> | |||
{{BattleTeamCell | |||
| monster = {{{monster_3}}} | |||
| bootleg_type = {{{monster_3_bootleg_type|}}} | |||
| moves = {{#if: {{{monster_3_moves|}}}|{{{monster_3_moves}}}}}}}</td>}}|}}<!-- | |||
-->{{#if: {{{monster_4|}}}|{{#if: {{{member_3|}}}|</tr><tr><td style="vertical-align: top"> | |||
{{BattleTeamCell | |||
| monster = {{{monster_4}}} | |||
| bootleg_type = {{{monster_4_bootleg_type|}}} | |||
| moves = {{#if: {{{monster_4_moves|}}}|{{{monster_4_moves}}}}}}} | |||
</td>|{{#if: {{{member_2|}}}| | |||
<td style="vertical-align: top">{{BattleTeamCell | |||
| monster = {{{monster_4}}} | |||
| bootleg_type = {{{monster_4_bootleg_type|}}} | |||
| moves = {{#if: {{{monster_4_moves|}}}|{{{monster_4_moves}}}}}}}</td>|</tr><tr><td style="vertical-align: top"> | |||
{{BattleTeamCell | |||
| monster = {{{monster_4}}} | |||
| bootleg_type = {{{monster_4_bootleg_type|}}} | |||
| moves = {{#if: {{{monster_4_moves|}}}|{{{monster_4_moves}}}}}}}</td>}}|}}|}}<!-- | |||
-->{{#if: {{{monster_5|}}}|{{#if: {{{member_3|}}}|<td style="vertical-align: top"> | |||
{{BattleTeamCell | |||
| monster = {{{monster_5}}} | |||
| bootleg_type = {{{monster_5_bootleg_type|}}} | |||
| moves = {{#if: {{{monster_5_moves|}}}|{{{monster_5_moves}}}}}}}</td>|</tr><tr><td style="vertical-align: top"> | |||
{{BattleTeamCell | |||
| monster = {{{monster_5}}} | |||
| bootleg_type = {{{monster_5_bootleg_type|}}} | |||
| moves = {{#if: {{{monster_5_moves|}}}|{{{monster_5_moves}}}}}}}</td>}}|}}<!-- | |||
-->{{#if: {{{monster_6|}}}|{{#if: {{{member_2|}}}|<td style="vertical-align: top"> | |||
{{BattleTeamCell | |||
| monster = {{{monster_6}}} | |||
| bootleg_type = {{{monster_6_bootleg_type|}}} | |||
| moves = {{#if: {{{monster_6_moves|}}}|{{{monster_6_moves}}}}}}}</td>|</tr><tr><td style="vertical-align: top"> | |||
{{BattleTeamCell | |||
| monster = {{{monster_6}}} | |||
| bootleg_type = {{{monster_6_bootleg_type|}}} | |||
| moves = {{#if: {{{monster_6_moves|}}}|{{{monster_6_moves}}}}}}}</td>}}|}}<!-- | |||
-->{{#if: {{{monster_7|}}}|</tr><tr><td style="vertical-align: top"> | |||
{{BattleTeamCell | |||
| monster = {{{monster_7}}} | |||
| bootleg_type = {{{monster_7_bootleg_type|}}} | |||
| moves = {{#if: {{{monster_7_moves|}}}|{{{monster_7_moves}}}}}}}</td>|}}<!-- | |||
-->{{#if: {{{monster_8|}}}|{{#if: {{{member_2|}}}|<td style="vertical-align: top"> | |||
{{BattleTeamCell | |||
| monster = {{{monster_8}}} | |||
| bootleg_type = {{{monster_8_bootleg_type|}}} | |||
| moves = {{#if: {{{monster_8_moves|}}}|{{{monster_8_moves}}}}}}}</td>|</tr><tr><td style="vertical-align: top"> | |||
{{BattleTeamCell | |||
| monster = {{{monster_8}}} | |||
| bootleg_type = {{{monster_8_bootleg_type|}}} | |||
| moves = {{#if: {{{monster_8_moves|}}}|{{{monster_8_moves}}}}}}}</td>}}|}} | |||
|}<noinclude> | |||
Creates a table of monsters for an encounter. | |||
Members are listed with parameters <code>member_1</code>, <code>member_2</code>, and <code>member_3</code>. | |||
Monsters are listed similarly with <code>monster_1</code>, <code>monster_2</code>, all the way up to <code>monster_8</code>. | |||
Monsters can have bootleg typing listed with <code>monster_#_bootleg_type</code>. | |||
Moves can be listed with <code>monster_#_moves</code>.<br>Moves are separated by commas with no spaces between them. Such as <code>Smack,Spit,Last Rites,Headshot</code> | |||
Monster and move data is grabbed by using the respective data pages. To add monsters and moves not on these pages, additional details must be listed. For moves, list their type first and then separate the move's text with a semicolon. <code><nowiki>Air;[[Heartfelt Melody]]</nowiki></code>. | |||
For monsters (mostly useful for Archangels), list first their type, then the monster's name, and finally the text to the monster's image link. Seperate all of these with semicolons. <code><nowiki>Fire;[[Helia]];Helia</nowiki></code>. Images are expected to be in png format. If the monster or move is typeless, this must be listed. <code>Typeless;Machine Curse Curse</code>. | |||
If a team can fuse, it is listed with the parameter <code>ai_can_fuse</code> set to <code>yes</code>. | |||
== Examples == | |||
{{BattleTeam | |||
| member_1 = Wallace | |||
| member_2 = Ranger | |||
| monster_1 = Traffikrab | |||
| monster_2 = Traffikrab | |||
| monster_2_moves = Glitter;Kill Everyone | |||
| monster_3 = Lobstacle | |||
}} | |||
{{BattleTeam | |||
| member_1 = Wallace | |||
| member_2 = Ranger | |||
| ai_can_fuse = yes | |||
| monster_1 = Weevilite | |||
| monster_1_moves = Smack,Spit | |||
| monster_2 = Weevilite | |||
| monster_3 = Lobstacle | |||
| monster_4 = Fungogh | |||
}} | |||
{{BattleTeam | |||
| member_1 = Peasant of Nothing | |||
| monster_1 = Typeless;[[Nowhere Peasant]];Nowhere Peasant | |||
| monster_1_moves = Smack,Spit,Water;[[Waterworks|Sob Uncontrollably]] | |||
}} | |||
{{BattleTeam | |||
| ai_can_fuse = yes | |||
| 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 12:45, 14 September 2026
| {{{member_1}}} | ||||||
|---|---|---|---|---|---|---|
| ||||||
Creates a table of monsters for an encounter.
Members are listed with parameters member_1, member_2, and member_3.
Monsters are listed similarly with monster_1, monster_2, all the way up to monster_8.
Monsters can have bootleg typing listed with monster_#_bootleg_type.
Moves can be listed with monster_#_moves.
Moves are separated by commas with no spaces between them. Such as Smack,Spit,Last Rites,Headshot
Monster and move data is grabbed by using the respective data pages. To add monsters and moves not on these pages, additional details must be listed. For moves, list their type first and then separate the move's text with a semicolon. Air;[[Heartfelt Melody]].
For monsters (mostly useful for Archangels), list first their type, then the monster's name, and finally the text to the monster's image link. Seperate all of these with semicolons. Fire;[[Helia]];Helia. Images are expected to be in png format. If the monster or move is typeless, this must be listed. Typeless;Machine Curse Curse.
If a team can fuse, it is listed with the parameter ai_can_fuse set to yes.
Examples
| Wallace | Ranger | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| |||||||||||||
|
||||||||||||||
| Wallace | Ranger | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Can fuse | |||||||||||||||
|
| ||||||||||||||
|
|
||||||||||||||
| Peasant of Nothing | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| |||||||||
| Wallace | ||||||
|---|---|---|---|---|---|---|
| Can fuse | ||||||
| ||||||
| Wallace | ||||||
|---|---|---|---|---|---|---|
| ||||||
| ||||||
| ||||||
| ||||||
| ||||||
|
||||||
