Difference between revisions of "Template:Image"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>Jdenm8
(Test to try and fix the width parameter which is currently non-functional)
m (37 revisions imported)
 
(79 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<span class="plainlinks" {{#if:{{{width|}}}|width="{{{width}}}"}}>
+
<noinclude>
 +
{{pp-template}}
 +
</noinclude>
 +
 
 +
<!-- For reference, {{{1}}} is the image's path.-->
 +
 
 +
<div class="plainlinks" {{#if:{{{width|}}}|class="{{{width}}}"}}>
  
 
{{#if:
 
{{#if:
Line 6: Line 12:
 
     {{#if:{{{page|}}}|
 
     {{#if:{{{page|}}}|
 
         <!-- page parameter set -->  
 
         <!-- page parameter set -->  
             [{{fullurl:{{{page}}}}}{{{1}}}]|
+
             [{{fullurl:{{{page}}}}} {{{1}}}]|
 
         <!-- url parameter set  -->
 
         <!-- url parameter set  -->
             [{{{url}}}{{{1}}}]}}
+
             [{{{url}}} {{{1}}}]}}
 
<!-- neither set -->
 
<!-- neither set -->
 
     |{{{1}}} }}
 
     |{{{1}}} }}
</span>
+
</div>
  
 
<noinclude>
 
<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 15:20, 7 August 2019




[create] Documentation icon Template documentation