Template:CT-22

From Wikipedia, the free encyclopedia

{{CT-22}} template code will be replaced with below codes:


</td></tr>


If {{CT-22|display_code}} is used, then above code itself will be displayed on the screen, without executing them. You may use this, when you only want to display the code, rather than use the code.

Though the above codes are intended to change HTML Table or Table elements' appearance, it can also be used easily with other HTML elements as well.

If you're editing this template, please make sure that the 2nd <noinclude> tag remains on the same line as the previous code, (after an optional single space character). Please use "Preview" and do corrections before "Save". Update both (branch of switch) code lines. Also update the list of templates in this group (shown below), in Template:CT-L. Thanks.

[edit] Template documentation

These templates change the border width and other appearance of table for data grouping, that is, it makes each (data) item's table cell and its related cells into a group, by surrounding them with a (thick) wider border. Or, changes the background or text color of a cell.

List of templates in this group:
If you're adding new template in this group, please update this template page list (CT-L) with the link to that new template.

style="text-align: center; vertical-align: middle; font-size:85%; empty-cells: show; border-collapse: collapse; border: 3px solid; padding: 2px;"
style="border-right: 3px solid; border-bottom: 3px solid; padding: 2px;"
style="border-right: 3px solid; padding: 2px;"
style="border-bottom: 3px solid; padding: 2px;"
style="border: 3px solid; padding: 2px;"
style="font-size: 150%;"
style="font-size: 200%;"
style="font-size: 75%;"
style="vertical-align: middle; font-size:85%; empty-cells: show; border-collapse: collapse; border: 3px solid; padding: 2px;"
border="0" style="border: 0px; background-color: transparent;"
style="border: 0px;"
style="text-align: left;"
style="text-align: center;"
style="text-align: right;"
style="vertical-align: top;"
style="text-align: right; vertical-align: top;"
style="text-align: center; vertical-align: middle; font-size: 80%;"
<table border="1" cellspacing="0" cellpadding="2" style="padding: 2px; border: 1px dashed #2f6fab!important; background-color: #f9f9f9; border-collapse: collapse; font-family: 'Courier New', 'Lucida Console', Courier, 'MS Courier New', 'adobe-courier', 'Everson Mono', 'Andale Mono', 'Bitstream Vera Sans Mono', 'OCR A Extended', Terminal, Fixed, Lucidatypewriter, 'Nimbus Mono L', 'Courier Regular', Monaco, 'VT 100', monospace; margin: 0.5em; empty-cells: hide;">
<tr><td style="border-bottom: 1px dashed #87CEEB;">
  • Template:CT-22 : Usage: {{CT-22}}
</td></tr>
<tr><td>
style="border: 1px dashed #2f6fab; background-color: #f9f9f9; padding: 1px;"