Difference between revisions of "Template:img/doc"
Jump to navigation
Jump to search
m |
m |
||
| Line 10: | Line 10: | ||
|300 - width | |300 - width | ||
|200 - height | |200 - height | ||
| − | |float - optional. [left | right]. If left empty, the image will | + | |float - optional. [left | right]. If left empty, the image will float right. |
|border - optional border colour | |border - optional border colour | ||
}} | }} | ||
| Line 16: | Line 16: | ||
=== Example === | === Example === | ||
| − | <pre>{{img|Financial-Weapons-of-Mass-Destruction.png|100|100 | + | <pre>{{img|Financial-Weapons-of-Mass-Destruction.png|100|100|border=#808080}}</pre> |
Gives: | Gives: | ||
| − | {{img|Financial-Weapons-of-Mass-Destruction.png|100|100 | + | {{img|Financial-Weapons-of-Mass-Destruction.png|100|100|border=#808080}} |
<includeonly>[[Category:WikiPolitiks templates]]</includeonly> | <includeonly>[[Category:WikiPolitiks templates]]</includeonly> | ||
Revision as of 00:12, 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 float right.
|border - optional border colour
}}
Example
{{img|Financial-Weapons-of-Mass-Destruction.png|100|100|border=#808080}}
Gives: