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

From Detective Conan Wiki
(Created page with "<div class="crime-info-box" style="width: 650px; background: #f8f9fa; border: 1px solid #c8ccd1; padding: 10px; border-radius: 5px; font-size: 90%;"> <div class="crime-title"...")
 
Line 7: Line 7:
 
   {{#if: {{{image|}}} |
 
   {{#if: {{{image|}}} |
 
   <div class="crime-image" style="flex: 1; text-align: center;">
 
   <div class="crime-image" style="flex: 1; text-align: center;">
     <img src="/wiki/images/{{{image}}}" alt="{{{image}}}" style="width: 290px; border-radius: 5px;">
+
     [[Image:{{{image}}}|290px]]}}
 
   </div>
 
   </div>
 
   }}
 
   }}

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