Template:HDIcons

From Totally Accurate Battle Simulator Wiki
Jump to navigation Jump to search

Template Info

Icons with links are attractive little things that even toddlers can figure it out. Suitable for all ages; they are like picture dictionaries for wikis. Commonly used in infoboxes, this template can show a page's icon and link to its page by simply adding the page name.

Please use Template:Image if you want text beside your icon or Template:HDIcon if you just want one icon. Over the times editing, this template has become more complicated, but do not fret! It's me and only me who had to mess with spaghetti code, you can enjoy a simple chocolate bar.

To use this template, insert this code where you want your icon to be.

{{Icon|(Page name)|(Page name)|(Page Name)|(Page Name)}}
Remember, for the icon to appear, the icon file name has to end with "HD Icon.png". Four icons in one row max.

Use this template by inserting the template and fill in the text boxes with the units you want.


For example, typing this into the source editor...

{{HDIcons|Clubber|Protector|Spear Thrower|Stoner}}

will result in this.

Clubber HD Icon.png
Protector HD Icon.png
Spear Thrower HD Icon.png
Stoner HD Icon.png
Clubber HD Icon.png
Protector HD Icon.png
Spear Thrower HD Icon.png
Clubber HD Icon.png
Protector HD Icon.png