Difference between revisions of "Template:img/doc"
Jump to navigation
Jump to search
m (GrayanOne moved page Template:Img/doc to Template:img/doc without leaving a redirect) |
m (→Usage) |
||
| Line 10: | Line 10: | ||
|300 - width | |300 - width | ||
|200 - height | |200 - height | ||
| − | |float - optional. [left | right]. If left empty, the image will float right. | + | |float - optional. [left | right | none]. If left empty, the image will float right. |
|border - optional border colour | |border - optional border colour | ||
| + | |caption - optional image caption | ||
}} | }} | ||
</pre> | </pre> | ||
Revision as of 22:44, 10 June 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 | none]. If left empty, the image will float right.
|border - optional border colour
|caption - optional image caption
}}
Example
{{img|Financial-Weapons-of-Mass-Destruction.png|100|100|border=#808080}}
Gives: