(→Usage) |
RogerDodger (talk | contribs) No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Uses Cargo|Special:CargoTables/Move}} | {{Uses Cargo|Special:CargoTables/Move}} | ||
{{Lua|Module:Move|Module: | {{Lua|Module:Move|Module:Game}} | ||
{{Hatnote| | {{Navbox Cargo}} | ||
{{Hatnote|{{tl|MoveGet7}} is the same as {{tl|MoveGet}} but gets data from [[Special:CargoTables/Move7]] instead.}} | |||
This will get one field of a move. | This will get one field of a move. | ||
== Usage == | == Usage == | ||
<syntaxhighlight lang="html"> | <syntaxhighlight lang="html"> | ||
{{MoveGet| | Lee's 1,2 is {{MoveGet|Lee-1,2|hit}} on hit. | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== Parameters == | |||
{| class="wikitable col-1-center" | |||
! Parameter !! Required !! Description | |||
|- | |||
| <code>1</code> | |||
| {{Ya}} | |||
| Move id. | |||
|- | |||
| <code>2</code> | |||
| {{Ya}} | |||
| Field of the move. See {{tl|Move#Parameters|Move § Parameters}}. | |||
|- | |||
| <code>recursive</code> | |||
| | |||
| Set to <code>true</code> if you want to get values from previous moves in the string. | |||
|} | |||
== Example == | |||
Lee's 1,2 is {{MoveGet|Lee-1,2|hit}} on hit. |
Latest revision as of 12:52, 5 March 2024
This template uses Cargo: | |
This template uses Lua: | |
Movelist templates |
---|
|
Punishment templates |
|
{{MoveGet7}} is the same as {{MoveGet}} but gets data from Special:CargoTables/Move7 instead.
This will get one field of a move.
Usage
Lee's 1,2 is {{MoveGet|Lee-1,2|hit}} on hit.
Parameters
Parameter | Required | Description |
---|---|---|
1
|
✔︎ | Move id. |
2
|
✔︎ | Field of the move. See {{Move § Parameters}}. |
recursive
|
Set to true if you want to get values from previous moves in the string.
|
Example
Lee's 1,2 is +7 on hit.