Mr. Johnson (talk | contribs) No edit summary |
Mr. Johnson (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
* {{code|3}}, if included, should be the Foundry VTT version the image was captured from. | * {{code|3}}, if included, should be the Foundry VTT version the image was captured from. | ||
* {{code|width}} (defaults to {{code|450px}}) sets the width of the image. | * {{code|width}} (defaults to {{code|450px}}) sets the width of the image. | ||
* {{code|float}} accepts one of {{code|left}}, {{code|right}}, or {{code|none}}. | * {{code|float}} (defaults to {{code|right}}) accepts one of {{code|left}}, {{code|right}}, or {{code|none}}. | ||
==Return== | ==Return== | ||
{{Code|<nowiki>{{Imagebox|Sample-actor-actions.png}}</nowiki>}} returns. | {{Code|<nowiki>{{Imagebox|Sample-actor-actions.png}}</nowiki>}} returns. | ||
{{Return|{{Lorem Ipsum}}{{Imagebox|Sample-actor-actions.png}}{{Lorem Ipsum}}}} | {{Return|{{Lorem Ipsum|2}}{{Imagebox|Sample-actor-actions.png}}{{Lorem Ipsum}}{{Lorem Ipsum|2}}}} |
Revision as of 08:09, 19 November 2023
Template:Imagebox
inserts images inside a stylized border.
Usage
It accepts one mandatory string parameters and three optional parameters.
1
is the image to be included in the box.2
, if included, should be the SR5 system version the image was captured from.3
, if included, should be the Foundry VTT version the image was captured from.width
(defaults to450px
) sets the width of the image.float
(defaults toright
) accepts one ofleft
,right
, ornone
.
Return
{{Imagebox|Sample-actor-actions.png}}
returns.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis quis metus nunc. Fusce est libero, interdum vel iaculis et, blandit quis odio. Integer ac magna nunc. In quis libero purus. Praesent mattis eget justo in efficitur. Aenean tempor congue dictum. Mauris hendrerit nunc a auctor dictum.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis quis metus nunc. Fusce est libero, interdum vel iaculis et, blandit quis odio. Integer ac magna nunc. In quis libero purus. Praesent mattis eget justo in efficitur. Aenean tempor congue dictum. Mauris hendrerit nunc a auctor dictum. Maecenas auctor eu urna blandit lobortis. Aenean maximus ante vel pretium congue. Sed et turpis vel ipsum condimentum laoreet sit amet vel nisi. Nulla non vulputate arcu, sit amet pellentesque elit. Pellentesque ac tortor viverra, finibus est ac, varius urna. Donec sagittis, elit sit amet sagittis tempor, nibh arcu blandit magna, ut aliquam metus lacus non ligula. Vivamus et ligula quis magna luctus imperdiet.Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis quis metus nunc. Fusce est libero, interdum vel iaculis et, blandit quis odio. Integer ac magna nunc. In quis libero purus. Praesent mattis eget justo in efficitur. Aenean tempor congue dictum. Mauris hendrerit nunc a auctor dictum.
Sample-actor-actions.png (SR5 vError!
s
is required by Template:Template:Imagebox
!, FVTT vError! f
is required by Template:Template:Imagebox
!)