User:Cmglee/template
Some general-use templates I've developed...
Template:float right clear none[edit]
This template prevents images pertaining to earlier sections from being pushed all the way to the bottom, such as on articles with long infoboxes.
Template:diagonal split header[edit]
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 | 0° | ✔ | ✘ | ✗ |
π/2 | 90° | ✓ | ✗ | ✘ |
π | 180° | ✔ | ✔ | ✓ |
Template:venn3[edit]
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 }}
Template:bartable[edit]
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.
Element | Percent by mass | Atomic percent (calc.) | ||
---|---|---|---|---|
Oxygen | 65% | 25.6% | ||
Carbon | 18% | 9.5% | ||
Hydrogen | 10% | 63% | ||
Nitrogen | 3% | 1.3% | ||
Calcium | 1.5% | 0.24% | ||
Phosphorus | 1.2% | 0.24% | ||
Potassium | 0.2% | 0.03% | ||
Sulfur | 0.2% | 0.04% | ||
Chlorine | 0.2% | 0.04% | ||
Sodium | 0.1% | 0.03% | ||
Magnesium | 0.05% | 0.01% | ||
Iron | 3 g in men, 2.3 g in women | |||
Cobalt, Copper, Zinc, Iodine | < 0.05% each | |||
Selenium, Fluorine | < 0.01% each |
Template:stereo image[edit]
This template allows a stereo pair to be shown in 4 different representations.
Stereo image | |||
---|---|---|---|
| |||
| |||
| |||
| |||
The Church of the Holy Sepulchre (Round Church) and the south end of Round Church Street in Cambridge, England. |
Stereo image | |||
---|---|---|---|
| |||
| |||
| |||
| |||
The Jenny Wren pub and bus stop with an approaching Citi 1 bus. |
Stereo image | |||
---|---|---|---|
| |||
| |||
| |||
| |||
The Grove primary school at King's Hedges, Cambridge. |
Stereo image | |||
---|---|---|---|
| |||
| |||
| |||
| |||
Avenue of London plane trees on Jesus Green, Cambridge, England. |
Stereo image | |||
---|---|---|---|
| |||
| |||
| |||
| |||
Autonomy building at Cambridge Business Park. |