Template:UnitVoice

From Totally Accurate Battle Simulator Wiki
Jump to navigation Jump to search
Shouter HD Icon.png
Attack Vocals
{{{Attack}}}
Vampire Bite HD Icon.png
Bite Vocals
{{{Bite}}}
[[File:{{{Effect}}} HD Icon.png|70x70px]]
{{{Effect}}}
{{{Effect 1}}}
Stiffy Fear HD Icon.png
Death Vocals
{{{Death}}}

This is a template for adding unit voices in a tidy way. As most units have only two type of voices - attack and death, this template only supports both.

To use this template, insert this via the source editor.

{{UnitVoice|Attack 1=[Unit's attack voice(s)]|Death 1=[Unit's death voice(s)]}}

For example, inserting this...

{{UnitVoice
|Attack 1=[[File:Ballooner Attack Vocals 1.ogg]][[File:Ballooner Attack Vocals 2.ogg]]
|Death 1=[[File:Ballooner Death Vocals 1.ogg]][[File:Ballooner Death Vocals 2.ogg]]
}}


...will result in this

Shouter HD Icon.png
Attack Vocals
{{{Attack}}}
Vampire Bite HD Icon.png
Bite Vocals
{{{Bite}}}
[[File:{{{Effect}}} HD Icon.png|70x70px]]
{{{Effect}}}
{{{Effect 1}}}
Stiffy Fear HD Icon.png
Death Vocals
{{{Death}}}