Template:SpoilerTable
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 |
---|---|---|---|---|
Icon | Pre-test | This is a pre-test | With the bird | 1500 |
Spoiler ImageImage | Spoilers much :/Test | Super Test | With the collector | 100 |
Spoiler ImageImage | 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"| Icon | Pre-test | This is a pre-test | With the bird | 1500 |- {{SpoilerTable | content = Image | hidden = Yes | toggle = Spoiler Image | 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 = Image | hidden = Yes | toggle = Spoiler Image | 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 }} |} |}