Jump to content

User:R0o0di/Sandbox/New InfoBox Heist: Difference between revisions

From Detective Conan Wiki
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
   <div style="min-width: 355px; padding-left: 5px;">{{#if:
   <div style="min-width: 355px; padding-left: 5px;">{{#if:
     {{{thief|}}}|
     {{{thief|}}}|
           <div style="padding: 3px 0;border-bottom: 1px dotted #ccc;display: grid;grid-template-columns: 102px auto;"><span style="width: 90px; display: inline-block;"><strong>{{{thief-label|Thief}}}:</strong></span><span>{{{thief}}}</span></div>}}
           <div style="padding: 3px 0;border-bottom: 1px dotted #ccc;display: grid;grid-template-columns: 102px auto;"><span><strong>{{{thief-label|Thief}}}:</strong></span><span>{{{thief}}}</span></div>}}
           <div style="padding: 3px 0;border-bottom: 1px dotted #ccc;display: grid;grid-template-columns: 102px auto;"><span style="width: 90px; display: inline-block;"><strong>Target:</strong></span><span>{{{target|}}}</span></div>{{#if:
           <div style="padding: 3px 0;border-bottom: 1px dotted #ccc;display: grid;grid-template-columns: 102px auto;"><span><strong>Target:</strong></span><span>{{{target|}}}</span></div>{{#if:
         {{{owner|}}}|
         {{{owner|}}}|
           <div style="padding: 3px 0;border-bottom: 1px dotted #ccc;display: grid;grid-template-columns: 102px auto;"><span style="width: 90px; display: inline-block;"><strong>{{{owner-label|Owner}}}:</strong></span><span>{{{owner}}}</span></div>}}{{#if:
           <div style="padding: 3px 0;border-bottom: 1px dotted #ccc;display: grid;grid-template-columns: 102px auto;"><span><strong>{{{owner-label|Owner}}}:</strong></span><span>{{{owner}}}</span></div>}}{{#if:
         {{{location|}}}|
         {{{location|}}}|
           <div style="padding: 3px 0;border-bottom: 1px dotted #ccc;display: grid;grid-template-columns: 102px auto;"><span style="width: 90px; display: inline-block;"><strong>Location:</strong></span><span>{{{location}}}</span></div>}}{{#if:
           <div style="padding: 3px 0;border-bottom: 1px dotted #ccc;display: grid;grid-template-columns: 102px auto;"><span><strong>Location:</strong></span><span>{{{location}}}</span></div>}}{{#if:
         {{{date|}}}|
         {{{date|}}}|
           <div style="padding: 3px 0;border-bottom: 1px dotted #ccc;display: grid;grid-template-columns: 102px auto;"><span style="width: 90px; display: inline-block;"><strong>Date:</strong></span><span>{{{date}}}</span></div>}}{{#if:
           <div style="padding: 3px 0;border-bottom: 1px dotted #ccc;display: grid;grid-template-columns: 102px auto;"><span><strong>Date:</strong></span><span>{{{date}}}</span></div>}}{{#if:
         {{{suspects|}}}|
         {{{suspects|}}}|
           <div style="padding: 3px 0;border-bottom: 1px dotted #ccc;display: grid;grid-template-columns: 102px auto;"><span style="width: 90px; display: inline-block;"><strong>{{{suspects-label|Suspects}}}:</strong></span><span>{{{suspects}}}</span></div>}}{{#if:
           <div style="padding: 3px 0;border-bottom: 1px dotted #ccc;display: grid;grid-template-columns: 102px auto;"><span><strong>{{{suspects-label|Suspects}}}:</strong></span><span>{{{suspects}}}</span></div>}}{{#if:
         {{{notice|}}}|
         {{{notice|}}}|
           <div style="padding: 3px 0;border-bottom: 1px dotted #ccc;display: grid;grid-template-columns: 102px auto;"><span style="width: 90px; display: inline-block;"><strong>{{{notice-label|Advanced Notice}}}:</strong></span><span>{{{notice}}}</span></div>}}{{#if:
           <div style="padding: 3px 0;border-bottom: 1px dotted #ccc;display: grid;grid-template-columns: 102px auto;"><span><strong>{{{notice-label|Advanced Notice}}}:</strong></span><span>{{{notice}}}</span></div>}}{{#if:
         {{{description|}}}|
         {{{description|}}}|
           <div style="padding: 3px 0;border-bottom: 1px dotted #ccc;display: grid;grid-template-columns: 102px auto;">{{{description}}}</div>}}{{#if:
           <div style="padding: 3px 0;">{{{description}}}</div>}}{{#if:
         {{{footnotes|}}}|
         {{{footnotes|}}}|
           <div style="font-size: 90%; border-top: 1px dotted; padding: 3px 0;">{{{footnotes}}}</div>}}
           <div style="font-size: 90%; border-top: 1px dotted; padding: 3px 0;">{{{footnotes}}}</div>}}
Line 46: Line 46:
}}
}}
</pre>
</pre>
[[Category:InfoBox templates]][[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 08:01, 7 June 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)
}}