Template:BattleTeamCell: Difference between revisions

From Cassette Beasts
ExcaliburZero (talk | contribs)
Get it to work if bootleg field is specified, but empty
Solari (talk | contribs)
No edit summary
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<td align="center" style="padding: 10px;">[[File:{{#invoke:Database|get_species|{{{monster}}}|name}}.png|80x42px]]<br/>{{#invoke:Database|get_link|species|{{{monster}}}}}<br/>{{TypeButton|{{#if: {{{bootleg_type|}}}|{{{bootleg_type}}}|{{#invoke:Database|get_species|{{{monster}}}|elemental_type}}}}}}</td><noinclude>
{|
|{{#invoke:BattleTeam|get_monster|{{{monster}}}|{{#if:{{{bootleg_type|}}}|{{{bootleg_type}}}|}}}}
|-
| align="center" colspan="2" |
{|
{{#if: {{{moves|}}}
|{{#invoke:BattleTeam|get_moves|{{{moves}}}}}|}}
|}
|}
<noinclude>
== Examples ==
== Examples ==
{{BattleTeamCell
{{BattleTeamCell
Line 7: Line 16:
| monster = Traffikrab
| monster = Traffikrab
| bootleg_type = Fire
| bootleg_type = Fire
| moves = Spit,Plastic Wall,Inflame,Revolving Door
}}
}}
{{BattleTeamCell
{{BattleTeamCell
| monster = Traffikrab
| monster = Typeless;[[Morgante]];Morgante 2
| bootleg_type =  
| moves = Glass;[[Coda Morgana]]
}}
}}
</noinclude>
</noinclude>

Latest revision as of 00:56, 14 September 2026