Difference between revisions of "Template:Image Thumbnail"

From Conservapedia
Jump to navigation Jump to search
(ditto)
(margin settings don't work well - splitting up template into two separate ones, replacing with disambiguation)
 
Line 1: Line 1:
−
<div style="float:{{{2}}}; font-size:90%">
+
<noinclude>{{disambig}}
−
{| cellpadding=3 style="background:#f9f9f9; margin: 0em {{#if:{{{2|right|}}}|0|}}{{#if:{{{2|left|}}}|1.5|}}em 1em {{#if:{{{2|left|}}}|0|}}{{#if:{{{2|right|}}}|1.5|}}em; width:1px; border: 1px #cccccc solid; border-collapse: collapse; width:1px; line-height:17px"
 
−
|[[{{{1}}}{{!}}{{{3}}}]][[File:Image Thumbnail symbol.png|right|15px|link={{{1}}}]]<p style="vertical-align:center">{{{4}}}</p>
 
−
|}</div>
 
−
<noinclude>
 
−
The image thumbnail template is meant as a substitute for regular images in thumbnails; this is only intended if the desired image size in the thumbnail is larger than the maximum limit set by the size of the uploaded file. However, note when using the template that it has been set up as "float" and not "clear", as normal image thumbnails function in the form of "clear".
 
−
<pre style="width:54em">
 
−
{{Image Thumbnail
 
−
| (filename including the "File:" part)
 
−
| ("left" or "right")
 
−
| (size)
 
−
| (text, optional)
 
−
}}
 
  
−
Example: to substitute [[File:Joe Biden.jpg|thumb|right|150px|This is Joe Biden.]], enter:
+
This template page lists two templates:
−
{{Image Thumbnail|File:Joe Biden.jpg|right|150px|This is Joe BIden.}}
+
*[[Template:Image Thumbnail left]], specifically for images aligned to the left side of pages when used
−
</pre>
+
*[[Template:Image Thumbnail right]], specifically for images aligned to the right side of pages when used
−
 
 
−
[[Category:Templates]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 05:51, September 20, 2020

This page lists articles that have similar names. To remove any ambiguity, the differences are described here.

This template page lists two templates: