Template:MoveDataIcon/doc: Difference between revisions

Template page
(Created page with "{{Uses TemplateStyles|MoveDataIcon/style.css}} This template puts a little colored pip next to recurring elements in a {{tl|MoveData}}'s notes field to make them easier to se...")
 
Line 51: Line 51:
| {{tl|Limb}} || <code>limb</code> || {{Limb}}
| {{tl|Limb}} || <code>limb</code> || {{Limb}}
|-
|-
| {{tl|Weapon}} || <code>limb weapon</code> || {{Weapon}}
| {{tl|Weapon}} || <code>limb</code> || {{Weapon}}
|-
|-
| {{tl|Elbow}} || <code>limb elbow</code> || {{Elbow}}
| {{tl|Elbow}} || <code>limb</code> || {{Elbow}}
|-
|-
| {{tl|Knee}} || <code>limb knee</code> || {{Knee}}
| {{tl|Knee}} || <code>limb</code> || {{Knee}}
|}
|}

Revision as of 09:39, 10 July 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}}} What color the pip is. Available colors are red, orange, yellow, green, teal, blue, and purple.

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