Template:Entry with color

咯咯炀讨论 | 贡献2020年11月16日 (一) 11:46的版本 (创建页面,内容为“<includeonly>| rowspan=1 style="width: 2px; background-color: rgb({{{2}}}, {{{3}}}, {{{4}}});" | | rowspan=1 style="text-align: left;" scope="row" | {{{1}}}</include…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
[阅读] [编辑]Template-info.png 模板文档

This template can be used to add the beginning of a row for a table entry with a color before it. Adds two cells, one with the specified color, one with the provided name. May be used by various types:

Parameters[编辑源代码]

Parameter Description Required Default
1 Name of the entry required none
2 The color's red value (RGB) required none
3 The color's green value (RGB) required none
4 The color's blue value (RGB) ) required none

Examples[编辑源代码]

{| class="wikitable sortable"
! colspan=2 | Column
|-
{{title with color|Abyssinia|200|100|50}}
|}
produces:
Column
Abyssinia

Aliases[编辑源代码]