Template:Attribute ID

From ARMS Institute, the ARMS Wiki
Jump to navigation Jump to search



Use this template for displaying attribute icons in articles. Can choose an option using a "text" keyword to give the icon a corresponding text link. Both the icon and the text will come with links to the corresponding attribute. Will make all inputted strings 'Title Case' for easy readability and .png search.

Image size is optional, defaults at 36px without text option and 20px with text option.

Usage

Format: {{Attribute ID|<attribute>|<size or "text">|<"text">}}

Examples

Example:

{{Attribute ID|Explosion}} becomes Attrib-Explosion.png


Example with Broken Capitalization

{{Attribute ID|fIRe}} becomes Attrib-Fire.png


Example with Size Change:

{{Attribute ID|Blind|40px}} becomes Attrib-Blind.png


Example with Corresponding Text:

{{Attribute ID|None|text}} becomes Lua error in Module:Attribute_ID at line 38: bad argument #3 to 'format' (no value).


Example with Corresponding Text and Size Change:

{{Attribute ID|Wind|40px|text}} becomes Attrib-Wind.png Wind


This documentation is transcluded from Template:Attribute ID/doc.