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
wgg>Cadaei
Created page with "{{doc/start}} 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 === * <code>mark</code>: <code>all</code> or comma separated list of indices to highlight, e.g. <code>7,8,9</code>. === Indices === <table class="influence-table" style="font-size:0.9em; color: white; text-align:right;"> <tr> <td>1</td> <td>2</td> <td>3</td> <td>4</td> <td>5</td> </..."
 
m 3 revisions imported
 
(2 intermediate revisions by one other user not shown)
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 45: Line 46:
</tr>
</tr>
</table>
</table>
=== Examples ===
<code>mark = 7,8,9,12,14</code>
{{#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>
{{#invoke:Abilities/Grid|gridInvoke|mark=all}}


{{doc/end}}
{{doc/end}}

Latest revision as of 17:24, 25 October 2025

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: all or 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