Jump to content

Template:InfoBox Crime: Difference between revisions

From Detective Conan Wiki
mNo edit summary
mNo edit summary
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" style="border-bottom: 1px dotted #cccccc;"|Location:
! width="102"|Location:
| style="border-bottom: 1px dotted #cccccc;"|{{#if:{{{location|}}}|{{{location}}}|N/A}}
| {{#if:{{{location|}}}|{{{location}}}|N/A}}
|-
|-
{{#if: {{{victim|}}} |
{{#if: {{{victim|}}} |
! style="border-bottom: 1px dotted #cccccc;" {{!}} Victim:
! style="border-top: 1px dotted #cccccc;" {{!}} Victim:
{{!}} style="border-bottom: 1px dotted #cccccc;" {{!}} {{{victim}}} {{!}}{{!}} style="width: 1px"{{!}} 
{{!}} style="border-top: 1px dotted #cccccc;" {{!}} {{{victim}}} {{!}}{{!}} style="width: 1px"{{!}} 
{{!}}- }}
{{!}}- }}
{{#if: {{{age|}}} |
{{#if: {{{age|}}} |
! style="border-bottom: 1px dotted #cccccc;" {{!}} Age:
! style="border-top: 1px dotted #cccccc;" {{!}} Age:
{{!}} style="border-bottom: 1px dotted #cccccc;" {{!}} {{{age}}} {{!}}{{!}} style="width: 1px"{{!}} 
{{!}} style="border-top: 1px dotted #cccccc;" {{!}} {{{age}}} {{!}}{{!}} style="width: 1px"{{!}} 
{{!}}- }}
{{!}}- }}
{{#if: {{{time|}}} |
{{#if: {{{time|}}} |
! style="border-bottom: 1px dotted #cccccc;" {{!}} Time:
! style="border-top: 1px dotted #cccccc;" {{!}} Time:
{{!}} style="border-bottom: 1px dotted #cccccc;" {{!}} {{{time}}} {{!}}{{!}} style="width: 1px"{{!}} 
{{!}} style="border-top: 1px dotted #cccccc;" {{!}} {{{time}}} {{!}}{{!}} style="width: 1px"{{!}} 
{{!}}- }}
{{!}}- }}
{{#if: {{{cause-death|}}} |
{{#if: {{{cause-death|}}} |
! style="border-bottom: 1px dotted #cccccc;" {{!}}  Cause of death:
! style="border-top: 1px dotted #cccccc;" {{!}}  Cause of death:
{{!}} style="border-bottom: 1px dotted #cccccc;" {{!}} {{{cause-death}}} {{!}}{{!}} style="width: 1px"{{!}} 
{{!}} style="border-top: 1px dotted #cccccc;" {{!}} {{{cause-death}}} {{!}}{{!}} style="width: 1px"{{!}} 
{{!}}- }}
{{!}}- }}
{{#if: {{{suspects|}}} |
{{#if: {{{suspects|}}} |
! style="border-bottom: 1px dotted #cccccc;" {{!}}  Suspects:
! style="border-top: 1px dotted #cccccc;" {{!}}  Suspects:
{{!}} style="border-bottom: 1px dotted #cccccc;" {{!}} {{{suspects}}} {{!}}{{!}} style="width: 1px"{{!}} 
{{!}} style="border-top: 1px dotted #cccccc;" {{!}} {{{suspects}}} {{!}}{{!}} style="width: 1px"{{!}} 
{{!}}- }}
{{!}}- }}
{{#if: {{{description|}}} |
{{#if: {{{description|}}} |
{{!}} colspan="2" style="padding: 3px;" {{!}} {{{description}}}
{{!}} colspan="2" style="padding: 3px; border-top: 1px solid #cccccc;" {{!}} {{{description}}}
{{!}}- }}
{{!}}- }}
{{#if: {{{footnotes|}}} |
{{#if: {{{footnotes|}}} |

Revision as of 05:32, 18 November 2009

Murder
Location: N/A

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)
}}