Difference between revisions of "Template:InfoBox Crime"

From Detective Conan Wiki
(If there is no image, then the section for the image won't get squished by the text next to it)
Line 4: Line 4:
 
  <div style="overflow: auto; padding-top: 4px; font-size: 90%; display: flex; justify-content: space-between;">
 
  <div style="overflow: auto; padding-top: 4px; font-size: 90%; display: flex; justify-content: space-between;">
 
   {{#if: {{{image|}}} |
 
   {{#if: {{{image|}}} |
     <div style="min-width: 290px;"> [[Image:{{{image}}}|290px]]}} </div>
+
     <div style="min-width: 290px;"> [[Image:{{{image}}}|290px]] </div>}}
 
   <div style="min-width: 355px; padding-left: 5px;">{{#if:
 
   <div style="min-width: 355px; padding-left: 5px;">{{#if:
 
     {{{date|}}}|  
 
     {{{date|}}}|  

Revision as of 06:05, 20 April 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)
}}