Difference between revisions of "Template:FileCaption/doc"
Jump to navigation
Jump to search
m |
m |
||
| Line 17: | Line 17: | ||
=== Example === | === Example === | ||
<pre>{{Img Title|Influencers.svg|50|50}}</pre> | <pre>{{Img Title|Influencers.svg|50|50}}</pre> | ||
| − | Gives | + | Gives the image at the top right of this page. |
{{Img Title|Influencers.svg|50|50}} | {{Img Title|Influencers.svg|50|50}} | ||
<includeonly>[[Category:WikiPolitiks templates]]</includeonly> | <includeonly>[[Category:WikiPolitiks templates]]</includeonly> | ||
Revision as of 11:50, 18 May 2018
Template Experimenting with an image at the top right of the page, on the same line as the Page Title.
How big the image can be is determined by (a) <h1> lineheight (1.3) and (b) <h1> top margin (0). An image taller than 50px is obscured by the Search box.
Path is set to http://wikipolitiks.local/Images/
Usage
{{Img Title
|image-name.png - the filename of the image
|50 - width
|50 - height
}}
Example
{{Img Title|Influencers.svg|50|50}}
Gives the image at the top right of this page. Template:Img Title