Anonymous
×
Create a new article
Write your page title here:
We currently have 55 articles on SR5 Foundry VTT System Wiki. Type your article name above or click on one of the titles below and start writing!



SR5 Foundry VTT System Wiki

Template:Imagebox/Documentation: Difference between revisions

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|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|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|450px}})
* {{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.

  • 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 to 450px) sets the width of the image.
  • float accepts one of left, right, or none.

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!)