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

From Detective Conan Wiki
Line 6: Line 6:
 
   <div style="width: 650px; display: flex; margin: 3px 0;">
 
   <div style="width: 650px; display: flex; margin: 3px 0;">
 
   {{#if: {{{image|}}} |
 
   {{#if: {{{image|}}} |
     <div style="flex: 1; text-align: center;"> [[Image:{{{image}}}|290px]]}}
+
     <div> [[Image:{{{image}}}|290px]]}}
 
     </div>
 
     </div>
  
   <div style="flex: 2; padding-left: 10px;">
+
   <div style="padding-left: 10px;">
 
     {{#if: {{{date|}}} | <div><strong>Date:</strong> {{{date}}}</div> }}
 
     {{#if: {{{date|}}} | <div><strong>Date:</strong> {{{date}}}</div> }}
 
     {{#if: {{{location|}}} | <div><strong>Location:</strong> {{{location}}}</div> }}
 
     {{#if: {{{location|}}} | <div><strong>Location:</strong> {{{location}}}</div> }}
 
     {{#if: {{{people|}}} | <div><strong>People Involved:</strong> {{{people}}}</div> }}
 
     {{#if: {{{people|}}} | <div><strong>People Involved:</strong> {{{people}}}</div> }}
     {{#if: {{{victim|}}} | <div><strong>{{{victim-label|Victim}}}:</strong> {{{victim}}}</div> }} {{#if: {{{age|}}} | <div><strong>Age:</strong> {{{age}}}</div> }} {{#if: {{{time|}}} | <div><strong>Time:</strong> {{{time}}}</div> }} {{#if: {{{cause-death|}}} | <div><strong>{{{cause-death-label|Cause of death}}}:</strong> {{{cause-death}}}</div> }} {{#if: {{{suspects|}}} | <div><strong>{{{suspects-label|Suspects}}}:</strong> {{{suspects}}}</div> }} {{#if: {{{description|}}} | <div>{{{description}}}</div> }} {{#if: {{{footnotes|}}} | <div>{{{footnotes}}}</div> }}
+
     {{#if: {{{victim|}}} | <div><strong>{{{victim-label|Victim}}}:</strong> {{{victim}}}</div> }}
 +
    {{#if: {{{age|}}} | <div><strong>Age:</strong> {{{age}}}</div> }}
 +
    {{#if: {{{time|}}} | <div><strong>Time:</strong> {{{time}}}</div> }}
 +
    {{#if: {{{cause-death|}}} | <div><strong>{{{cause-death-label|Cause of death}}}:</strong> {{{cause-death}}}</div> }}
 +
    {{#if: {{{suspects|}}} | <div><strong>{{{suspects-label|Suspects}}}:</strong> {{{suspects}}}</div> }}
 +
    {{#if: {{{description|}}} | <div>{{{description}}}</div> }}
 +
    {{#if: {{{footnotes|}}} | <div>{{{footnotes}}}</div> }}
 
   </div>
 
   </div>
 
   </div>
 
   </div>

Revision as of 19:17, 27 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)
}}