No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 8: | Line 8: | ||
| {{#expr:1+{{#count:{{{1}}}|;}}}} | | {{#expr:1+{{#count:{{{1}}}|;}}}} | ||
| <div>[[File:{{#explode:{{{1}}}|;|{{#var:slide}}}}| {{{width|300px}}}|frameless|link=]]</div> | | <div>[[File:{{#explode:{{{1}}}|;|{{#var:slide}}}}| {{{width|300px}}}|frameless|link=]]</div> | ||
}}</slideshow>}}</div></div>{{Categorize|{{ucfirst:{{{color|blue}}}}} Boxes|with | }}</slideshow>}}</div>Debug Width: {{{width}}}</div>{{Categorize|{{ucfirst:{{{color|blue}}}}} Boxes|with}}</onlyinclude></includeonly> | ||
Revision as of 17:16, 12 February 2025
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|float=left}} returns the image box on the left.
{{Imagebox|shirayuri-jacket-p.png; shirayuri-jumpsuit-p.png; shirayuri-student_violinist-p.png|color=yellow}} returns the box on the right: The documentation above was transcluded from Template:Imagebox/Documentation. [edit]
