Difference between revisions of "Template:img/doc"

From WikiCorporates
Jump to navigation Jump to search
m
m
Line 10: Line 10:
 
|300            - width
 
|300            - width
 
|200            - height
 
|200            - height
−
|#000000        - (optional) border colour, if desired
+
|float          - optional. [left | right]. If left empty, the image will be on the right.
 +
|border          - optional border colour
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 00:06, 28 April 2018

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]. If left empty, the image will be on the right.
|border          - optional border colour
}}

Example

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

Gives: