(→Return) |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 8: | Line 8: | ||
* {{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|float=left}}</nowiki>}} returns the image box on the left | |||
{{Code|<nowiki>{{Imagebox|shirayuri-jacket-p.png; shirayuri-jumpsuit-p.png; shirayuri- | {{Code|<nowiki>{{Imagebox|Scire-footprint-overlay.webp|float=left}}</nowiki>}} returns the image box on the left. | ||
{{Code|<nowiki>{{Imagebox|shirayuri-jacket-p.png; shirayuri-jumpsuit-p.png; shirayuri-student_violinist-p.png|color=yellow}}</nowiki>}} returns the box on the right: {{Return|{{Imagebox|Scire-footprint-overlay.webp|float=left}}{{Lorem Ipsum}}{{Imagebox|shirayuri-jacket-p.png; shirayuri-jumpsuit-p.png; shirayuri-student_violinist-p.png|color=yellow}}{{Lorem Ipsum}}}} | |||
Latest revision as of 15:00, 9 January 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:
