Jump to content

User:Cmglee/template

From Wikipedia, the free encyclopedia

Some general-use templates I've developed...

This template prevents images pertaining to earlier sections from being pushed all the way to the bottom, such as on articles with long infoboxes.

This image doesn't float all the way to the right (under the table of contents).

This template allows a table header cell to be split diagonally as in the top-left cell below:

T
θ
2015 2016
Nov Dec Jan
0
π/2 90°
π 180°

This template creates a text-only 3-set Venn diagram.

{{venn3
|caption=Breakdown of British and<br>American [[traffic collision]] causes
|unit=%
|labelA=Driver factors
|labelB=Roadway<br>factors
|labelC=Vehicle factors
|countA=57
|countB=3
|countC=2
|countAB=27
|countAC=6
|countBC=1
|countABC=3
}}

This template creates 2 table cells, the left one with a value and the right one with a bar graph linearly proportional in width to the value.

Composition of the human body
Element Percent by mass Atomic percent (calc.)
Oxygen 65% 65
 
25.6% 25.6
 
Carbon 18% 18
 
9.5% 9.5
 
Hydrogen 10% 10
 
63% 63
 
Nitrogen 3% 3
 
1.3% 1.3
 
Calcium 1.5% 1.5
 
0.24% 0.24
 
Phosphorus 1.2% 1.2
 
0.24% 0.24
 
Potassium 0.2% 0.2
 
0.03% 0.03
 
Sulfur 0.2% 0.2
 
0.04% 0.04
 
Chlorine 0.2% 0.2
 
0.04% 0.04
 
Sodium 0.1% 0.1
 
0.03% 0.03
 
Magnesium 0.05% 0.05
 
0.01% 0.01
 
Iron 3 g in men, 2.3 g in women
Cobalt, Copper, Zinc, Iodine < 0.05% each
Selenium, Fluorine < 0.01% each

This template allows a stereo pair to be shown in 4 different representations.

Stereo image
Right frame 
Left frame 
Cross-eye view ()
Parallel view ()
The Church of the Holy Sepulchre (Round Church) and the south end of Round Church Street in Cambridge, England.
Stereo image
Right frame 
Left frame 
Cross-eye view ()
Parallel view ()
The Jenny Wren pub and bus stop with an approaching Citi 1 bus.
Stereo image
Right frame 
Left frame 
Cross-eye view ()
Parallel view ()
The Grove primary school at King's Hedges, Cambridge.
Stereo image
Right frame 
Left frame 
Cross-eye view ()
Parallel view ()
The Golden Hind pub.
Stereo image
Right frame 
Left frame 
Cross-eye view ()
Parallel view ()
Avenue of London plane trees on Jesus Green, Cambridge, England.
Stereo image
Right frame 
Left frame 
Cross-eye view ()
Parallel view ()
Autonomy building at Cambridge Business Park.
Stereo image
Right frame 
Left frame 
Cross-eye view ()
Parallel view ()
Cambridge Leisure Park.
Stereo image
Right frame 
Left frame 
Cross-eye view ()
Parallel view ()
University of Cambridge's Faculty of Education's Donald McIntyre Building.
Stereo image
Right frame 
Left frame 
Cross-eye view ()
Parallel view ()
The Cavendish Building at Homerton College's present site.