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: image2 | <li style="display: inline-block; vertical-align:top;"> | }}
+
         {({#if: image2 | <li style="display: inline-block; vertical-align:top;"> | }}}
 
                     {{#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> | }}
 
     </ul>
 
     </ul>
 
</div>
 
</div>

Revision as of 22:00, 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= ]]