Please note that some information on this wiki is still based on the demo version.
If you notice any errors, feel free to correct them.
Module:Abilities/Grid/doc: Difference between revisions
From Super Fantasy Kingdom Official Wiki
< Module:Abilities | Grid
wgg>Cadaei examples |
wgg>Cadaei doc for sourceMarker |
||
| Line 6: | Line 6: | ||
=== Arguments === | === Arguments === | ||
* <code>mark</code>: <code>all</code> or comma separated list of indices to highlight, e.g. <code>7,8,9</code>. | * <code>mark</code>: <code>all</code> or comma separated list of indices to highlight, e.g. <code>7,8,9</code>. | ||
* <code>markSource</code>: comma separated list of indices to highlight as effect source, e.g. <code>7,8,9</code>. | |||
=== Indices === | === Indices === | ||
| Line 49: | Line 50: | ||
<code>mark = 7,8,9,12,14</code> | <code>mark = 7,8,9,12,14</code> | ||
{{#invoke:Abilities/Grid|gridInvoke|mark=7,8,9,12,14}} | {{#invoke:Abilities/Grid|gridInvoke|mark=7,8,9,12,14}} | ||
<code>mark = 7,8,9,12,14 | markSource=18</code> | |||
{{#invoke:Abilities/Grid|gridInvoke|mark=7,8,9,12,14|markSource=18}} | |||
<code>mark = all</code> | <code>mark = all</code> | ||
{{#invoke:Abilities/Grid|gridInvoke|mark=all}} | {{#invoke:Abilities/Grid|gridInvoke|mark=all}} | ||
{{doc/end}} | {{doc/end}} | ||
Revision as of 11:06, 29 June 2024
Creates a grid where some cells can be highlighted. The center is always white unless highlighted by another color.
This module is used by Module:Abilities.
Arguments
mark:allor comma separated list of indices to highlight, e.g.7,8,9.markSource: comma separated list of indices to highlight as effect source, e.g.7,8,9.
Indices
| 1 | 2 | 3 | 4 | 5 |
| 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 |
Examples
mark = 7,8,9,12,14
mark = 7,8,9,12,14 | markSource=18
mark = all


