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

Difference between revisions of "Template:wpthumb"

From Anarchopedia
Jump to: navigation, search
m
 
m
 
(5 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}}}
<div class="thumbcaption">{{{3}}}</div></div></div>
+
<div class="thumbcaption"><div class="magnify" style="float:right; spacing: 2px"><small>[{{{5}}} Enlarge]</small></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.
  
Syntax: {{tlx|{{PAGENAME}}|width|imgurl|description|position}}
+
Syntax: {{tlx|{{PAGENAME}}|width|imgurl|description|position|link}}
  
'''''width''''' is usually 2 pixels larger than image width.
+
Arguments:
'''''position''''' is usually ''left'' or ''right''.
+
#'''''width''''' is usually 2 pixels larger than image width
 +
#'''''imgurl''''' is the full url of the image to be included
 +
#'''''description'''''
 +
#'''''position''''' is usually ''left'' or ''right''
 +
#'''''link''''' link to full-size image.
  
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}}
+
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}}
 +
{{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 }}