Difference between revisions of "Template:InfoBox Crime"
From Detective Conan Wiki
(add optional suspects label) |
m |
||
(9 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
+ | <div style="overflow:auto"> | ||
{| class="infobox" style="width: 650px; text-align: left; font-size: 90%; float: none; clear: left; margin-left: 0; margin-right: 1em;" cellpadding="2" | {| class="infobox" style="width: 650px; text-align: left; font-size: 90%; float: none; clear: left; margin-left: 0; margin-right: 1em;" cellpadding="2" | ||
|- | |- | ||
Line 8: | Line 9: | ||
{| class="infobox crime" width="100%" style="border: 0px; margin: 0px; padding: 0px 0px 0px 2px; font-size: 100%; border-collapse: separate; border-spacing: 1px" cellpadding="0" cellspacing="0" | {| class="infobox crime" width="100%" style="border: 0px; margin: 0px; padding: 0px 0px 0px 2px; font-size: 100%; border-collapse: separate; border-spacing: 1px" cellpadding="0" cellspacing="0" | ||
|- | |- | ||
− | ! width="102" style="border-bottom: 1px dotted #cccccc;" | + | {{#if: {{{date|}}} | |
− | + | ! style="border-bottom: 1px dotted #cccccc;" {{!}} Date: | |
− | + | {{!}} style="border-bottom: 1px dotted #cccccc;" {{!}} {{{date}}} | |
+ | {{!}}- }} | ||
+ | {{#if: {{{location|}}} | | ||
+ | ! width="102" style="border-bottom: 1px dotted #cccccc;" {{!}} Location: | ||
+ | {{!}} style="border-bottom: 1px dotted #cccccc;" {{!}} {{{location}}} | ||
+ | {{!}}- }} | ||
+ | {{#if: {{{people|}}} | | ||
+ | ! style="border-bottom: 1px dotted #cccccc;" {{!}} People: | ||
+ | {{!}} style="border-bottom: 1px dotted #cccccc;" {{!}} {{{people}}} | ||
+ | {{!}}- }} | ||
{{#if: {{{victim|}}} | | {{#if: {{{victim|}}} | | ||
! style="border-bottom: 1px dotted #cccccc;" {{!}} {{{victim-label|Victim}}}: | ! style="border-bottom: 1px dotted #cccccc;" {{!}} {{{victim-label|Victim}}}: | ||
Line 24: | Line 34: | ||
{{!}}- }} | {{!}}- }} | ||
{{#if: {{{cause-death|}}} | | {{#if: {{{cause-death|}}} | | ||
− | ! style="border-bottom: 1px dotted #cccccc;" {{!}} Cause of death: | + | ! style="border-bottom: 1px dotted #cccccc;" {{!}} {{{cause-death-label|Cause of death}}}: |
{{!}} style="border-bottom: 1px dotted #cccccc;" {{!}} {{{cause-death}}} | {{!}} style="border-bottom: 1px dotted #cccccc;" {{!}} {{{cause-death}}} | ||
{{!}}- }} | {{!}}- }} | ||
Line 37: | Line 47: | ||
{{!}} colspan="2" style="font-size: smaller; border-top: 1px dotted #aaaaaa" {{!}} {{{footnotes|}}} }} | {{!}} colspan="2" style="font-size: smaller; border-top: 1px dotted #aaaaaa" {{!}} {{{footnotes|}}} }} | ||
|} | |} | ||
− | |}<noinclude> | + | |} |
+ | </div> | ||
+ | <noinclude> | ||
<p style="clear: both">The following is a list of required or optional parameters for a case's crime:</p> | <p style="clear: both">The following is a list of required or optional parameters for a case's crime:</p> | ||
<pre> | <pre> | ||
Line 43: | Line 55: | ||
| crime = (Optional: defaults to "Murder" if omitted) | | crime = (Optional: defaults to "Murder" if omitted) | ||
| image = | | image = | ||
− | | location = | + | | location = (Optional) |
| victim = (Optional) | | victim = (Optional) | ||
| victim-label = (Optional) | | victim-label = (Optional) | ||
Line 49: | Line 61: | ||
| time = (Optional) | | time = (Optional) | ||
| cause-death = (Optional) | | cause-death = (Optional) | ||
+ | | cause-death-label = (Optional) | ||
| suspects = (Optional) | | suspects = (Optional) | ||
| suspects-label = (Optional) | | suspects-label = (Optional) |
Latest revision as of 18:49, 23 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) }}