Difference between revisions of "Template:Multiple image"

From Summertime Saga Wiki
Jump to: navigation, search
m
m (Replaced content with "{{#invoke:Multiple image|render}}<noinclude>Category:Templates</noinclude>")
(Tag: Replaced)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
+
{{#invoke:Multiple image|render}}<noinclude>[[Category:Templates]]</noinclude>
{{FormatTemplateData|JSON=
 
{
 
"description": "This template creates a box with two to ten images arranged vertically or horizontally with captions for the entire box and/or for each images.",
 
"params": {
 
"align": {
 
"type": "string",
 
"label": "Alignment",
 
"default": "right",
 
"description": "Sets text-wrapping around image box, where \"none\" places the box on the left edge with no text-wrapping, \"center\" places the box at center with no text-wrapping and \"left\" and \"right\" refer to position of box on screen with text-wrapping.",
 
"example": "left/right/center/none",
 
"suggested": true
 
},
 
"direction": {
 
"default": "horizontal",
 
"type": "string",
 
"label": "Direction",
 
"description": "Direction in which to tile the images.",
 
"example": "horizontal/vertical",
 
"suggested": true
 
},
 
"width": {
 
"type": "string",
 
"label": "Width",
 
"description": "Width overrides Width 1, Width 2, Width 3, etc. If you want the images to be different sizes, do not provide the width parameter. Integer width in pixels; no \"px\" suffix",
 
"example": "200",
 
"suggested": true
 
},
 
"background color": {
 
"type": "string",
 
"label": "Background color",
 
"description": "Defines the background color between the border of the box and the images."
 
},
 
"caption_align": {
 
"default": "left",
 
"type": "string",
 
"label": "Caption alignment",
 
"example": "left/right/center"
 
},
 
"header_background": {
 
"type": "string",
 
"label": "Header background"
 
},
 
"header_align": {
 
"default": "center",
 
"type": "string",
 
"label": "Header alignment",
 
"example": "left/right/center"
 
},
 
"header": {
 
"type": "string",
 
"label": "Header"
 
},
 
"image1": {
 
"description": "Image 1 is name of first image. Similarly for Image 2, etc. File name only; no \"File:\" or \"Image:\" prefix.",
 
"type": "string",
 
"example": "example.jpg",
 
"suggested": true,
 
"label": "Image 1"
 
},
 
"width1": {
 
"description": "width 1 is width of first image. Similarly for Width 2, etc.",
 
"type": "number",
 
"label": "Width 1"
 
},
 
"alt1": {
 
"type": "string",
 
"description": "The [[alt text]] of first image (see [[WP:ALT]]). Similarly for Alt text 2, etc.",
 
"label": "Alt text 1"
 
},
 
"caption1": {
 
"type": "string",
 
"description": "Caption 1 is caption of first image. Similarly for Caption 2, etc.",
 
"suggested": true,
 
"label": "Caption 1"
 
},
 
"link1": {
 
"type": "wiki-page-name",
 
"description": "Where the first page links to. Similarly for Link 2, etc. If not specified, image links to the image description page as usual. If specified to the empty value, the image does not link anywhere; this should be used for purely decorative images as per [[WP:ALT]]. Important: If the image is under a free license like the GFDL or a CC license, you must not use this parameter as the terms of those licenses require the license, or a link to it, to be reproduced with the image. The image must, therefore, link to its image page. Public domain and (theoretically) fair use images are not subject to this restriction.",
 
"label": "Link 1"
 
},
 
"thumbtime1": {
 
"type": "string",
 
"description": "If image1 is an Ogg Theora file, sets the time within the video that is used for the initial display. Either a number of seconds or hours:minutes:seconds. Similarly for Thumb time 2, etc.",
 
"label": "Thumbtime 1"
 
},
 
"image2": {
 
"example": "example.jpg",
 
"suggested": true,
 
"label": "Image 2",
 
"type": "string"
 
},
 
"width2": {
 
"type": "number",
 
"label": "Width 2"
 
},
 
"alt2": {
 
"label": "Alt text 2",
 
"type": "string"
 
},
 
"caption2": {
 
"type": "string",
 
"suggested": true,
 
"label": "Caption 2"
 
},
 
"link2": {
 
"type": "wiki-page-name",
 
"label": "Link 2"
 
},
 
"thumbtime2": {
 
"type": "string",
 
"label": "Thumbtime 2"
 
},
 
"image3": {
 
"type": "string",
 
"example": "example.jpg",
 
"label": "Image 3"
 
},
 
"width3": {
 
"type": "number",
 
"label": "Width 3"
 
},
 
"alt3": {
 
"type": "string",
 
"label": "Alt text 3"
 
},
 
"caption3": {
 
"label": "Caption 3",
 
"type": "string"
 
},
 
"link3": {
 
"label": "Link 3",
 
"type": "wiki-page-name"
 
},
 
"thumbtime3": {
 
"type": "string",
 
"label": "Thumbtime 3"
 
},
 
"footer_background": {
 
"type": "string",
 
"label": "Footer background"
 
},
 
"footer_align": {
 
"default": "left",
 
"type": "string",
 
"label": "Footer alignment",
 
"example": "left/right/center"
 
},
 
"footer": {
 
"type": "string",
 
"label": "Footer"
 
}
 
},
 
"format": "block"
 
}
 
}}
 
</includeonly><noinclude>
 
This template was copied from Wikipedia: http://en.wikipedia.org/wiki/Template:Multiple_image. 
 
 
 
Please refer to Wikipedia's documentation for template instructions: http://en.wikipedia.org/wiki/Template:Multiple_image/doc.
 
 
 
Edit the page to see the template text.
 
</noinclude>
 

Latest revision as of 17:07, 22 June 2019