Difference between revisions of "Template:Multiple image"

From Holocron - Star Wars Combine
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 132: Line 132:
 
</div>
 
</div>
 
}}
 
}}
 +
<noinclude>
 +
===Usage===
 +
 +
<pre><nowiki>
 +
{{multiple image|caption_align=center|header_align=center
 +
<!-- Essential parameters -->
 +
| align            = <!-- right (default), left, center, none -->
 +
| direction        = <!-- horizontal (default), vertical -->
 +
| background color  = <!-- box background -->
 +
 +
<!-- Header -->
 +
| header_background =
 +
| header_align      = <!-- center (default), left, right -->
 +
| header            =
 +
 +
<!-- Images -->
 +
| width            = <!-- image width in pixels (an integer, omit "px" suffix); overrides "width[n]"s below -->
 +
<!--image 1-->
 +
| image1            = <!-- filename only, i.e. without "File:" or "Image:" prefix -->
 +
| width1            =
 +
| alt1              =
 +
| link1            =
 +
| caption1          =
 +
<!--image 2-->
 +
| image2            = <!-- filename only, i.e. without "File:" or "Image:" prefix -->
 +
| width2            =
 +
| alt2              =
 +
| link2            =
 +
| caption2          =
 +
<!-- and so on, to a maximum of 10 images (image10) -->
 +
 +
<!-- Footer -->
 +
| footer_background =
 +
| footer_align      = <!-- left (default), center, right -->
 +
| footer            =
 +
}}
 +
</nowiki></pre>
 +
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 14:40, 29 June 2015


Usage

{{multiple image|caption_align=center|header_align=center
<!-- Essential parameters -->
 | align             = <!-- right (default), left, center, none --> 
 | direction         = <!-- horizontal (default), vertical -->
 | background color  = <!-- box background -->

<!-- Header -->
 | header_background = 
 | header_align      = <!-- center (default), left, right -->
 | header            = 

<!-- Images -->
 | width             = <!-- image width in pixels (an integer, omit "px" suffix); overrides "width[n]"s below -->
<!--image 1-->
 | image1            = <!-- filename only, i.e. without "File:" or "Image:" prefix -->
 | width1            = 
 | alt1              = 
 | link1             = 
 | caption1          = 
<!--image 2-->
 | image2            = <!-- filename only, i.e. without "File:" or "Image:" prefix -->
 | width2            = 
 | alt2              = 
 | link2             = 
 | caption2          = 
<!-- and so on, to a maximum of 10 images (image10) -->

<!-- Footer -->
 | footer_background = 
 | footer_align      = <!-- left (default), center, right -->
 | footer            = 
}}