Difference between revisions of "Template:Images2"

From Reallusion Wiki!
Jump to: navigation, search
m
m
Line 9: Line 9:
 
|link1 = link for the first image}}
 
|link1 = link for the first image}}
 
</nowiki></pre>
 
</nowiki></pre>
 
 
</noinclude>
 
</noinclude>
 +
 
<div style="float: {{{alignment|left}}};">
 
<div style="float: {{{alignment|left}}};">
 
     <ul>
 
     <ul>
Line 16: Line 16:
 
             [[File:{{{image1}}}|frame|none|{{{caption1|}}}|link={{{link1|}}}]]
 
             [[File:{{{image1}}}|frame|none|{{{caption1|}}}|link={{{link1|}}}]]
 
         </li>
 
         </li>
         {({#if: image2 | <li style="display: inline-block; vertical-align:top;"> | }}}
+
         ({#if: image2 | <li style="display: inline-block; vertical-align:top;"> | <noinclude> }}
 
                     {{#if: image2 | [[File: | }}{{{image2}}}|frame|none|{{{caption2|}}}|link={{{link2|}}}        {{#if: image2 | ]] | }}
 
                     {{#if: image2 | [[File: | }}{{{image2}}}|frame|none|{{{caption2|}}}|link={{{link2|}}}        {{#if: image2 | ]] | }}
         {{#if: image2 | </li> | }}
+
         {{#if: image2 | </li> | </noinclude> }}
 
     </ul>
 
     </ul>
 
</div>
 
</div>

Revision as of 22:01, 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=]]
  • ({#if: image2 |
  • | }} {{#if: image2 | [[File: | }}{{{image2}}}|frame|none||link= ]]