Template:SpoilerTable

From KarmaZoo Wiki
Jump to navigation Jump to 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
Peacock Sherpa Sprite.png Pre-test This is a pre-test With the bird 1500
SpoilerWarning.png
[Show]
Blob Sprite.png
Spoilers much :/Test Super Test With the collector 100
SpoilerWarning.png
[Show]
Soul Sprite.png
Spoilers much :/Test as well Omega Test With the hidden collector 120

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
|-
| data-sort-value="1"| [[File:Peacock_Sherpa_Sprite.png|48x48px|link=]]
| Pre-test
| This is a pre-test
| With the bird
| 1500
| 1
| {{Stat|tact}}
|-
{{SpoilerTable
| content = [[File:Blob_Sprite.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 = [[File:Soul_Sprite.png|48x48px|link=]]
| hidden = Yes
| toggle = [[File:SpoilerWarning.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
}}

|}