Official Tower Defense Simulator Wiki
Succumb to the dark sun! Like many before you.
2,699
articles
Template Documentation
Portions of this template may not be visible without parameter values provided
Template CSS: styles.css • Lua Module: Module:DynamicFaces

Shows a face made of stacked image layers, with arrow buttons to cycle through the mouths and eyes.

Usage

{{DynamicFace
 |eyes1  = File1.png
 |mouth1 = File2.png
 |eyes2  = File3.png
 |mouth2 = File4.png
 |...
}}

Parameters

Parameter Description
mouth1, mouth2, ... Mouth images, without the File: prefix. The first one is shown by default. Add as many as you need.
eyes1, eyes2, ... Eye images, same as above. These sit on top of the mouth layer.
size Width and height of the face in pixels. Default is 150.

A group with only one image shows no buttons. Images should be square, transparent PNGs of the same size so the layers line up.

Example

WIP

Mouth1/2
Mouth2/2
Eyes1/2
Eyes2/2


Shows a face made of stacked image layers, with arrow buttons to cycle through the mouths and eyes.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
No parameters specified