Difference between revisions of "User:R0o0di/Sandbox/New InfoBox Crime"

From Detective Conan Wiki
Line 9: Line 9:
 
     </div>
 
     </div>
  
   <div style="padding-left: 10px;">
+
   <div style="padding-left: 10px; width: 100%;">
     {{#if: {{{date|}}}       | <div><span style="width: 75px; display: inline-block;"><strong>Date:</strong></span> <span>{{{date}}}</span></div> <hr style="margin: 0;"> }}{{#if:
+
     {{#if: {{{date|}}}|  
           {{{location|}}}  | <div><span style="width: 75px; display: inline-block;"><strong>Location:</strong></span> <span>{{{location}}}</span></div> <hr style="margin: 0;"> }}{{#if:
+
        <div style= "padding: 3px 0; border-bottom: 1px dotted;"><span style="width: 75px; display: inline-block;"><strong>Date:</strong></span> <span>{{{date}}}</span></div> }}{{#if:
           {{{people|}}}    | <div><span style="width: 75px; display: inline-block;"><strong>People Involved:</strong></span> <span>{{{people}}}</span></div> <hr style="margin: 0;"> }}{{#if:
+
           {{{location|}}}  | <div style= "padding: 3px 0; border-bottom: 1px dotted;"><span style="width: 75px; display: inline-block;"><strong>Location:</strong></span> <span>{{{location}}}</span></div> }}{{#if:
           {{{victim|}}}    | <div><span style="width: 75px; display: inline-block;"><strong>{{{victim-label|Victim}}}:</strong></span> <span>{{{victim}}}</span></div> <hr style="margin: 0;"> }}{{#if:
+
           {{{people|}}}    | <div style= "padding: 3px 0; border-bottom: 1px dotted;"><span style="width: 75px; display: inline-block;"><strong>People Involved:</strong></span> <span>{{{people}}}</span></div> }}{{#if:
           {{{age|}}}        | <div><span style="width: 75px; display: inline-block;"><strong>Age:</strong></span> <span>{{{age}}}</span></div> <hr style="margin: 0;"> }}{{#if:
+
           {{{victim|}}}    | <div style= "padding: 3px 0; border-bottom: 1px dotted;"><span style="width: 75px; display: inline-block;"><strong>{{{victim-label|Victim}}}:</strong></span> <span>{{{victim}}}</span></div> }}{{#if:
           {{{time|}}}      | <div><span style="width: 75px; display: inline-block;"><strong>Time:</strong></span> <span>{{{time}}}</span></div> <hr style="margin: 0;"> }}{{#if:
+
           {{{age|}}}        | <div style= "padding: 3px 0; border-bottom: 1px dotted;"><span style="width: 75px; display: inline-block;"><strong>Age:</strong></span> <span>{{{age}}}</span></div> }}{{#if:
           {{{cause-death|}}}| <div><span style="width: 75px; display: inline-block;"><strong>{{{cause-death-label|Cause of death}}}:</strong></span> <span>{{{cause-death}}}</span></div> <hr style="margin: 0;"> }}{{#if:
+
           {{{time|}}}      | <div style= "padding: 3px 0; border-bottom: 1px dotted;"><span style="width: 75px; display: inline-block;"><strong>Time:</strong></span> <span>{{{time}}}</span></div> }}{{#if:
           {{{suspects|}}}  | <div><span style="width: 75px; display: inline-block;"><strong>{{{suspects-label|Suspects}}}:</strong></span> <span>{{{suspects}}}</span></div> <hr style="margin: 0;"> }}{{#if:
+
           {{{cause-death|}}}| <div style= "padding: 3px 0; border-bottom: 1px dotted;"><span style="width: 75px; display: inline-block;"><strong>{{{cause-death-label|Cause of death}}}:</strong></span> <span>{{{cause-death}}}</span></div> }}{{#if:
           {{{description|}}}| <div>{{{description}}}</div> <hr style="margin: 0;"> }}{{#if:
+
           {{{suspects|}}}  | <div style= "padding: 3px 0; border-bottom: 1px dotted;"><span style="width: 75px; display: inline-block;"><strong>{{{suspects-label|Suspects}}}:</strong></span> <span>{{{suspects}}}</span></div> }}{{#if:
 +
           {{{description|}}}| <div style= "padding: 3px 0; border-bottom: 1px dotted;">{{{description}}}</div> }}{{#if:
 
           {{{footnotes|}}}  | <div>{{{footnotes}}}</div> }}
 
           {{{footnotes|}}}  | <div>{{{footnotes}}}</div> }}
 
   </div>
 
   </div>

Revision as of 14:00, 28 March 2025

Murder

The following is a list of required or optional parameters for a case's crime:

{{InfoBox Crime
| crime               =    (Optional: defaults to "Murder" if omitted)
| image               =
| location            =    (Optional) 
| victim              =    (Optional)
| victim-label        =    (Optional)
| age                 =    (Optional)
| time                =    (Optional)
| cause-death         =    (Optional)
| cause-death-label   =    (Optional)
| suspects            =    (Optional)
| suspects-label      =    (Optional)
| description         =    (Optional)
| footnotes           =    (Optional: will not show the row if omitted)
}}