Ok, so we've got the AnimBox Template working on most pages now, adding them to the rest of the unit pages is relatively easy.
However I was wandering if it would be possible to make another template just like it for the building animations? Animations it displays could be:
There's also buildings with specific construction animations...
...and some buildings have both idle/active and contruction animations, so I don't know if it'd be easy.
To make matters more complicated, there's also the Defense Buildings/Units. These will both have the regular unit Animbox and the building Animbox. They also have slightly different postfixes.
The thing is, the postfixes are not consistent. The Lightning Tower uses _active for the idle animation and _damaged for the "broken" animation; whereas the Armor Mulcher uses _idle for the idle animation and _active for the "broken" animation.
Additionally, some buildings/defenses don't have an animation while "idle" but do when "broken"/"active" and vice versa, so it'll display a static image.
Very nice work you've been doing with the building animations. It'd be nice if we could set $wgMaxAnimatedGifArea so it would keep the animation when it scales. Then we could just use ordinary gallery sections. It sounds like the situation with buildings is complex enough that we're just going to have to list them out, instead of trying to build something clever.