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 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> </..." |
wgg>Cadaei examples |
||
| Line 45: | Line 45: | ||
</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 = all</code> | |||
{{#invoke:Abilities/Grid|gridInvoke|mark=all}} | |||
{{doc/end}} | {{doc/end}} | ||
Revision as of 13:09, 18 November 2023
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.
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 = all


