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

From Detective Conan Wiki
Line 1: Line 1:
<div style="overflow:auto; background: #f8f9fa; border: 1px solid #c8ccd1; padding: 10px; border-radius: 5px; font-size: 90%;">
+
<div style="background: #f8f9fa; border: 1px solid #c8ccd1; border-radius: 5px;">
  <div style="background: #DF5829; color: white; text-align: center; font-weight: bold; padding: 5px; border-radius: 3px;">{{#if:{{{crime|}}}|{{{crime}}}|Murder}}   
+
  <div style="background: #DF5829; color: white; text-align: center; font-size: 1rem; font-weight: bold; padding: 5px;">{{#if:{{{crime|}}}|{{{crime}}}|Murder}}   
 
  </div>
 
  </div>
  <div style="overflow: auto;">
+
  <div style="overflow: auto; font-size: 90%;">
 
   <div style="width: 650px; display: flex; margin-top: 10px;">
 
   <div style="width: 650px; display: flex; margin-top: 10px;">
 
   {{#if: {{{image|}}} |
 
   {{#if: {{{image|}}} |
     <div style="flex: 1; text-align: center;">
+
     <div style="flex: 1; text-align: center;"> [[Image:{{{image}}}|290px]]}}
      [[Image:{{{image}}}|290px]]}}
 
 
     </div>
 
     </div>
  

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