Difference between revisions of "Template:Triple image"
m (same fixes as Template:Double image) |
Dinoguy1000 (talk | contribs) (newest version from WP; deprecate) |
||
Line 1: | Line 1: | ||
− | <noinclude>{{ | + | <noinclude>{{Deprecated|Multiple image}} |
− | </noinclude><includeonly>{{ | + | </noinclude><includeonly>{{multiple image |
− | + | | align = {{{{{|safesubst:}}}#switch: {{{1|}}} | |
− | + | |left|right = {{{1|}}} | |
− | + | |center|centre = center | |
− | |||
− | |||
− | |||
− | | | ||
− | | | ||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | | | + | | direction = horizontal |
− | + | | image1 = {{{2}}} | |
− | {{ | + | | width1 = {{{3|0}}} |
− | | | + | | alt1 = {{{11|}}} |
− | | | + | | caption1 = {{{{{|safesubst:}}}#if: {{{9|}}}{{{10|}}} |{{{8|}}} }} |
− | }}{{#if: {{{ | + | | image2 = {{{4}}} |
− | + | | width2 = {{{5|0}}} | |
− | + | | alt2 = {{{12|}}} | |
+ | | caption2 = {{{9|}}} | ||
+ | | image3 = {{{6}}} | ||
+ | | width3 = {{{7|0}}} | ||
+ | | alt3 = {{{13|}}} | ||
+ | | caption3 = {{{10|}}} | ||
+ | | footer = {{{{{|safesubst:}}}#if: {{{9|}}}{{{10|}}} ||{{{8|}}} }} | ||
+ | | footer_align = left | ||
}}</includeonly><noinclude>{{documentation}}</noinclude> | }}</includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 18:08, 22 July 2018
This template is deprecated. Please use Template:Multiple image instead. |
This template creates a box with three images side by side by side.
Usage
It needs parameters like this:
{{triple image|left/right/center|Image 1|Size 1|Image 2|Size 2|Image 3|Size 3|Left caption|[Center caption]|[Right caption]|Left alt text|Center alt text|Right alt text}}
See WP:ALT for advice about alt text.
See also Template:Double image or Template:Multiple image for only two images and Template:Multiple image for stacking images vertically.
Examples
To the right, with one single caption:
{{triple image|right|Ribbon numeral 2.png|60|Ribbon numeral 3.png|60|Ribbon numeral 4.png|60|When a user has many of one type of [[WP:BARN|barnstar]], they can represent them with [[WP:RIBBON|ribbons]] and these numerals to indicate the count.|||digit 2|digit 3|digit 4}}
To the left. With three captions, one beneath each image:
{{triple image|left|Ribbon numeral 2.png|60|Ribbon numeral 3.png|60|Ribbon numeral 4.png|60|Number 2|Number 3|Number 4|digit 2|digit 3|digit 4}}
See also
- {{Double image}}
- {{Multiple image}}