Difference between revisions of "User:R0o0di/Sandbox/New InfoBox Crime"
From Detective Conan Wiki
Line 1: | Line 1: | ||
− | <div style=" | + | <div style="overflow:auto; background: #f8f9fa; border: 1px solid #c8ccd1; padding: 10px; border-radius: 5px; font-size: 90%;"> |
<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-weight: bold; padding: 5px; border-radius: 3px;">{{#if:{{{crime|}}}|{{{crime}}}|Murder}} | ||
</div> | </div> | ||
+ | <div style="width:650px;"> | ||
+ | <div style="display: flex; margin-top: 10px;"> | ||
+ | {{#if: {{{image|}}} | | ||
+ | <div style="flex: 1; text-align: center;"> | ||
+ | [[Image:{{{image}}}|290px]]}} | ||
+ | </div> | ||
− | + | <div style="flex: 2; padding-left: 10px;"> | |
− | + | {{#if: {{{date|}}} | <div><strong>Date:</strong> {{{date}}}</div> }} | |
− | + | {{#if: {{{location|}}} | <div><strong>Location:</strong> {{{location}}}</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> }} | ||
</div> | </div> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
</div> | </div> |
Revision as of 18:42, 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) }}