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