Difference between revisions of "Template:Image"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>JoeST
m (test)
sc4e>JoeST
m (untest)
Line 3: Line 3:
 
-->{{#if:{{url|}}|<!--
 
-->{{#if:{{url|}}|<!--
 
       then
 
       then
-->{{{url}}} {{{1}}}<!--  -->|<!--
+
-->{{fullurl:{{{1}}}}} {{{2}}}<!--  -->|<!--
 
       else
 
       else
-->{{fullurl:{{{1}}}}} {{{2}}}<!--  -->}}]</span><noinclude>
+
-->{{{url}}} {{{1}}}<!--  -->}}]</span><noinclude>
 
==Example==
 
==Example==
 
Using <nowiki>{{img|Test|http://www.sc4devotion.com/img/SC4DVD_1.jpg}}</nowiki>
 
Using <nowiki>{{img|Test|http://www.sc4devotion.com/img/SC4DVD_1.jpg}}</nowiki>
 
{{img|Test|http://www.sc4devotion.com/img/SC4DVD_1.jpg}}
 
{{img|Test|http://www.sc4devotion.com/img/SC4DVD_1.jpg}}

Revision as of 03:14, 26 January 2009

[{{fullurl:{{{1}}}}} {{{2}}}]

Example

Using {{img|Test|http://www.sc4devotion.com/img/SC4DVD_1.jpg}} http://www.sc4devotion.com/img/SC4DVD_1.jpg