Template:img/doc

From WikiCorporates
< Template:img
Revision as of 00:02, 19 September 2018 by GrayanOne (talk | contribs) (→‎Examples)
Jump to navigation Jump to search

<< Template:img

Simple template to make my life easier.

Path is set to http://wikipolitiks.local/Images/

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.
|border          - optional border colour
|caption         - optional image caption
|round           - optionally round. Must use square images for this to work nicely.
}}

Examples

xxxxx


{{img|Financial-Weapons-of-Mass-Destruction.png|100|100|border=#808080}}

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