Difference between revisions of "Template:Images2"

From Reallusion Wiki!
Jump to: navigation, search
m
m
 
(23 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>
 
{{Images|
 
{{Images|
 
|image1 = your first image
 
|image1 = your first image
 
|caption1 = caption for the first image
 
|caption1 = caption for the first image
 
|link1 = link for the first image}}
 
|link1 = link for the first image}}
 +
</nowiki></pre>
 
</noinclude>
 
</noinclude>
<div style="float: {{{alignment|left}}};">
+
<div style="float: {{{alignment|none}}}; display: inline-block; margin-right:10px;">
 
     <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:image1
 
 
         <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>

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=]]