Difference between revisions of "Template:Image"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>JoeST
m (untest)
sc4e>JoeST
m (test)
Line 1: Line 1:
 
<span class="plainlinks">[<!--
 
<span class="plainlinks">[<!--
 
       if
 
       if
-->{{#if:{{url|}}|<!--
+
-->{{#if:{{{url|}}}|<!--
 
       then
 
       then
-->{{fullurl:{{{1}}}}} {{{2}}}<!--  -->|<!--
+
-->{{{url}}} {{{1}}}<!--  -->|<!--
 
       else
 
       else
-->{{{url}}} {{{1}}}<!--  -->}}]</span><noinclude>
+
-->{{fullurl:{{{1|{{{2}}}}}}}} {{{2}}}<!--  -->}}]</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||http://www.sc4devotion.com/img/SC4DVD_1.jpg}}

Revision as of 03:20, 26 January 2009

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

Example

Using {{img|Test|http://www.sc4devotion.com/img/SC4DVD_1.jpg}} [[[:Template:Fullurl:]] http://www.sc4devotion.com/img/SC4DVD_1.jpg]