This template is a wrapper for Template:BattleLine to create battle scripts for routes. Here's an example of how it's implemented:
{{Battle|Goomba Trio|
{{BattleLine|Mario|Jump x2 on the Goomba}}
{{BattleLine|Goombella|Headbonk x2 on the Paragoomba|right 1}}
{{BattleLine|Spiky Goomba|Superguard}}
{{BattleLine|Mario|Failed Hammer|full hammer if missed superguard}}
{{BattleLine|Level Up|'''BP → 6'''}}
}}
| Goomba Trio
|
| Mario
|
Jump x2 on the Goomba
|
|
| Goombella
|
Headbonk x2 on the Paragoomba
|
right 1
|
| Spiky Goomba
|
Superguard
|
|
| Mario
|
Failed Hammer
|
full hammer if missed superguard
|
| Level Up
|
BP → 6
|
|
The following BattleLine first parameters have custom colored backgrounds:
- Mario
- Goombella
- Koops
- Flurrie
- Yoshi
- Vivian
- Bobbery
- Ms. Mowz
- Partner
- Level Up
- Note (see below)
All other entries will appear with a blue bubble (use this for the enemy).
Notes
You can add a note to the battle by setting the first parameter of BattleLine to Note.
{{Battle|Hooktail|
{{BattleLine|Mario|Power Bounce x21}}
{{BattleLine|Note|''Pick the top option (Mario takes 5 HP damage)''}}
{{BattleLine|Mario|Power Bounce x10}}
}}
| Hooktail
|
| Mario
|
Power Bounce x21
|
|
|
|
Pick the top option (Mario takes 5 HP damage)
|
| Mario
|
Power Bounce x10
|
|
Auto-collapse
If you add col=true as a parameter in the Battle template, the table will be collapsed by default. This is useful if you want to list multiple battle strategies without taking up a lot of the page.
{{Battle|Blue Slime|col=true|
{{BattleLine|Note|''This battle table is collapsed by default''}}
}}
{{Battle|Sephiroth|col=true|
{{BattleLine|Note|''This one is too''}}
}}
{{Battle|Shining Pom|col=true|
{{BattleLine|Note|''You can really fit a lot of battles...''}}
}}
{{Battle|Shadow Teddie|col=true|
{{BattleLine|Note|''...on the page when they're collapsed''}}
}}
| Blue Slime
|
|
|
This battle table is collapsed by default
|
| Sephiroth
|
|
|
This one is too
|
| Shining Pom
|
|
|
You can really fit a lot of battles...
|
| Shadow Teddie
|
|
|
...on the page when they're collapsed
|
Other Parameters
You can adjust the default width and left margin for unique use cases using width and margin.
{{Battle|Goomba|width=30|margin=0|
{{BattleLine|Mario|Jump x2}}
}}