From Dark and Darker Wiki
m (fixed; now iterates correctly; each section in default collapsible with two buttons to show/hide or hide) |
m (headers moved down a layer for future) |
||
Line 4: | Line 4: | ||
-->{{#loop:i|0|{{#arraysize:status_types}}|{{#vardefine:current_status_type|{{#arrayindex:status_types|{{#var:i}}}}}}<!-- Iterate status_types | -->{{#loop:i|0|{{#arraysize:status_types}}|{{#vardefine:current_status_type|{{#arrayindex:status_types|{{#var:i}}}}}}<!-- Iterate status_types | ||
-->< | --><h2>{{#var:current_status_type}}</h2><!-- Create header for this status type | ||
-->{{#loop:j|0|{{#arraysize:source_types}}|{{#vardefine:current_source_type|{{#arrayindex:source_types|{{#var:j}}}}}}<!-- Iterate source types | -->{{#loop:j|0|{{#arraysize:source_types}}|{{#vardefine:current_source_type|{{#arrayindex:source_types|{{#var:j}}}}}}<!-- Iterate source types | ||
-->< | --><h3>{{#var:current_source_type}}</h3><!-- Create header for this source type | ||
-->{{#vardefine:table_id|{{#var:current_status_type}}_{{#var:current_source_type}}}}<!-- Define a unique ID for the table | -->{{#vardefine:table_id|{{#var:current_status_type}}_{{#var:current_source_type}}}}<!-- Define a unique ID for the table | ||
--><span class="mw-customtoggle-{{#var:table_id}}"><u>Show/Hide</u> {{#var:current_status_type}}s from a {{#var:current_source_type}} below</span><!-- Create Show/Hide Button that appears before the collapsed content | --><span class="mw-customtoggle-{{#var:table_id}}"><u>Show/Hide</u> {{#var:current_status_type}}s from a {{#var:current_source_type}} below</span><!-- Create Show/Hide Button that appears before the collapsed content |
Revision as of 19:59, 23 July 2024
{{GenerateStatusTables}}
Buff
Class
Show/Hide Buffs from a Class below
Template:GenerateStatusTableHide Buffs from a Class above
Item
Show/Hide Buffs from a Item below
Template:GenerateStatusTableHide Buffs from a Item above
Monster
Show/Hide Buffs from a Monster below
Template:GenerateStatusTableHide Buffs from a Monster above
Prop
Show/Hide Buffs from a Prop below
Template:GenerateStatusTableHide Buffs from a Prop above
Other
Show/Hide Buffs from a Other below
Template:GenerateStatusTableHide Buffs from a Other above
Debuff
Class
Show/Hide Debuffs from a Class below
Template:GenerateStatusTableHide Debuffs from a Class above
Item
Show/Hide Debuffs from a Item below
Template:GenerateStatusTableHide Debuffs from a Item above
Monster
Show/Hide Debuffs from a Monster below
Template:GenerateStatusTableHide Debuffs from a Monster above
Prop
Show/Hide Debuffs from a Prop below
Template:GenerateStatusTableHide Debuffs from a Prop above
Other
Show/Hide Debuffs from a Other below
Template:GenerateStatusTableHide Debuffs from a Other above
Other
Class
Show/Hide Others from a Class below
Template:GenerateStatusTableHide Others from a Class above
Item
Show/Hide Others from a Item below
Template:GenerateStatusTableHide Others from a Item above
Monster
Show/Hide Others from a Monster below
Template:GenerateStatusTableHide Others from a Monster above
Prop
Show/Hide Others from a Prop below
Template:GenerateStatusTableHide Others from a Prop above
Other
Show/Hide Others from a Other below
Template:GenerateStatusTableHide Others from a Other above