Template:Auto icon

From Terraria Wiki
Jump to navigation Jump to search
Important.svg

CAUTION: Terraria Wiki code is complex!!!

If you want to use this code on another wiki, wiki.gg staff are not able to assist you.
Please consider picking a different wiki to adapt code from, or making your own templates!
Remember that content on a wiki is more important than fancy formatting.

Template-info.svg Documentation The documentation below is transcluded from Template:Auto icon/doc. (edit | history)

Displays the icon for autoswing, intended for use in e.g. table headers.

Usage

{{ auto icon | <hover text> | size = <icon size> | nl = y/yes }}

First unnamed parameter

Text that is displayed when hovering over the icon. Defaults to "Autoswing" (automatically translated via {{tr}}).

size

Custom size of the icon, default is 16px.

nl

Suppress the link to the Autoswing page.

Examples

Code Result
{{auto icon}} Autoswing
{{auto icon|{{tr|Autofire}}}} Autofire
{{auto icon|size=24px|nl=y}} Autoswing