User:R0o0di/Sandbox/New InfoBox Heist: Difference between revisions
Appearance
< User:R0o0di | Sandbox
Created page with "<noinclude> <p style="clear: both">The following is a list of required or optional parameters for a case's heist:</p> <pre> {{InfoBox Heist | heist = (Optiona..." |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude> | <div style="background: #f8f9fa; border: 1px solid #c8ccd1; border-radius: 5px; max-width: 550px;"> | ||
<div style="background: #7CB2D4; color: white; text-align: center; font-weight: bold; padding: 5px;">{{#if:{{{heist|}}}|{{{heist}}}|Heist}} | |||
</div> | |||
<div style="overflow: auto; font-size: 90%;"> | |||
<div style="width: 550px; display: flex;"> | |||
{{#if:{{{image|}}} | | |||
<div> [[Image:{{{image}}}|290px]]}} | |||
</div> | |||
<div style="padding-left: 5px; width: 100%;">{{#if: | |||
{{{thief|}}}| | |||
<div style="padding: 3px 0; border-top: 1px dotted;"><span style="width: 90px; display: inline-block;"><strong>{{{thief-label|Thief}}}:</strong></span><span>{{{thief}}}</span></div>}} | |||
<div style="padding: 3px 0; border-top: 1px dotted;"><span style="width: 90px; display: inline-block;"><strong>Target:</strong></span><span>{{{target|}}}</span></div>{{#if: | |||
{{{owner|}}}| | |||
<div style="padding: 3px 0; border-top: 1px dotted;"><span style="width: 90px; display: inline-block;"><strong>{{{owner-label|Owner}}}:</strong></span><span>{{{owner}}}</span></div>}}{{#if: | |||
{{{location|}}}| | |||
<div style="padding: 3px 0; border-top: 1px dotted;"><span style="width: 90px; display: inline-block;"><strong>Location:</strong></span><span>{{{location}}}</span></div>}}{{#if: | |||
{{{date|}}}| | |||
<div style="padding: 3px 0; border-top: 1px dotted;"><span style="width: 90px; display: inline-block;"><strong>Date:</strong></span><span>{{{date}}}</span></div>}}{{#if: | |||
{{{suspects|}}}| | |||
<div style="padding: 3px 0; border-top: 1px dotted;"><span style="width: 90px; display: inline-block;"><strong>{{{suspects-label|Suspects}}}:</strong></span><span>{{{suspects}}}</span></div>}}{{#if: | |||
{{{notice|}}}| | |||
<div style="padding: 3px 0; border-top: 1px dotted;"><span style="width: 90px; display: inline-block;"><strong>{{{notice-label|Advanced Notice}}}:</strong></span><span>{{{notice}}}</span></div>}}{{#if: | |||
{{{description|}}}| | |||
<div style="padding: 3px 0; border-top: 1px dotted;">{{{description}}}</div>}}{{#if: | |||
{{{footnotes|}}}| | |||
<div style="font-size: 90%; border-top: 1px dotted; padding: 3px 0;">{{{footnotes}}}</div>}} | |||
</div> | |||
</div> | |||
</div> | |||
</div><noinclude> | |||
<p style="clear: both">The following is a list of required or optional parameters for a case's heist:</p> | <p style="clear: both">The following is a list of required or optional parameters for a case's heist:</p> | ||
<pre> | <pre> | ||
Revision as of 22:38, 18 April 2025
Heist
Target:
The following is a list of required or optional parameters for a case's heist:
{{InfoBox Heist
| heist = (Optional: defaults to "Heist" if omitted)
| image =
| thief = (Optional)
| thief-label = (Optional)
| target =
| owner = (Optional)
| owner-label = (Optional)
| location = (Optional)
| date = (Optional)
| suspects = (Optional)
| suspects-label = (Optional)
| notice = (Optional)
| notice-label = (Optional)
| description = (Optional)
| footnotes = (Optional: will not show the row if omitted)
}}