Template:Contesttable
| style="text-align:center; background:#{{{{{1}}} color}}"|[[{{{1}}} (condition)|{{{1}}}]]
{{contesttable}} creates a table cell which links to a Contest condition article with the condition color background.
Usage
Do not type the pipe (|) at the beginning, as it is included in the template.
{|
|-
{{contesttable}}
|}
See Examples for more info.
Parameters
| Parameter | Allowed values | Notes |
|---|---|---|
| 1 (unnamed) | Beautiful • Beauty • Clever • Cool • Cute • Smart • Tough • ???
|
The required condition. |
| note | String | Optional. Any extra note, such as superscript or references, can be added here. |
TemplateData
This template creates a table cell which links to a Contest condition article with correct color background
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Contest condition | 1 | Contest condition
| Line | required |
| 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;"
|-
{{contesttable|Beautiful}}
|-
{{contesttable|Clever}}
|-
{{contesttable|Tough}}
|}
| Beautiful |
| Clever |
| Tough |
Same row
For using multiple instances of {{contesttable}} 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;"
|-
{{contesttable|Clever}} {{contesttable|Cool}} {{contesttable|Cute}}
|-
{{contesttable|Beauty}}
{{contesttable|Tough}}
{{contesttable|???}}
|}
| Clever | Cool | Cute |
| Beauty | Tough | ??? |
Note
{| style="border: 3px solid black;"
|-
{{contesttable|Beautiful|note=<sup>(formerly Beauty)</sup>}}
|-
{{contesttable|Clever|note=<ref group=alpha>formerly Smart</ref>}}
|}
| Beautiful(formerly Beauty) |
| Clever[1] |
- ↑ formerly Smart