Template:MoveDataIcon/doc: Difference between revisions

Template page
Line 31: Line 31:
| <code>1</code>
| <code>1</code>
| <code><nowiki>{{{1}}}</nowiki></code>
| <code><nowiki>{{{1}}}</nowiki></code>
| What color the pip is. Available colors are {{Template:Colors}}.
| Text to show next to the pip.
|}
|}



Revision as of 01:10, 11 August 2022

This template puts a little colored pip next to recurring elements in a {{MoveData}}'s notes field to make them easier to search and scan for in movelists. Derivative templates are used to handle the most common uses.

Usage

{{MoveData
|...
|notes={{Plainlist|
* {{Homing}}
* {{Weapon}}
}}
}}

Parameters

Parameter Default Description
color {{{color}}} What color the pip is. Available colors are red, orange, yellow, green, teal, blue, and purple.
class Extra class name for the container. Can be useful for search purposes.
1 {{{1}}} Text to show next to the pip.

Table of subtemplates

Template Class Render
{{Homing}} homing
Homing
{{Tailspin}} tailspin
Tailspin
{{FB}} floor-break
Floor Break
{{Spike}} spike
Spike
{{WB}} wall-bounce
Wall Bounce
{{Limb}} limb
{{{1}}}
{{Weapon}} limb
Weapon
{{Elbow}} limb
Elbow
{{Knee}} limb
Knee
{{Head}} limb
Head