Difference between revisions of "Template:Images2"

From Reallusion Wiki!
Jump to: navigation, search
m
m
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="float: {{{alignment|left}}};">
+
<noinclude>
 +
== Usage ==
 +
Images, supports up to 6 entries
 +
<pre><nowiki>
 +
{{Images|
 +
|image1 = your first image
 +
|caption1 = caption for the first image
 +
|link1 = link for the first image}}
 +
</nowiki></pre>
 +
</noinclude>
 +
<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=]]