Template:img/doc
<< Template:img
Simple template to format and display images that have not been uploaded. Path is set to {{SERVER}}/Images/
Examples
Financial Weapons of Mass Destruction{{img|Financial-Weapons-of-Mass-Destruction.png|100|100|border=#808080
|caption=Financial Weapons of Mass Destruction]}}
{{img|Cannabis-Law-Reform.svg|103|100|border=#808080}}
Inline, with defaults margin-left=5px, margin-right=5px: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Inline, with user-set margin-left=0px, and default margin-right=5px: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Float right, with default margin-left=10px:
{{img|Compass.svg|60|20|border=red}} Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Float right, with user-set margin-left=20px and margin-right=30px:
{{img|Compass.svg|60|20|ml=20|mr=50|border=red}} Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
New information is coming out increasingly, to show the relationship between air pollution and infertility. It is currently estimated by the CDC that 6.7 million women have impaired ability to get pregnant or to carry a baby to term.
- New information is coming out increasingly, to show the relationship between air pollution and infertility. It is currently estimated by the CDC that 6.7 million women have impaired ability to get pregnant or to carry a baby to term.
- New information is coming out increasingly, to show the relationship between air pollution and infertility. It is currently estimated by the CDC that 6.7 million women have impaired ability to get pregnant or to carry a baby to term.
- New information is coming out increasingly, to show the relationship between air pollution and infertility. It is currently estimated by the CDC that 6.7 million women have impaired ability to get pregnant or to carry a baby to term.
A caption.
- New information is coming out increasingly, to show the relationship between air pollution and infertility. It is currently estimated by the CDC that 6.7 million women have impaired ability to get pregnant or to carry a baby to term.
A caption.
Usage
{{img
|image-name.png - the filename of the image
|300 - width
|200 - height
|float - optional. [left | right | none]. If left empty, the image will float right, with a 10px right margin.
|ml - optional margin-left. If left empty, the default is 10px.
|mr - optional margin-right. If left empty, the default is 10px.
|border - optional border colour
|caption - optional image caption
|round - optionally round. Must use square images for this to work nicely.
}}
Examples
Testing float=none, margin-left=8px, margin-right=20px: XXXXXXXXXX
{{img|Toy-Factory-Wages.png|200|217|border=red
|caption=[http://www.chrismadden.co.uk/cartoon-gallery/exploitation-of-factory-workers-in-the-developing-world/ Need to pay £4 for this]}}
