Template:LinkedImage

From 2009.igem.org

(Difference between revisions)
(A linked image template)
m (Apparently templates are somewhat case sensitive.)
 
Line 1: Line 1:
<includeonly>[{{fullurl:{{{2}}}}} {{filepath:{{{1}}}}}]</includeonly><noinclude>This creates an image which links to a page and can be used as follows:
<includeonly>[{{fullurl:{{{2}}}}} {{filepath:{{{1}}}}}]</includeonly><noinclude>This creates an image which links to a page and can be used as follows:
<pre>
<pre>
-
{{linkedimage|Gasvesicle.jpg|Main_Page}}
+
{{linkedImage|Gasvesicle.jpg|Main_Page}}
</pre>
</pre>
Resulting in:
Resulting in:
-
{{linkedimage|Gasvesicle.jpg|Main_Page}}
+
{{linkedImage|Gasvesicle.jpg|Main_Page}}
</noinclude>
</noinclude>

Latest revision as of 13:37, 17 June 2009

This creates an image which links to a page and can be used as follows:

{{linkedImage|Gasvesicle.jpg|Main_Page}}

Resulting in: [http://2009.igem.org/Main_Page http://2009.igem.org/wiki/images/7/7c/Gasvesicle.jpg]