Difference between revisions of "Template:Images2"

From Reallusion Wiki!
Jump to: navigation, search
m
m
Line 16: Line 16:
 
             [[File:{{{image1}}}|frame|none|{{{caption1|}}}|link={{{link1|}}}]]
 
             [[File:{{{image1}}}|frame|none|{{{caption1|}}}|link={{{link1|}}}]]
 
         </li>
 
         </li>
         {{#if:image1
+
         {{#iferror: image2 | error | correct }}
 
         <li style="display: inline-block; vertical-align:top;">
 
         <li style="display: inline-block; vertical-align:top;">
 
             [[File:{{{image2}}}|frame|none|{{{caption2|}}}|link={{{link2|}}}]]
 
             [[File:{{{image2}}}|frame|none|{{{caption2|}}}|link={{{link2|}}}]]
 
         </li>
 
         </li>
        |}}
 
 
     </ul>
 
     </ul>
 
</div>
 
</div>

Revision as of 21:54, 12 May 2019

Usage

Images, supports up to 6 entries

{{Images|
|image1 = your first image
|caption1 = caption for the first image
|link1 = link for the first image}}


  • [[File:{{{image1}}}|frame|none||link=]]
  •        correct
    
  • [[File:{{{image2}}}|frame|none||link=]]