Difference between revisions of "Template:Cell3/doc"

From blackwiki
Jump to navigation Jump to search
imported>Plastikspork
(scarf)
imported>Frietjes
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
 
The {{tl|cell3}} template can be used to create three consecutive table cells with a specified background color.
 
The {{tl|cell3}} template can be used to create three consecutive table cells with a specified background color.
  
Line 32: Line 32:
 
*{{tl|cell2}}
 
*{{tl|cell2}}
 
*{{tl|cells}}
 
*{{tl|cells}}
*{{tl|colorbox}}
+
*{{tl|color box}}
 
*{{tl|color strip}}
 
*{{tl|color strip}}
 
*{{tl|scarf}}
 
*{{tl|scarf}}
  
 
<includeonly>
 
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
<!-- CATEGORIES HERE, THANKS -->
 
[[Category:Color templates]]
 
[[Category:Color templates]]
 
</includeonly>
 
</includeonly>

Revision as of 13:45, 20 October 2016

The {{cell3}} template can be used to create three consecutive table cells with a specified background color.

The command {{cell3|COLOR}} is equivalent to {{cell|COLOR}} {{cell|COLOR}} {{cell|COLOR}}


Usage

{{cell3|COLOR}}

The template takes one unnamed parameter as input, which is the background color of the table cells.

Examples

Code
{| width="50%" cellspacing=0
{{cell|red}}{{cell2|blue}}{{cell3|green}}
|}
Result
          

Note

The {{cell2}} template can be used for a sequence of two cells of the same color. For more than three cells, use {{cells}}.

See also