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

Difference between revisions of "Template:wpthumb"

From Anarchopedia
Jump to: navigation, search
m
 
m
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">{{{3}}}</div></div></div>
 
<div class="thumbcaption">{{{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 magnified 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|}}
 
</noinclude>
 
</noinclude>

Revision as of 15:24, 27 June 2006

{{{2}}}

{{{5}}}

{{{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 magnified image.

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