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

No edit summary
Line 3: Line 3:
==Usage==
==Usage==
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.
Line 9: Line 8:
* {{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}} 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|{{Lorem Ipsum}}{{Imagebox|Sample-actor-actions.png}}}}

Revision as of 08:08, 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.

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.
Sample-actor-actions.png (SR5 vError! s is required by Template:Template:Imagebox!, FVTT vError! f is required by Template:Template:Imagebox!)