Difference between revisions of "Template:Images2"

From Reallusion Wiki!
Jump to: navigation, search
m
m
 
(12 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
== Usage ==
 
== Usage ==
 
Images, supports up to 6 entries
 
Images, supports up to 6 entries
 
 
<pre><nowiki>
 
<pre><nowiki>
 
{{Images|
 
{{Images|
Line 10: Line 9:
 
</nowiki></pre>
 
</nowiki></pre>
 
</noinclude>
 
</noinclude>
 
+
<div style="float: {{{alignment|none}}}; display: inline-block; margin-right:10px;">
<div style="float: {{{alignment|left}}};">
+
 
     <ul>
 
     <ul>
 
         <li style="display: inline-block; vertical-align:top;">
 
         <li style="display: inline-block; vertical-align:top;">
 
             [[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;"> | <noinclude> }}
+
         <li style="display: inline-block; vertical-align:top;">
                    {{#if: image2 | [[File: | }}{{{image2}}}|frame|none|{{{caption2|}}}|link={{{link2|}}}       {{#if: image2 | ]] | }}
+
            [[File:{{{image2}}}|frame|none|{{{caption2|}}}|link={{{link2|}}}]]
        {{#if: image2 | </li> | </noinclude> }}
+
      </li>
 
     </ul>
 
     </ul>
 
</div>
 
</div>

Latest revision as of 00:40, 17 July 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=]]