Template:Statustable/doc
{{statustable}} creates a table cell which links to a Damage category article with the type color background.
Usage
Do not type the pipe (|) at the beginning, as it is included in the template.
{|
|-
{{Statustable}}
|}
See Examples for more info.
Parameters
| Parameter | Allowed values | Notes |
|---|---|---|
| 1 (unnamed) | Physical • Special • Status • Other • Unknown • ??? • Shadow
|
The required type. |
| 2 (unnamed) | String | Override for the displayed text. |
| note | String | Optional. Any extra note, such as sup or references, can be added here.
|
TemplateData
This template creates a table cell which links to a Move category article with the type color background
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Move category | 1 | Move category/Damage category name
| Line | required |
| Display text | 2 | Override for the displayed text
| Line | optional |
| Note | note | Any extra note can be added here | String | optional |
Examples
Different rows
Do not type the pipe (|) at the beginning of each row, as it is included in the template.
{| style="border: 3px solid black;"
|-
{{Statustable|Physical}}
|-
{{Statustable|Special}}
|-
{{Statustable|Status}}
|}
| Physical |
| Special |
| Status |
Same row
For using multiple instances of {{statustable}} in the same row of the table, they can be used on either the same line of the source code or on multiple lines. Do not include the pipe (|) at the beginning of each row or the double pipe (||) separator.
{| style="border: 3px solid black;"
|-
{{Statustable|Physical}} {{Statustable|Special}} {{Statustable|Status}}
|-
{{Statustable|Other}}
{{Statustable|Unknown}}
{{Statustable|???}}
|}
| Physical | Special | Status |
| Other | Unknown | ??? |
Alternate Display text
{| style="border: 3px solid black;"
|-
{{Statustable|Other|something else}}
{{Statustable|Shadow}}
{{Statustable|Shadow|------}}
|}
|}
| something else | Shadow | ------ |
Note
{| style="border: 3px solid black;"
|-
{{Statustable|Physcial|note=<sup>(Special before Gen IV)</sup>}}
|-
{{Statustable|Special|note=<ref group=note>Physical before Gen IV</ref>}}
|}
| PhysicalSpecial before Gen IV |
| Special[note 1] |
- ↑ Physical before Gen IV