No edit summary Tag: Manual revert |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>[[Category:Box Template]]</includeonly> | <includeonly>[[Category:Box Template]]</includeonly> | ||
{{Template|Imagebox}} is a variation of {{Template|Box}}. It generates image | {{Template|Imagebox}} is a variation of {{Template|Box}}. It generates image slideshows with an icon in the upper left corner. | ||
==Usage== | ==Usage== | ||
It accepts one {{Parameter|mandatory|string}} and three {{Parameter|optional}}s. | It accepts one {{Parameter|mandatory|string}} and three {{Parameter|optional}}s. | ||
* {{Code|1}} is the image | * {{Code|1}} is a semi-colon delimited list of the image files to be included in the box. | ||
* {{code|width}} (defaults to {{Code|300px}}) | * {{code|width}} (defaults to {{Code|300px}}) | ||
* {{Code|color}} (default: {{Code|blue}}) controls the color of the background. The valid options are: {{Box/Color}} | * {{Code|color}} (default: {{Code|blue}}) controls the color of the background. The valid options are: {{Box/Color}} | ||
==Return== | ==Return== | ||
{{Code|<nowiki>{{Imagebox|Scire-footprint-overlay.webp}}</nowiki>}} returns: {{Return|{{Imagebox|Scire-footprint-overlay.webp}}{{Lorem Ipsum}}{{Lorem Ipsum}}}} | {{Code|<nowiki>{{Imagebox|Scire-footprint-overlay.webp}}</nowiki>}} returns: {{Return|{{Imagebox|Scire-footprint-overlay.webp}}{{Lorem Ipsum}}{{Lorem Ipsum}}}} | ||
Revision as of 16:18, 8 May 2023
Template:Imagebox is a variation of Template:Box. It generates image slideshows with an icon in the upper left corner.
Usage
It accepts one mandatory string parameter and three optional parameters.
1is a semi-colon delimited list of the image files to be included in the box.width(defaults to300px)color(default:blue) controls the color of the background. The valid options are:
red
green
blue
yellow
purple
cyan
gray
white
Return
{{Imagebox|Scire-footprint-overlay.webp}} returns:
