Template:Image

From RadioWiki
(Difference between revisions)
Jump to: navigation, search
m (Fixed the multi-line error. Looks to be a success ^_^)
m (added div width)
Line 1: Line 1:
 
<noinclude>Based on <nowiki>[[Image:IMAGE SOURCE|thumb|CAPTION]]</nowiki>, this template will serve as a substitute until Cassandra enables image uploads :)</noinclude><includeonly><div class="thumb t{{{1}}}">
 
<noinclude>Based on <nowiki>[[Image:IMAGE SOURCE|thumb|CAPTION]]</nowiki>, this template will serve as a substitute until Cassandra enables image uploads :)</noinclude><includeonly><div class="thumb t{{{1}}}">
<div style="width:182px;">[{{{2}}} {{{3}}}]
+
<div style="width:{{{4}}}px;">[{{{2}}} {{{3}}}]
 
<div class="thumbcaption">
 
<div class="thumbcaption">
 
<div class="magnify" style="float:right">[{{{2}}} http://en.wikipedia.org/skins-1.5/common/images/magnify-clip.png]</div>
 
<div class="magnify" style="float:right">[{{{2}}} http://en.wikipedia.org/skins-1.5/common/images/magnify-clip.png]</div>
{{{4}}}</div>
+
{{{5}}}</div>
 
</div>
 
</div>
 
</div></includeonly><noinclude>
 
</div></includeonly><noinclude>
 
{{Image|right|http://en.wikipedia.org/wiki/Image:Internet_map_1024.jpg|http://upload.wikimedia.org/wikipedia/en/thumb/d/d2/Internet_map_1024.jpg/180px-Internet_map_1024.jpg|Visualization of the various routes through a portion of the Internet.}}'''Example Usage:'''
 
{{Image|right|http://en.wikipedia.org/wiki/Image:Internet_map_1024.jpg|http://upload.wikimedia.org/wikipedia/en/thumb/d/d2/Internet_map_1024.jpg/180px-Internet_map_1024.jpg|Visualization of the various routes through a portion of the Internet.}}'''Example Usage:'''
<nowiki>{{Image|right|http://en.wikipedia.org/wiki/Image:Internet_map_1024.jpg| http://upload.wikimedia.org/wikipedia/en/thumb/d/d2/Internet_map_1024.jpg/180px-Internet_map_1024.jpg |Visualization of the various routes through a portion of the Internet.}}</nowiki> gives that&rarr;<br />
+
<nowiki>{{Image|right|http://en.wikipedia.org/wiki/Image:Internet_map_1024.jpg| http://upload.wikimedia.org/wikipedia/en/thumb/d/d2/Internet_map_1024.jpg/180px-Internet_map_1024.jpg |182|Visualization of the various routes through a portion of the Internet.}}</nowiki> gives that&rarr;<br />
 
Or in english:
 
Or in english:
 
<pre><nowiki>{{Image
 
<pre><nowiki>{{Image
Line 13: Line 13:
 
|image-link, preferably an enlarged image or the description page
 
|image-link, preferably an enlarged image or the description page
 
|the thumbnailed image
 
|the thumbnailed image
 +
|div width (image width)
 
|image caption/description
 
|image caption/description
 
}}</nowiki></pre>
 
}}</nowiki></pre>
 
but note that if you spread it out over a bunch of lines you might get errors.</noinclude>
 
but note that if you spread it out over a bunch of lines you might get errors.</noinclude>

Revision as of 23:29, 17 December 2006

Based on [[Image:IMAGE SOURCE|thumb|CAPTION]], this template will serve as a substitute until Cassandra enables image uploads :)

180px-Internet_map_1024.jpg
magnify-clip.png
{{{5}}}
Example Usage:

{{Image|right|http://en.wikipedia.org/wiki/Image:Internet_map_1024.jpg| http://upload.wikimedia.org/wikipedia/en/thumb/d/d2/Internet_map_1024.jpg/180px-Internet_map_1024.jpg |182|Visualization of the various routes through a portion of the Internet.}} gives that→
Or in english:

{{Image
|alignment
|image-link, preferably an enlarged image or the description page
|the thumbnailed image
|div width (image width)
|image caption/description
}}

but note that if you spread it out over a bunch of lines you might get errors.

Personal tools