Module:Sandbox/Ahecht/bartable/doc

{{#invoke:Sandbox/Ahecht/bartable|function_name}}

Module:Sandbox/Ahecht/bartable/doc

Usage

{{#invoke:Sandbox/Ahecht/bartable|function_name}}


Examples

Real-world example

{| class="wikitable"
|+ Melting point at 1 atmosphere
! Substance  !! Temperature !! colspan="2" | Relative size
|-
| Mercury    || {{#invoke:Sandbox/Ahecht/bartable|bartable| -38.72|/C/F|-2|1em|background:silver}}
|-
| Bromine    || {{#invoke:Sandbox/Ahecht/bartable|bartable|  -7.10|/C/F|-2|1em|background:brown}}
|-
| Water      || {{#invoke:Sandbox/Ahecht/bartable|bartable|      0|/C/F|-2|1em}}
|-
| Phosphorus || {{#invoke:Sandbox/Ahecht/bartable|bartable|  44.10|/C/F|-2|1em|background:red}}
|-
| Iodine     || {{#invoke:Sandbox/Ahecht/bartable|bartable| 113.50|/C/F|-2|1em|background:indigo}}
|-
| Sulphur    || {{#invoke:Sandbox/Ahecht/bartable|bartable| 115.36|/C/F|-2|1em|background:yellow}}
|}
Melting point at 1 atmosphere
Substance Temperature Relative size
Mercury -38.72/C/F
 
Bromine -7.10/C/F
 
Water 0/C/F
Phosphorus 44.10/C/F 44.1
 
Iodine 113.50/C/F 113.5
 
Sulphur 115.36/C/F 115.36
 

2-column (only positive values)

{| class="wikitable"
! Example                             || colspan="2" | Rendering
|-
| Only value                          || {{#invoke:Sandbox/Ahecht/bartable|bartable|272}}
|-
| Negative value                      || {{#invoke:Sandbox/Ahecht/bartable|bartable|-72}}
|-
| Math expression                     || {{#invoke:Sandbox/Ahecht/bartable|bartable|exp(1)*1e2}}
|-
| Value and unit (note added space)   || {{#invoke:Sandbox/Ahecht/bartable|bartable|272| km/h}}
|-
| Value and unit (link to definition) || {{#invoke:Sandbox/Ahecht/bartable|bartable|272|[[Degree_(angle)|°]]}}
|-
| Value and unit (with formatting)    || style="text-align: right;"|''θ'' = {{#invoke:Sandbox/Ahecht/bartable|bartable|272|°}}
|-
| Value and unit (with conversion)    || {{#invoke:Sandbox/Ahecht/bartable|bartable|272|/km/mi}}
|-
| Value and scale                     || {{#invoke:Sandbox/Ahecht/bartable|bartable|272||1/(2^0.5)}}
|-
| Value and height                    || {{#invoke:Sandbox/Ahecht/bartable|bartable|272|||4px}}
|-
| Value and style                     || {{#invoke:Sandbox/Ahecht/bartable|bartable|272||||background:blue;}}
|-
| Value with commas, and scale        || {{#invoke:Sandbox/Ahecht/bartable|bartable|2,720||.1}}
|-
| The full monty                      || {{#invoke:Sandbox/Ahecht/bartable|bartable|18^2|%|sin(1)|2em|border:ridge red;}}
|-
|}
Example Rendering
Only value 272
 
Negative value
Math expression 271.8281828459
 
Value and unit (note added space) 272 km/h 272
 
Value and unit (link to definition) 272° 272
 
Value and unit (with formatting) θ = 272° 272
 
Value and unit (with conversion) 272/km/mi 272
 
Value and scale 272 272
 
Value and height 272 272
 
Value and style 272 272
 
Value with commas, and scale 2,720 2720
 
The full monty 18^2% 324
 

3-column (positive and negative values)

{| class="wikitable"
! Example                             || colspan="3" | Rendering
|-
| Only value                          || {{#invoke:Sandbox/Ahecht/bartable|bartable|272||-1}}
|-
| Negative value                      || {{#invoke:Sandbox/Ahecht/bartable|bartable|-72||-1}}
|-
| Math expression                     || {{#invoke:Sandbox/Ahecht/bartable|bartable|exp(1)*1e2||-1}}
|-
| Value and unit (note added space)   || {{#invoke:Sandbox/Ahecht/bartable|bartable|272| km/h|-1}}
|-
| Value and unit (link to definition) || {{#invoke:Sandbox/Ahecht/bartable|bartable|272|[[Degree_(angle)|°]]|-1}}
|-
| Value and unit (with formatting)    || style="text-align: right;"|''θ'' = {{#invoke:Sandbox/Ahecht/bartable|bartable|272|°|-1}}
|-
| Value and unit (with conversion)    || {{#invoke:Sandbox/Ahecht/bartable|bartable|272|/km/mi|-1}}
|-
| Value and scale                     || {{#invoke:Sandbox/Ahecht/bartable|bartable|272||-1/(2^0.5)}}
|-
| Value and height                    || {{#invoke:Sandbox/Ahecht/bartable|bartable|272||-1|4px}}
|-
| Value and style                     || {{#invoke:Sandbox/Ahecht/bartable|bartable|272||-1||background:blue;}}
|-
| Value with commas, and scale        || {{#invoke:Sandbox/Ahecht/bartable|bartable|2,720||-.1}}
|-
| The full monty                      || {{#invoke:Sandbox/Ahecht/bartable|bartable|18^2|%|sin(-1)|2em|border:ridge red;}}
|-
|}
Example Rendering
Only value 272 272
 
Negative value -72
 
Math expression exp(1)*1e2 271.8281828459
 
Value and unit (note added space) 272 km/h 272
 
Value and unit (link to definition) 272° 272
 
Value and unit (with formatting) θ = 272° 272
 
Value and unit (with conversion) 272/km/mi 272
 
Value and scale 272 272
 
Value and height 272 272
 
Value and style 272 272
 
Value with commas, and scale 2,720 2720
 
The full monty 18^2% 324
 

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.