Difference between revisions of "Template:Image"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>Jdenm8
(Changed id="{{{width}}}" to class="{{{width}}}" so multiple Template:Image objects with the same width setting can exist on the same page.)
sc4e>Jdenm8
(Trying to fix a bug.)
Line 1: Line 1:
 
<!-- For reference, {{{1}}} is the image's path.-->
 
<!-- For reference, {{{1}}} is the image's path.-->
  
<span class="plainlinks" {{#if:{{{width|}}}|class="{{{width}}}"}}>
+
<div class="plainlinks" {{#if:{{{width|}}}|class="{{{width}}}"}}>
  
 
{{#if:
 
{{#if:
Line 13: Line 13:
 
<!-- neither set -->
 
<!-- neither set -->
 
     |{{{1}}} }}
 
     |{{{1}}} }}
</span>
+
</div>
  
 
<noinclude>
 
<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 08:05, 17 November 2012



[create] Documentation icon Template documentation