Still working to recover. Please don't edit quite yet.
Difference between revisions of "Template:wpthumb"
From Anarchopedia
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}}}
Template used to create image thumbnails with images hosted in external websites.
Syntax: {{ wpthumb|width|imgurl|description|etc. }}
Arguments:
- 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: {{ wpthumb|202px|http://upload.wikimedia.org/wikipedia/en/thumb/d/df/HospitalityClub-GobuyanLogo.png/200px-HospitalityClub-GobuyanLogo.png|Image description }}