Mr. Johnson (talk | contribs) No edit summary |
Mr. Johnson (talk | contribs) (→Usage) |
||
Line 7: | Line 7: | ||
* {{Code|2}}, if included, should be the SR5 system version the image was captured from. | * {{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|3}}, if included, should be the Foundry VTT version the image was captured from. | ||
* {{code|width}} (defaults to {{Code| | * {{code|width}} (defaults to {{Code|450px}}) | ||
==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:02, 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
)
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
!)