Difference between revisions of "Template:img/doc"

From WikiCorporates
Jump to navigation Jump to search
m
m
Line 2: Line 2:
 
<pre>
 
<pre>
 
Path is set to http://wikipolitiks.local/Images/
 
Path is set to http://wikipolitiks.local/Images/
−
Float = right
 
 
</pre>
 
</pre>
  
Line 14: Line 13:
 
}}
 
}}
 
</pre>
 
</pre>
 +
 +
=== Example ===
 +
<pre>{{img|Financial-Weapons-of-Mass-Destruction.png|100|100|float=right|border=#808080}}</pre>
 +
Gives:
 +
{{img|Financial-Weapons-of-Mass-Destruction.png|100|100|float=right|border=#808080}}
 +
 
<includeonly>[[Category:WikiPolitiks templates]]</includeonly>
 
<includeonly>[[Category:WikiPolitiks templates]]</includeonly>

Revision as of 23:57, 27 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
|#000000         - (optional) border colour, if desired
}}

Example

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

Gives: