Mr. Johnson (talk | contribs) (→Usage) |
Mr. Johnson (talk | contribs) (→Usage) |
||
| Line 4: | Line 4: | ||
It accepts one {{Parameter|mandatory|string}}s and three {{Parameter|optional}}s. | It accepts one {{Parameter|mandatory|string}}s and three {{Parameter|optional}}s. | ||
* {{ | * {{code|1}} is <!--a semi-colon delimited list of--> the image <!--files -->to be included in the box. | ||
* {{ | * {{code|2}}, if included, should be the SR5 system 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|width}} (defaults to {{code|450px}}) sets the width of the image. | ||
* {{code|float}} 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|{{Imagebox|Sample-actor-actions.png}}}} | {{Return|{{Imagebox|Sample-actor-actions.png}}}} | ||
Revision as of 08:03, 19 November 2023
Template:Imagebox inserts images inside a stylized border.
Usage
It accepts one mandatory string parameters and three optional parameters.
1is 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.floataccepts one ofleft,right, ornone.
Return
{{Imagebox|Sample-actor-actions.png}} returns.
Sample-actor-actions.png (SR5 vError!
s is required by Template:Template:Imagebox!, FVTT vError! f is required by Template:Template:Imagebox!)