Template:SpoilerTable

From Dead Cells Wiki
Jump to: navigation, search

Usage

This template is to be used to create other table templates that may contain spoilers, but it can be used to hide individual cells in a normal table.

{|
|-
{{SpoilerTable
| content = 
| hidden = 
| toggle = 
| message = 
| identifier = 
| sort = 
}}
|}

Example

Icon Name Description Blueprint Location Base Damage Base Cooldown Scaling
Great Owl of War Icon.png Pre-test This is a pre-test With the bird 1500 1 Skill Stat.png
Exclamation.png
[Show]
Collector's Syringe Icon.png
Spoilers much :/Test Super Test With the collector 100 10 Str Hp.png
Exclamation.png
[Show]
Mushroom Boi! Icon.png
Spoilers much :/Test as well Omega Test With the hidden collector 120 8 Health Stat.png

Code

{| class="wikitable sortable" style="text-align:center; width:100%;"
!Icon
!style="width:140px;"|Name
!class=unsortable |Description
!class=unsortable |Blueprint Location
!style="width:90px;" |Base Damage
!Base Cooldown
!Scaling
|-
| data-sort-value="1"| [[File:Great Owl of War Icon.png|48x48px|link=]]
| Pre-test
| This is a pre-test
| With the bird
| 1500
| 1
| {{Stat|skill}}
|-
{{SpoilerTable
| content = [[File:Collector's Syringe Icon.png|48x48px|link=]]
| hidden = Yes
| toggle = [[File:Exclamation.png|x25px|link=]]<br/>[Show]
| identifier = collector
| sort = 2
}}
{{SpoilerTable
| content = Test
| hidden = Yes
| message = Spoilers much :/
| identifier = collector
}}
{{SpoilerTable
| content = Super Test
| hidden = Yes
| identifier = collector
}}
{{SpoilerTable
| content = With the collector
| hidden = Yes
| identifier = collector
}}
{{SpoilerTable
| content = 100
| hidden = Yes
| identifier = collector
}}
{{SpoilerTable
| content = 10
| hidden = Yes
| identifier = collector
}}
{{SpoilerTable
| content = {{Stat|strhp}}
| hidden = Yes
| identifier = collector
}}
|-
{{SpoilerTable
| content = [[File:Mushroom Boi! Icon.png|48x48px|link=]]
| hidden = Yes
| toggle = [[File:Exclamation.png|x25px|link=]]<br/>[Show]
| identifier = boi
| sort = 3
}}
{{SpoilerTable
| content = Test as well
| hidden = Yes
| message = Spoilers much :/
| identifier = boi
}}
{{SpoilerTable
| content = Omega Test
| hidden = Yes
| identifier = boi
}}
{{SpoilerTable
| content = With the hidden collector
| hidden = Yes
| identifier = boi
}}
{{SpoilerTable
| content = 120
| hidden = Yes
| identifier = boi
}}
{{SpoilerTable
| content = 8
| hidden = Yes
| identifier = boi
}}
{{SpoilerTable
| content = {{Stat|health}}
| hidden = Yes
| identifier = boi
}}
|}