Difference between revisions of "Template:img/doc"

From WikiCorporates
Jump to navigation Jump to search
m (→‎Tmp)
m (→‎Examples)
Line 38: Line 38:
 
Testing float=none, margin-left=8px, margin-right=20px:  XXXXX{{img|Compass.svg|60|20|float=none|ml=8px|mr=20px}}XXXXX
 
Testing float=none, margin-left=8px, margin-right=20px:  XXXXX{{img|Compass.svg|60|20|float=none|ml=8px|mr=20px}}XXXXX
  
−
<pre>{{img|Financial-Weapons-of-Mass-Destruction.png|100|100|border=#808080}}</pre>
+
<pre>{{img|Financial-Weapons-of-Mass-Destruction.png|100|100|border=#808080}}
 +
{{img|Cannabis-Law-Reform.svg|103|100|border=black}}
 +
</pre>
 
Gives:
 
Gives:
 
{{img|Financial-Weapons-of-Mass-Destruction.png|100|100|border=#808080}}
 
{{img|Financial-Weapons-of-Mass-Destruction.png|100|100|border=#808080}}
−
{{Clear}}
 
−
 
 
{{img|Cannabis-Law-Reform.svg|103|100|border=black}}
 
{{img|Cannabis-Law-Reform.svg|103|100|border=black}}
  
Line 54: Line 54:
 
</pre>
 
</pre>
 
Gives:
 
Gives:
−
{{img|Toy-Factory-Wages.png
+
{{img|Toy-Factory-Wages.png|200|217|border=red
−
|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]}}
 
|caption=[http://www.chrismadden.co.uk/cartoon-gallery/exploitation-of-factory-workers-in-the-developing-world/ Need to pay £4 for this]}}
  
 
<includeonly>[[Category:WikiPolitiks templates]]</includeonly>
 
<includeonly>[[Category:WikiPolitiks templates]]</includeonly>

Revision as of 11:51, 4 April 2019

<< Template:img

Simple template to make my life easier.

Path is set to {{SERVER}}/Images/

Tmp

1. 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.
2. 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.
3. 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.


4.

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.
5.

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.
6.

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.


7.

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.
8.

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.
9.

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.


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|Financial-Weapons-of-Mass-Destruction.png|100|100|border=#808080}}
{{img|Cannabis-Law-Reform.svg|103|100|border=black}}

Gives:

{{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]}}

Gives:

Need to pay £4 for this