Template:Main page image/doc: Difference between revisions

Jump to navigation Jump to search
no edit summary
imported>HoodMoney54
(Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This template is used on the Main Page to show an image or media file with a caption underneath. ==Usage== Note: Prefer images in landscape orientation. If you must use one in portrait orientation, avoid very skinny ones. If you must choose a skinny image, then please specify the height as well (e.g., <code>120x120</code>), but note that if you do so, there will be a g...")
 
imported>HoodMoney54
No edit summary
 
Line 5: Line 5:
==Usage==
==Usage==
Note: Prefer images in landscape orientation. If you must use one in portrait orientation, avoid very skinny ones. If you must choose a skinny image, then please specify the height as well (e.g., <code>120x120</code>), but note that if you do so, there will be a gap between left or right edge of the image (depending on the what side of the container the template appears) and the edge of the section.
Note: Prefer images in landscape orientation. If you must use one in portrait orientation, avoid very skinny ones. If you must choose a skinny image, then please specify the height as well (e.g., <code>120x120</code>), but note that if you do so, there will be a gap between left or right edge of the image (depending on the what side of the container the template appears) and the edge of the section.
<syntaxhighlight lang="wikitext">
<pre>
{{Main page image
{{Main page image
| image        =  <!-- name of the file, with or without the File: prefix -->
| image        =  <!-- name of the file, with or without the File: prefix -->
Line 17: Line 17:
| thumbtime    =  <!-- optional: number of seconds into the video depicted in the thumbnail -->
| thumbtime    =  <!-- optional: number of seconds into the video depicted in the thumbnail -->
}}
}}
</syntaxhighlight>
</pre>


== See also ==
== See also ==
Anonymous user
Cookies are necessary for this wiki to function properly. By using this wiki, you agree to our use of cookies.

Navigation menu