- You can copy and paste the examples below into an article, then edit as needed.
- All the examples below are based of the same couple of table. You can see that with only a couple of programing changes you can create different looks.
Contents |
Wikitable
The "wikitable" has a thin lines running around and through the table, which gives it a less cluttered look.
{|
A table starts and ends with:
|}
A table column starts with: !
|- A table row starts and ends with: |-
A table cell within a row starts with: |
A table caption starts with: |+
Single Line Format
The single line format is a way to create a table vertically. For small tables it is easy to use and follow. But for large tables it can become quite difficult to create or update. When looking at the finished table it does not look like the code and that is what makes it difficult.
Example:
{| class="wikitable"
!style="background:thistle;"|Symbol
!style="background:thistle;"|Definition
!style="background:thistle;"|US
!style="background:thistle;"|Metric
|-
| align="center" |<tex>\large%20\alpha </tex>
| align="center" |diffusivity
| align="center" |ft²/hr
| align="center" |m²/s
|-
| align="center" |<tex>\large%20\beta </tex>
| align="center" |compressibility
| align="center" |ft²/lbf
| align="center" |Pa
|}
Result:
| Symbol | Definition | US | Metric |
|---|---|---|---|
| diffusivity | ft²/hr | m²/s | |
| compressibility | ft²/lbf | Pa |
Column (width="number")
Using ! starts a table header and width="number" gives a specific width for the column. A long string of text will expand vertically in a cell since the width has been fixed.
Example:
{| class="wikitable"
!width="70" style="background:khaki;"|Symbol
!width="175" style="background:khaki;"|Definition
!width="175" style="background:khaki;"|US
!width="175" style="background:khaki;"|Metric
|-
| align="center" |<tex>\large%20\alpha </tex>
| align="center" |diffusivity
| align="center" |ft²/hr
| align="center" |m²/s
|-
| align="center" |<tex>\large%20\beta </tex>
| align="center" |compressibility
| align="center" |ft²/lbf
| align="center" |Pa
|}
Result:
| Symbol | Definition | US | Metric |
|---|---|---|---|
| diffusivity | ft²/hr | m²/s | |
| compressibility | ft²/lbf | Pa |
Column (width="%")
By changing ! to | you can use width="%" to allow for expansion horizontally and vertically due to the size of the text string in a cell. The percentages ( % ) will have to be adjusted to achieve the column spacing desired. As you can see the percentages do not necessarily add up to 100%.
Example:
{| class="wikitable"
|-valign="top"
|width="10%" style="background:khaki;"|Symbol
|width="30%" style="background:khaki;"|Definition
|width="30%" style="background:khaki;"|US
|width="40%" style="background:khaki;"|Metric
|-valign="top"
|<tex>\large%20\alpha </tex>
|diffusivity
|ft²/hr
|m²/s
|-valign="top"
|<tex>\large%20\beta </tex>
|compressibility
|ft²/lbf
|Vapor blinds are not to be subject to differential pressure.
|}
Result:
| Symbol | Definition | US | Metric |
| diffusivity | ft²/hr | m²/s | |
| compressibility | ft²/lbf | Vapor blinds are not to be subject to differential pressure. |
Result:
| Symbol | Definition | US | Metric |
| diffusivity | ft²/hr | m²/s | |
| compressibility | ft²/lbf | Pa |
Internal Link
Within a table any or all data can be linked to other articles by adding brackets [[ ]].
Example:
{| class="wikitable"
!width="70" style="background:silver;"|Symbol
!width="175" style="background:silver;"|Definition
!width="175" style="background:silver;"|US
!width="175" style="background:silver;"|Metric
|-
| align="center" |<tex>\large%20\alpha </tex>
| align="center" |[[diffusivity]]
| align="center" |ft²/hr
| align="center" |m²/s
|-
| align="center" |<tex>\large%20\beta </tex>
| align="center" |[[compressibility]]
| align="center" |ft²/lbf
| align="center" |Pa
|}
Result:
| Symbol | Definition | US | Metric |
|---|---|---|---|
| diffusivity | ft²/hr | m²/s | |
| compressibility | ft²/lbf | Pa |
Two Background Colors
For background and text with different colors edit style="background:mediumseagreen; color:white".
Example:
{| class="wikitable"
!width="70" style="background:mediumseagreen; color:white"|Symbol
!width="175" style="background:mediumseagreen; color:white"|Definition
!width="175" style="background:mediumseagreen; color:white"|US
!width="175" style="background:mediumseagreen; color:white"|Metric
|-
| align="center" |<tex>\large%20\alpha </tex>
| align="center" |diffusivity
| align="center" |ft²/hr
| align="center" |m²/s
|-
| align="center" |<tex>\large%20\beta </tex>
| align="center" |compressibility
| align="center" |ft²/lbf
| align="center" |Pa
|}
Result:
| Symbol | Definition | US | Metric |
|---|---|---|---|
| diffusivity | ft²/hr | m²/s | |
| compressibility | ft²/lbf | Pa |
Table Caption
When placing |+ at the beginning of the table a header is inserted.
Example:
{| class="wikitable"
|+ <u>'''Conversion'''</u>
!width="70" style="background:lightsalmon;"|Symbol
!width="175" style="background:lightsalmon;"|Definition
!width="175" style="background:lightsalmon;"|US
!width="175" style="background:lightsalmon;"|Metric
|-
| align="center" |<tex>\large%20\alpha </tex>
| align="center" |diffusivity
| align="center" |ft²/hr
| align="center" |m²/s
|-
| align="center" |<tex>\large%20\beta </tex>
| align="center" |compressibility
| align="center" |ft²/lbf
| align="center" |Pa
|}
Result:
| Symbol | Definition | US | Metric |
|---|---|---|---|
| diffusivity | ft²/hr | m²/s | |
| compressibility | ft²/lbf | Pa |
Table Header
When adding another header row and colspan = 4, you can make as many groupings as needed.
Example:
{| class="wikitable"
|-
! colspan = 4 style="background:gainsboro;"| Conversion
|-
!width="70" style="background:khaki;"|Symbol
!width="175" style="background:khaki;"|Definition
!width="175" style="background:khaki;"|US
!width="175" style="background:khaki;"|Metric
|-
| align="center" |<tex>\large%20\alpha </tex>
| align="center" |diffusivity
| align="center" |ft²/hr
| align="center" |m²/s
|-
| align="center" |<tex>\large%20\beta </tex>
| align="center" |compressibility
| align="center" |ft²/lbf
| align="center" |Pa
|}
Result:
| Conversion | |||
|---|---|---|---|
| Symbol | Definition | US | Metric |
| diffusivity | ft²/hr | m²/s | |
| compressibility | ft²/lbf | Pa | |
Font Type and Size
By adding style="font-style:italic; font-size:120%" to class="wikitable" the text style and size in the table can be change.
Example:
{| class="wikitable" style="font-style:italic; font-size:120%"
|-
! colspan = 4 style="background:gainsboro;"| Conversion
|-
!width="70" style="background:khaki;"|Symbol
!width="175" style="background:khaki;"|Definition
!width="175" style="background:khaki;"|US
!width="175" style="background:khaki;"|Metric
|-
| align="center" |<tex>\large%20\alpha </tex>
| align="center" |diffusivity
| align="center" |ft²/hr
| align="center" |m²/s
|-
| align="center" |<tex>\large%20\beta </tex>
| align="center" |compressibility
| align="center" |ft²/lbf
| align="center" |Pa
|}
Result:
| Conversion | |||
|---|---|---|---|
| Symbol | Definition | US | Metric |
| diffusivity | ft²/hr | m²/s | |
| compressibility | ft²/lbf | Pa | |
Table Border Type
You may have a small table and would like to emphasize it, changing the border could be a good way.
Example:
{| class="wikitable" style="border:2px dashed blue;"
|-
! colspan = 4 style="background:gainsboro;"| Conversion
|-
!width="70" style="background:lightblue;"|Symbol
!width="175" style="background:lightblue;"|Definition
!width="175" style="background:lightblue;"|US
!width="175" style="background:lightblue;"|Metric
|-
| align="center" |<tex>\large%20\alpha </tex>
| align="center" |diffusivity
| align="center" |ft²/hr
| align="center" |m²/s
|-
| align="center" |<tex>\large%20\beta </tex>
| align="center" |compressibility
| align="center" |ft²/lbf
| align="center" |Pa
|}
Result:
| Conversion | |||
|---|---|---|---|
| Symbol | Definition | US | Metric |
| diffusivity | ft²/hr | m²/s | |
| compressibility | ft²/lbf | Pa | |
Vertical Table
Rather than having a table header you can have a column header with adjustable cells. When using width %, no matter how many columns there are it will adjust itself out across the table.
Example:
{| class="wikitable"
|-valign="top"
| width="8%" |'''Row 1'''
| width="30%" |A test blank is specially designed blank used for hydrostatic or other incompressible fluid testing purposes only.
| width="35%" |Vapor blinds are not to be subject to differential pressure.
| width="15%" |Single blinds ues standard gaskets.
|-valign="top"
| '''Row 2'''
| Vapor blinds are not to be subject to differential pressure.
| Similar to a "single blind", but thinner, normally 1/8" (3mm) to 5/16" (8mm) thick. These are positive sealing devices intended to prevent accidental flow or leakage of vapors into a pipeline or vessel, usually while the system is in service. Vapor blinds are not to be subject to differential pressure.
| Single blinds ues standard gaskets.
|}
Result:
| Row 1 | A test blank is specially designed blank used for hydrostatic or other incompressible fluid testing purposes only. | Vapor blinds are not to be subject to differential pressure. | Single blinds ues standard gaskets. |
| Row 2 | Vapor blinds are not to be subject to differential pressure. | Similar to a "single blind", but thinner, normally 1/8" (3mm) to 5/16" (8mm) thick. These are positive sealing devices intended to prevent accidental flow or leakage of vapors into a pipeline or vessel, usually while the system is in service. Vapor blinds are not to be subject to differential pressure. | Single blinds ues standard gaskets. |
Vertical Color Table
Add color to the first row.
Example:
{| class="wikitable"
|-valign="top"
| width="8%" style="background:lightgreen;" |'''Row 1'''
| width="30%" |A test blank is specially designed blank used for hydrostatic or other incompressible fluid testing purposes only.
| width="35%" |Vapor blinds are not to be subject to differential pressure.
| width="15%" |Single blinds ues standard gaskets.
|-valign="top"
| style="background:lightgreen;" |'''Row 2'''
| Vapor blinds are not to be subject to differential pressure.
| Similar to a "single blind", but thinner, normally 1/8" (3mm) to 5/16" (8mm) thick. These are positive sealing devices intended to prevent accidental flow or leakage of vapors into a pipeline or vessel, usually while the system is in service. Vapor blinds are not to be subject to differential pressure.
| Single blinds ues standard gaskets.
|}
Result:
| Row 1 | A test blank is specially designed blank used for hydrostatic or other incompressible fluid testing purposes only. | Vapor blinds are not to be subject to differential pressure. | Single blinds ues standard gaskets. |
| Row 2 | Vapor blinds are not to be subject to differential pressure. | Similar to a "single blind", but thinner, normally 1/8" (3mm) to 5/16" (8mm) thick. These are positive sealing devices intended to prevent accidental flow or leakage of vapors into a pipeline or vessel, usually while the system is in service. Vapor blinds are not to be subject to differential pressure. | Single blinds ues standard gaskets. |
Vertical Header
Add a header to the table.
Example:
{| class="wikitable"
|-valign="top"
| width="8%" style="background:lightgray;" rowspan="2" |'''Header'''
| width="8%" style="background:lightgreen;" |'''Row 1'''
| width="30%" |A test blank is specially designed blank used for hydrostatic or other incompressible fluid testing purposes only.
| width="35%" |Vapor blinds are not to be subject to differential pressure.
| width="15%" |Single blinds ues standard gaskets.
|-valign="top"
| style="background:lightgreen;" |'''Row 2'''
| Vapor blinds are not to be subject to differential pressure.
| Similar to a "single blind", but thinner, normally 1/8" (3mm) to 5/16" (8mm) thick. These are positive sealing devices intended to prevent accidental flow or leakage of vapors into a pipeline or vessel, usually while the system is in service. Vapor blinds are not to be subject to differential pressure.
| Single blinds ues standard gaskets.
|}
Result:
| Header | Row 1 | A test blank is specially designed blank used for hydrostatic or other incompressible fluid testing purposes only. | Vapor blinds are not to be subject to differential pressure. | Single blinds ues standard gaskets. |
| Row 2 | Vapor blinds are not to be subject to differential pressure. | Similar to a "single blind", but thinner, normally 1/8" (3mm) to 5/16" (8mm) thick. These are positive sealing devices intended to prevent accidental flow or leakage of vapors into a pipeline or vessel, usually while the system is in service. Vapor blinds are not to be subject to differential pressure. | Single blinds ues standard gaskets. |
Double Line Format
The double line format is a much easier way to create a table. When creating the table it looks basically like the finished product. It is layed out in a horizontal format which is much easier to create than a vertical format.
By adding !! or || between cells one string can be used for a row. This format is easy to follow and update even with long columns and rows.
align="center" Between Row
align="center" can be placed between the rows instead of part of the row.
Example:
{| class="wikitable"
!width="70" style="background:khaki;"|Symbol
!width="175" style="background:khaki;"|Definition
!width="175" style="background:khaki;"|US
!width="175" style="background:khaki;"|Metric
|- align="center"
|<tex>\large%20\alpha </tex> || diffusivity || ft²/hr ||m²/s
|- align="center"
|<tex>\large%20\beta </tex> || compressibility || ft²/lbf || Pa
|}
Result:
| Symbol | Definition | US | Metric |
|---|---|---|---|
| diffusivity | ft²/hr | m²/s | |
| compressibility | ft²/lbf | Pa |
align="center" Part of Row
align="center" can be part of the row.
Example:
{| class="wikitable"
!width="70" style="background:khaki;"|Symbol
!width="175" style="background:khaki;"|Definition
!width="175" style="background:khaki;"|US
!width="175" style="background:khaki;"|Metric
|-
|align="center" |<tex>\large%20\alpha </tex> || diffusivity || ft²/hr ||m²/s
|-
|align="center" |<tex>\large%20\beta </tex> || compressibility || ft²/lbf || Pa
|}
Result:
| Symbol | Definition | US | Metric |
|---|---|---|---|
| diffusivity | ft²/hr | m²/s | |
| compressibility | ft²/lbf | Pa |
Single Horizontal Collapse
By collapsing the columns a header can be created.
Example:
{| class="wikitable"
! colspan="4" style="background: lightblue;"|Conversion
|- align="center"
!width="70" style="background:khaki;"|Symbol
!width="175" style="background:khaki;"|Definition
!width="175" style="background:khaki;"|US
!width="175" style="background:khaki;"|Metric
|- align="center"
|<tex>\large%20\alpha </tex> || diffusivity || ft²/hr ||m²/s
|- align="center"
|<tex>\large%20\beta </tex> || compressibility || ft²/lbf || Pa
|}
Result:
| Conversion | |||
|---|---|---|---|
| Symbol | Definition | US | Metric |
| diffusivity | ft²/hr | m²/s | |
| compressibility | ft²/lbf | Pa | |
Multiple Horizontal Collapse
You can collapse as many columns as you wish.
Example:
{| class="wikitable"
! colspan="2" style="background: lightblue;"|
! colspan="2" style="background: lightblue;"|Conversion
|- align="center"
!width="70" style="background:khaki;"|Symbol
!width="175" style="background:khaki;"|Definition
!width="175" style="background:khaki;"|US
!width="175" style="background:khaki;"|Metric
|- align="center"
|<tex>\large%20\alpha </tex> || diffusivity || ft²/hr ||m²/s
|- align="center"
|<tex>\large%20\beta </tex> || compressibility || ft²/lbf || Pa
|}
Result:
| Conversion | |||
|---|---|---|---|
| Symbol | Definition | US | Metric |
| diffusivity | ft²/hr | m²/s | |
| compressibility | ft²/lbf | Pa | |
Multiple Vertical Collapse
You can collapse as many columns as you wish.
Example:
{| class="wikitable"
! rowspan="2" width="70" style="background:khaki;"|Symbol
! rowspan="2" width="175" style="background:khaki;"|Definition
! colspan="2" style="background: lightblue;"|Conversion
|- align="center"
!width="175" style="background:khaki;"|US
!width="175" style="background:khaki;"|Metric
|- align="center"
|<tex>\large%20\alpha </tex> || diffusivity || ft²/hr ||m²/s
|- align="center"
|<tex>\large%20\beta </tex> || compressibility || ft²/lbf || Pa
|}
Result:
| Symbol | Definition | Conversion | |
|---|---|---|---|
| US | Metric | ||
| diffusivity | ft²/hr | m²/s | |
| compressibility | ft²/lbf | Pa | |
Multiple Horizontal and Vertical Collapse
Example:
{| class="wikitable"
! rowspan="2" width="80" |Size
Number
!colspan="2" |Hard Wood
!colspan="2" |Soft Wood
! rowspan="2" width="80" |Countersink
Size
|- align="center"
!width="80" |Tapered
Bit
!width="80" |Straighy
Bit
!width="80" |Tapered
Bit
!width="80" |Straighy
Bit
|- align="center"
|2 || 3/32 || 1/16 || 5/64 || 1/16 || 1/4
|- align="center"
|3 || 7/64 || 5/64 || 3/32|| 1/16 || 1/4
|}
Result:
| Size
Number |
Hard Wood | Soft Wood | Countersink
Size | ||
|---|---|---|---|---|---|
| Tapered
Bit |
Straighy
Bit |
Tapered
Bit |
Straighy
Bit | ||
| 2 | 3/32 | 1/16 | 5/64 | 1/16 | 1/4 |
| 3 | 7/64 | 5/64 | 3/32 | 1/16 | 1/4 |
Wrap Around Text
When adding align="left"| to a cell it allows you to wrap around a string of text. You can align it either on the left, center, or right.
Example:
{| class="wikitable"
! colspan="2" style="background: lightblue;"|
! colspan="2" style="background: lightblue;"|Conversion
|- align="center"
!width="70" style="background:khaki;"|Symbol
!width="175" style="background:khaki;"|Definition
!width="175" style="background:khaki;"|US
!width="175" style="background:khaki;"|Metric
|- align="center"
|<tex>\large%20\alpha </tex> || diffusivity || ft²/hr ||m²/s
|- align="center"
|<tex>\large%20\beta </tex> || align="left"|compressibility: the ability to reduce in size of volume || ft²/lbf || Pa
|}
Result:
| Conversion | |||
|---|---|---|---|
| Symbol | Definition | US | Metric |
| diffusivity | ft²/hr | m²/s | |
| compressibility: the ability to reduce in size of volume | ft²/lbf | Pa | |
Multiple Headers
Headers can be added as many times as needed.
Example:
{| class="wikitable"
! colspan="4" style="background: lightblue;"|Conversion
|- align="center"
!width="70" style="background:khaki;"|Symbol
!width="175" style="background:khaki;"|Definition
!width="175" style="background:khaki;"|US
!width="175" style="background:khaki;"|Metric
|- align="center"
|<tex>\large%20\alpha </tex> || diffusivity || ft²/hr ||m²/s
|- align="center"
|<tex>\large%20\beta </tex> || compressibility || ft²/lbf || Pa
|- align="center"
!width="70" style="background:khaki;"|Symbol
!width="175" style="background:khaki;"|Definition
!width="175" style="background:khaki;"|US
!width="175" style="background:khaki;"|Metric
|}
Result:
| Conversion | |||
|---|---|---|---|
| Symbol | Definition | US | Metric |
| diffusivity | ft²/hr | m²/s | |
| compressibility | ft²/lbf | Pa | |
| Symbol | Definition | US | Metric |
Border Table
Border Line Table
By using border="number" instead of class="wikitable" a double lined border can be used.
Example:
{| border="1"
!width="70" style="background:tan;"|Symbol
!width="175" style="background:tan;"|Definition
!width="175" style="background:tan;"|US
!width="175" style="background:tan;"|Metric
|-
| align="center" |<tex>\large%20\alpha </tex>
| align="center" |diffusivity
| align="center" |ft²/hr
| align="center" |m²/s
|-
| align="center" |<tex>\large%20\beta </tex>
| align="center" |compressibility
| align="center" |ft²/lbf
| align="center" |Pa
|}
Result:
| Symbol | Definition | US | Metric |
|---|---|---|---|
| diffusivity | ft²/hr | m²/s | |
| compressibility | ft²/lbf | Pa |
No Border or Lines
By changing border="0" the border and lines are gone. This format can be used as a list instead of a list format, giving you more control over the look.
Example:
{| border="0"
!width="70" style="background:tan;"|Symbol
!width="175" style="background:tan;"|Definition
!width="175" style="background:tan;"|US
!width="175" style="background:tan;"|Metric
|-
| align="center" |<tex>\large%20\alpha </tex>
| align="center" |diffusivity
| align="center" |ft²/hr
| align="center" |m²/s
|-
| align="center" |<tex>\large%20\beta </tex>
| align="center" |compressibility
| align="center" |ft²/lbf
| align="center" |Pa
|}
Result:
| Symbol | Definition | US | Metric |
|---|---|---|---|
| diffusivity | ft²/hr | m²/s | |
| compressibility | ft²/lbf | Pa |
Border Size
By changing border="number" the thickness of the border will change.
Example:
{| border="5"
!width="70" style="background:palegreen;"|Symbol
!width="175" style="background:palegreen;"|Definition
!width="175" style="background:palegreen;"|US
!width="175" style="background:palegreen;"|Metric
|-
| align="center" |<tex>\large%20\alpha </tex>
| align="center" |diffusivity
| align="center" |ft²/hr
| align="center" |m²/s
|-
| align="center" |<tex>\large%20\beta </tex>
| align="center" |compressibility
| align="center" |ft²/lbf
| align="center" |Pa
|}
Result:
| Symbol | Definition | US | Metric |
|---|---|---|---|
| diffusivity | ft²/hr | m²/s | |
| compressibility | ft²/lbf | Pa |
Cellpadding
When cellpadding="number" is added a space is created around the text. Adjusting the number will increase or decrease the cell.
Example:
{| border="1" cellpadding="10"
!width="70" style="background:powderblue;"|Symbol
!width="175" style="background:powderblue;"|Definition
!width="175" style="background:powderblue;"|US
!width="175" style="background:powderblue;"|Metric
|-
| align="center" |<tex>\large%20\alpha </tex>
| align="center" |diffusivity
| align="center" |ft²/hr
| align="center" |m²/s
|-
| align="center" |<tex>\large%20\beta </tex>
| align="center" |compressibility
| align="center" |ft²/lbf
| align="center" |Pa
|}
Result:
| Symbol | Definition | US | Metric |
|---|---|---|---|
| diffusivity | ft²/hr | m²/s | |
| compressibility | ft²/lbf | Pa |
Single Cell Table
Example:
{| border="2" cellpadding="10"
!width="400" |<u>Company Info</u>
<table border=0 cellspacing=0 cellpadding=0 bgcolor="#FFFFCC">
<tr><th align="left">Company: .......... Piping-Designer</th><td></td></tr>
<tr><th align="left">Street: ............... 1111 Pipe Way</th><td></td></tr>
<tr><th align="left">City, State, Zip: ... Engineering, CA 11111</th><td></td></tr>
<tr><th align="left">Country: ............. USA</th><td></td></tr>
<tr><th align="left">Phone: ................ 111-111-1111</th><td></td></tr>
<tr><th align="left">ZIP: .................... 111-111-1112</th><td></td></tr>
<tr><th align="left">WEB: .................. http://www.piping-designer.com</th><td></td></tr>
</table>
|}
Result:
Company Info
|
|---|
Multiple Format Table
Example:
'''Table Layout'''
<blockquote style="background: white; border: 1px solid rgb(153, 153, 153); padding: 1em; overflow:auto;"><pre>
{| border="1" cellpadding="5" cellspacing="0" align="center"
|+'''Table Title'''
|-
! style="background:#efefef;" | First header
! colspan="2" style="background:#ffdead;" | Second header
|-
| upper left
|
| rowspan=2 style="border-bottom:3px solid gray;" valign="top" |right side
|-
| style="border-bottom:3px solid gray;" | lower left
| style="border-bottom:3px solid gray;" | lower middle
|-
| colspan="3" align="center" |
{| border="0"
|+''A Table in a Table''
|-
| align="center" width="80px" | [[Image:Long Beach.JPG|thumb|180px|Long Beach, CA]]
| align="center" width="80px" | [[Image:Oil Center CA 1911 2.JPG|thumb|180px|Oil Center, CA]]
|-
| align="center" colspan="2" style="border-top:1px solid red; border-right:2px solid red; border-bottom:3px solid red; border-left:4px solid red;" |
Two Oil Field Photos
|}
|}
Result:
| First header | Second header | |||||
|---|---|---|---|---|---|---|
| upper left | right side | |||||
| lower left | lower middle | |||||
| ||||||
Ascending and Descending Table
Example:
{| class="wikitable sortable"
|-
!width="100" |DN
!width="100" class="unsortable" |NPS
|-
| align="center" |6
| align="center" |1/8
|-
| align="center" |8
| align="center" |1/4
|-
| align="center" |10
| align="center" |3/8
|-
| align="center" |15
| align="center" |1/2
|}
Result:
| DN | NPS |
|---|---|
| 6 | 1/8 |
| 8 | 1/4 |
| 10 | 3/8 |
| 15 | 1/2 |
Side by Side Tables
Example:
'''ASCII Printable Character Codes'''
{| class="wikitable" style="text-align: center; float:left;"
|-
! style="background:wheat;" |Keyboard
! style="background:wheat;" |Dec
! style="background:wheat;" |Hex
! style="background:wheat;" |Oct
! style="background:wheat;" |Binary
|-
| align="center" |Space
| align="center" |32
| align="center" |20
| align="center" |40
| align="center" |0100000
|-
| align="center" |!
| align="center" |33
| align="center" |21
| align="center" |041
| align="center" |0100001
|}
{| class="wikitable" style="text-align: center; float:left;"
|-
! style="background:wheat;" |Keyboard
! style="background:wheat;" |Dec
! style="background:wheat;" |Hex
! style="background:wheat;" |Oct
! style="background:wheat;" |Binary
|-
| align="center" |@
| align="center" |64
| align="center" |40
| align="center" |100
| align="center" |1000000
|-
| align="center" |A
| align="center" |65
| align="center" |41
| align="center" |101
| align="center" |1000001
|}
{| class="wikitable"
|-
! style="background:wheat;" |Keyboard
! style="background:wheat;" |Dec
! style="background:wheat;" |Hex
! style="background:wheat;" |Oct
! style="background:wheat;" |Binary
|-
| align="center" |'
| align="center" |96
| align="center" |60
| align="center" |140
| align="center" |1100000
|-
| align="center" |a
| align="center" |97
| align="center" |61
| align="center" |141
| align="center" |1100001
|}
Result:
ASCII Printable Character Codes
| Keyboard | Dec | Hex | Oct | Binary |
|---|---|---|---|---|
| Space | 32 | 20 | 40 | 0100000 |
| ! | 33 | 21 | 041 | 0100001 |
| Keyboard | Dec | Hex | Oct | Binary |
|---|---|---|---|---|
| @ | 64 | 40 | 100 | 1000000 |
| A | 65 | 41 | 101 | 1000001 |
| Keyboard | Dec | Hex | Oct | Binary |
|---|---|---|---|---|
| ' | 96 | 60 | 140 | 1100000 |
| a | 97 | 61 | 141 | 1100001 |
Box Table
Example:
{| class="wikitable"
! width="80" style="background:PaleGoldenrod;" |inch
|- align="center"
! width="80" style="background:Thistle;" |meter
|}
Result:
| inch |
|---|
| meter |
Multiple Rows per Row
Example:
{| class="wikitable"
!colspan="2" width="70" |Outlet
Size
(NPS)
!width="70" |1/2
!width="70" |3/4
!width="70" |1
!width="70" |1 1/4
!width="70" |1 1/2
!width="70" |2
|- align="center"
|rowspan="2" |XS
|A || 3 1/2 || 3 1/2 || 3 1/2 || 3 1/2 || 3 1/2 || 3 1/2
|- align="center"
|C || 15/16 || 1 3/16 || 1 7/16 || 1 3/4 || 2 || 2 9/16
|- align="center"
|rowspan="2" |XXS
|A || 3 1/2 || 3 1/2 || 3 1/2 || 3 1/2 || 3 1/2 || 3 1/2
|- align="center"
|C || 9/16 || 3/4 || 1 ||1 5/16 ||1 1/2 || 1 11/16
|}
Result:
| Outlet
Size (NPS) |
1/2 | 3/4 | 1 | 1 1/4 | 1 1/2 | 2 | |
|---|---|---|---|---|---|---|---|
| XS | A | 3 1/2 | 3 1/2 | 3 1/2 | 3 1/2 | 3 1/2 | 3 1/2 |
| C | 15/16 | 1 3/16 | 1 7/16 | 1 3/4 | 2 | 2 9/16 | |
| XXS | A | 3 1/2 | 3 1/2 | 3 1/2 | 3 1/2 | 3 1/2 | 3 1/2 |
| C | 9/16 | 3/4 | 1 | 1 5/16 | 1 1/2 | 1 11/16 | |
Multiple Column per Column
Example:
{| class="wikitable"
!width="70" |Size
of
Nozzle
(NPS)
!width="70" |Outside Diameter
of Pipe
!width="70" |Nominal Thickness
of Flanged Nozzle
Pipe Wall
!width="70" |Diameter of
Hole in
Reinforcing Pad
!width="70" |Length of Slide
of Reinforcing
Plate od Diameter
!width="70" |Width of
Reinforcing Plate
!width="70" |Min. Dist.
from Shell to
Flange Face
!width="70" |Min. Dist.
from Bottom to
Tank to Center
of Nozzle
Regular Type
!width="70" |Min. Dist.
from Bottom to
Tank to Center
of Nozzle
Low Type
|-align="center"
!colspan="9" |Flanged Fittings
|-
| align="center" |3/4
| align="center" |1.05
| align="center" |0.218
| align="center" |-
| align="center" |-
| align="center" |-
| align="center" |6
| align="center" |6
| align="center" |
|-
| align="center" |1
| align="center" |1.315
| align="center" |0.250
| align="center" |-
| align="center" |-
| align="center" |-
| align="center" |6
| align="center" |6
| align="center" |
|-
| align="center" |1 1/2
| align="center" |1.90
| align="center" |0.200
| align="center" |2
| align="center" |-
| align="center" |-
| align="center" |6
| align="center" |6
| align="center" |
|-
| align="center" |2
| align="center" |2 3/8
| align="center" |0.218
| align="center" |2 1/2
| align="center" |-
| align="center" |-
| align="center" |6
| align="center" |7
| align="center" |
|-
| align="center" |3
| align="center" |3 1/2
| align="center" |0.300
| align="center" |3 5/8
| align="center" |10 1/2
| align="center" |13 1/2
| align="center" |7
| align="center" |8
| align="center" |5 1/4
|-align="center"
!colspan="9" |Threaded and Socket Welded Couplings
|-
| align="center" |3/4
| align="center" |1.375
| align="center" |Coupling
| align="center" |1 1/2
| align="center" |-
| align="center" |-
| align="center" |-
| align="center" |4
| align="center" |
|-
| align="center" |1
| align="center" |1.75
| align="center" |Coupling
| align="center" |1 7/8
| align="center" |-
| align="center" |-
| align="center" |-
| align="center" |5
| align="center" |
|}
Result:
| Size
of Nozzle (NPS) |
Outside Diameter
of Pipe |
Nominal Thickness
of Flanged Nozzle Pipe Wall |
Diameter of
Hole in Reinforcing Pad |
Length of Slide
of Reinforcing Plate od Diameter |
Width of
Reinforcing Plate |
Min. Dist.
from Shell to Flange Face |
Min. Dist.
from Bottom to Tank to Center of Nozzle Regular Type |
Min. Dist.
from Bottom to Tank to Center of Nozzle Low Type |
|---|---|---|---|---|---|---|---|---|
| Flanged Fittings | ||||||||
| 3/4 | 1.05 | 0.218 | - | - | - | 6 | 6 | |
| 1 | 1.315 | 0.250 | - | - | - | 6 | 6 | |
| 1 1/2 | 1.90 | 0.200 | 2 | - | - | 6 | 6 | |
| 2 | 2 3/8 | 0.218 | 2 1/2 | - | - | 6 | 7 | |
| 3 | 3 1/2 | 0.300 | 3 5/8 | 10 1/2 | 13 1/2 | 7 | 8 | 5 1/4 |
| Threaded and Socket Welded Couplings | ||||||||
| 3/4 | 1.375 | Coupling | 1 1/2 | - | - | - | 4 | |
| 1 | 1.75 | Coupling | 1 7/8 | - | - | - | 5 | |
