Template:SclC

From JoJoSS Wiki
Jump to navigation Jump to search

Documentation for SclC

Usage

Add a button to expand and collapse rows of a table used in the scaling tab.

  • Use {{SclC}} or {{SclC|Button}} in the title of the table to add the button.
  • Replace |- with {{SclC|Start}} to define where the rows will start to collapse.
  • Replace another |- with {{SclC|End}} to define where the rows will end the collapse.
  • A second parameter is used to target in case there are few collapsible tables. Use {{SclC|Start|TargetName}} or any other text.

Note: The table must be set with the class "wikitable", otherwise, it won't be displayed correctly. The class and style can be set with a variable of the same name.

{| class="wikitable scale"
|+ Eternal climax {{SclC}}
|-
| Level 1 || Red attributes and Passione ATK+5%
{{SclC|Start}}
| Level 2 || Red attributes and Passione '''ATK+10%'''
|-
| Level 3 || Red attributes and Passione '''ATK+15%'''
|-
Keep adding rows...
|-
| Level 19 || Red attributes and Passione '''ATK+95%'''
{{SclC|End}}
| Level 20 || Red attributes and Passione '''ATK+100%'''
|}

Example

Eternal climax ExpandCollapse
Level 1 Red attributes and Passione ATK+5%
Level 2 Red attributes and Passione ATK+10%
Level 3 Red attributes and Passione ATK+15%
Level 4 Red attributes and Passione ATK+20%
Level 5 Red attributes and Passione ATK+25%
Level 6 Red attributes and Passione ATK+30%
Level 7 Red attributes and Passione ATK+35%
Level 8 Red attributes and Passione ATK+40%
Level 9 Red attributes and Passione ATK+45%
Level 10 Red attributes and Passione ATK+50%
Level 11 Red attributes and Passione ATK+55%
Level 12 Red attributes and Passione ATK+60%
Level 13 Red attributes and Passione ATK+65%
Level 14 Red attributes and Passione ATK+70%
Level 15 Red attributes and Passione ATK+75%
Level 16 Red attributes and Passione ATK+80%
Level 17 Red attributes and Passione ATK+85%
Level 18 Red attributes and Passione ATK+90%
Level 19 Red attributes and Passione ATK+95%
Level 20 Red attributes and Passione ATK+100%