Still working to recover. Please don't edit quite yet.

Difference between revisions of "Template:wpthumb"

From Anarchopedia
Jump to: navigation, search
m
m
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<div class="thumb t{{{4|right}}}">
 
<div class="thumb t{{{4|right}}}">
 
<div style="width:{{{1}}}">{{{2}}}
 
<div style="width:{{{1}}}">{{{2}}}
{{{ifdef|{{{5}}}|<div class="magnify" style="float:right">[{{{5}}} Enlarge]</div>}}}
+
<div class="thumbcaption"><div class="magnify" style="float:right; spacing: 2px"><small>[{{{5}}} Enlarge]</small></div>
<div class="thumbcaption">{{{3}}}</div></div></div>
+
{{{3}}}</div></div></div>
 
<noinclude>
 
<noinclude>
 
Template used to create image thumbnails with images hosted in external websites.
 
Template used to create image thumbnails with images hosted in external websites.
Line 13: Line 13:
 
#'''''description'''''
 
#'''''description'''''
 
#'''''position''''' is usually ''left'' or ''right''
 
#'''''position''''' is usually ''left'' or ''right''
#'''''link''''' link to magnified image.
+
#'''''link''''' link to full-size image.
  
 
Sample usage:  
 
Sample usage:  
 
{{tlx|{{PAGENAME}}|202px|<nowiki>http://upload.wikimedia.org/wikipedia/en/thumb/d/df/HospitalityClub-GobuyanLogo.png/200px-HospitalityClub-GobuyanLogo.png</nowiki>|Image description}}
 
{{tlx|{{PAGENAME}}|202px|<nowiki>http://upload.wikimedia.org/wikipedia/en/thumb/d/df/HospitalityClub-GobuyanLogo.png/200px-HospitalityClub-GobuyanLogo.png</nowiki>|Image description}}
{{wpthumb|202px|http://upload.wikimedia.org/wikipedia/en/thumb/d/df/HospitalityClub-GobuyanLogo.png/200px-HospitalityClub-GobuyanLogo.png|Image description|right|}}
+
{{wpthumb|202px|http://upload.wikimedia.org/wikipedia/en/thumb/d/df/HospitalityClub-GobuyanLogo.png/200px-HospitalityClub-GobuyanLogo.png|Image description|right|http://en.wikipedia.org/wiki/Image:HospitalityClub-GobuyanLogo.png}}
 
</noinclude>
 
</noinclude>

Latest revision as of 12:03, 14 December 2006

{{{2}}}
[{{{5}}} Enlarge]
{{{3}}}

Template used to create image thumbnails with images hosted in external websites.

Syntax: {{ wpthumb|width|imgurl|description|etc. }}

Arguments:

  1. width is usually 2 pixels larger than image width
  2. imgurl is the full url of the image to be included
  3. description
  4. position is usually left or right
  5. link link to full-size image.

Sample usage: {{ wpthumb|202px|http://upload.wikimedia.org/wikipedia/en/thumb/d/df/HospitalityClub-GobuyanLogo.png/200px-HospitalityClub-GobuyanLogo.png|Image description }}