Difference between revisions of "Template:InfoBox Crime"
From Detective Conan Wiki
m (Made "Location" field permanent and leaving crime type to the frame's header only (i.e. all that to optimize space)) |
(Modifying the template for an eventually "cleaner" presentation (less color noise). Just a test for now though.) |
||
Line 8: | Line 8: | ||
{| 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"|Location: | + | ! width="102" style="border-bottom: 1px dotted #cccccc;"||Location: |
− | | {{#if:{{{location|}}}|{{{location}}}|N/A}} | + | | style="border-bottom: 1px dotted #cccccc;"|{{#if:{{{location|}}}|{{{location}}}|N/A}} |
|- | |- | ||
{{#if: {{{victim|}}} | | {{#if: {{{victim|}}} | | ||
− | ! style="border- | + | ! style="border-bottom: 1px dotted #cccccc;" {{!}} Victim: |
− | {{!}} style="border- | + | {{!}} style="border-bottom: 1px dotted #cccccc;" {{!}} {{{victim}}} {{!}}{{!}} style="width: 1px"{{!}} |
{{!}}- }} | {{!}}- }} | ||
{{#if: {{{age|}}} | | {{#if: {{{age|}}} | | ||
− | ! style="border- | + | ! style="border-bottom: 1px dotted #cccccc;" {{!}} Age: |
− | {{!}} style="border- | + | {{!}} style="border-bottom: 1px dotted #cccccc;" {{!}} {{{age}}} {{!}}{{!}} style="width: 1px"{{!}} |
{{!}}- }} | {{!}}- }} | ||
{{#if: {{{time|}}} | | {{#if: {{{time|}}} | | ||
− | ! style="border- | + | ! style="border-bottom: 1px dotted #cccccc;" {{!}} Time: |
− | {{!}} style="border- | + | {{!}} style="border-bottom: 1px dotted #cccccc;" {{!}} {{{time}}} {{!}}{{!}} style="width: 1px"{{!}} |
{{!}}- }} | {{!}}- }} | ||
{{#if: {{{cause-death|}}} | | {{#if: {{{cause-death|}}} | | ||
− | ! style="border- | + | ! style="border-bottom: 1px dotted #cccccc;" {{!}} Cause of death: |
− | {{!}} style="border- | + | {{!}} style="border-bottom: 1px dotted #cccccc;" {{!}} {{{cause-death}}} {{!}}{{!}} style="width: 1px"{{!}} |
{{!}}- }} | {{!}}- }} | ||
{{#if: {{{suspects|}}} | | {{#if: {{{suspects|}}} | | ||
− | ! style="border- | + | ! style="border-bottom: 1px dotted #cccccc;" {{!}} Suspects: |
− | {{!}} style="border- | + | {{!}} style="border-bottom: 1px dotted #cccccc;" {{!}} {{{suspects}}} {{!}}{{!}} style="width: 1px"{{!}} |
{{!}}- }} | {{!}}- }} | ||
{{#if: {{{description|}}} | | {{#if: {{{description|}}} | | ||
− | {{!}} colspan=" | + | {{!}} colspan="2" style="padding: 3px;" {{!}} {{{description}}} |
− | |||
− | |||
{{!}}- }} | {{!}}- }} | ||
{{#if: {{{footnotes|}}} | | {{#if: {{{footnotes|}}} | | ||
− | {{!}} colspan=" | + | {{!}} colspan="2" style="font-size: smaller; border-top: 1px dotted #aaaaaa" {{!}} {{{footnotes|}}} }} |
|} | |} | ||
|}<noinclude> | |}<noinclude> |
Revision as of 05:30, 18 November 2009
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 = | victim = (Optional) | age = (Optional) | time = (Optional) | cause-death = (Optional) | suspects = (Optional) | description = (Optional) | footnotes = (Optional: will not show the row if omitted) }}