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>
         {{#iferror: image2 | error | correct }}
+
         {{#if: image2 | <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>
+
         {{#if: image2 | </li> | }}
 
     </ul>
 
     </ul>
 
</div>
 
</div>

Revision as of 21:56, 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=]]
  • [[File:{{{image2}}}|frame|none||link=]]