Difference between revisions of "User:R0o0di/Sandbox/New InfoBox Crime"
From Detective Conan Wiki
< User:R0o0di | Sandbox
| Line 1: | Line 1: | ||
| + | |||
<div style="background: #f8f9fa; border: 1px solid #c8ccd1; border-radius: 5px;"> | <div style="background: #f8f9fa; border: 1px solid #c8ccd1; border-radius: 5px;"> | ||
<div style="background: #DF5829; color: white; text-align: center; font-size: 1rem; font-weight: bold; padding: 5px;">{{#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}} | ||
| Line 12: | Line 13: | ||
{{#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: {{{victim|}}} | <div><strong>{{{victim-label|Victim}}}:</strong> {{{victim}}}</div> }} |
| − | {{#if: {{{age|}}} | <div><strong>Age:</strong> {{{age}}}</div> }} | + | {{#if: {{{age|}}}|<div><strong>Age:</strong>{{{age}}}</div>}} |
{{#if: {{{time|}}} | <div><strong>Time:</strong> {{{time}}}</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: {{{cause-death|}}} | <div><strong>{{{cause-death-label|Cause of death}}}:</strong> {{{cause-death}}}</div> }} | ||
Revision as of 19:09, 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)
}}