- Welcome to the Kancolle Wiki!
- If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord
Template:MapBranchingTable/doc
Parameter Naming
- <"From" Node> -> <"To" Node> = <argument value>
- 0 = Start
- 1, 2, 3, etc = Starting points, when a map has multiple starting points, depending on the branching rules.
- <Node>/battle = Red node, which is also the default if nothing is assigned
- <Node>/empty = Blue node
- <Node>/storm = Purple node
- <Node>/resource = Green node
To assign a manual id for the tables, you can use "id = <value>". This is generally not necessary, unless you want some buttons to show/hide multiple branches for whatever reason you have. Either way, the option is there.
To change the width of the table, you can use "width = auto" for a more compact table. If "width" is not stated, it will create a wide table that fits the screen on default. Table is always collapsed by default.
With the use of a template, invoking the module through #invoke is no longer required and you can treat this module as a template. Each parameter line still requires a pipe character "|".
Examples
Example 1
{{MapBranchingTable |0 -> 1 = Some text... |0 -> 2 = Some text... |1 -> A = Some text... |1 -> B/resource = [[DD]], [[CL]] |1 -> C/storm = * A * list |C/storm -> D/empty = ... }}
Branching Rules | ||
---|---|---|
Nodes | Rules | |
Start | 1 |
Some text... |
2 |
Some text... | |
1 |
A |
Some text... |
B |
||
C |
| |
C |
D |
... |
Example 2
{{MapBranchingTable |width = auto |0 -> 1 = Some text... |0 -> 2 = Some text... |1 -> A = Some text... |1 -> B/resource = [[DD]], [[CL]] |1 -> C/storm = * A * list |C/storm -> D/empty = ... }}
Branching Rules | ||
---|---|---|
Nodes | Rules | |
Start | 1 |
Some text... |
2 |
Some text... | |
1 |
A |
Some text... |
B |
||
C |
| |
C |
D |
... |
Example 3
{{MapBranchingTable |id = E-1 |width = auto |0 -> 1 = Some text... |0 -> 2 = Some text... |1 -> A = Some text... |1 -> B/resource = [[DD]], [[CL]] |1 -> C/storm = * A * list |C/storm -> D/empty = ... }}
Branching Rules | ||
---|---|---|
Nodes | Rules | |
Start | 1 |
Some text... |
2 |
Some text... | |
1 |
A |
Some text... |
B |
||
C |
| |
C |
D |
... |
Credits
Special thanks to がか(gaka) for writing this module.