Difference between revisions of "Template:InfoBox Crime"

From Detective Conan Wiki
m (Removing extra trailing space)
m (Made "Location" field permanent and leaving crime type to the frame's header only (i.e. all that to optimize space))
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"|Crime:
+
! width="102"|Location:
| {{#if:{{{crime|}}}|{{{crime}}}|Murder}}
+
| {{#if:{{{location|}}}|{{{location}}}|N/A}}
 
|-
 
|-
 
{{#if: {{{victim|}}} |
 
{{#if: {{{victim|}}} |
Line 19: Line 19:
 
{{!}} style="border-top: 1px dotted #cccccc;" {{!}} {{{age}}} {{!}}{{!}} style="width: 1px"{{!}} 
 
{{!}} style="border-top: 1px dotted #cccccc;" {{!}} {{{age}}} {{!}}{{!}} style="width: 1px"{{!}} 
 
{{!}}- }}
 
{{!}}- }}
! width="102" style="border-top: 1px dotted #cccccc;"|Location:
 
| style="border-top: 1px dotted #cccccc;"|{{{location|}}}
 
|-
 
 
{{#if: {{{time|}}} |
 
{{#if: {{{time|}}} |
 
! style="border-top: 1px dotted #cccccc;" {{!}} Time:
 
! style="border-top: 1px dotted #cccccc;" {{!}} Time:
Line 48: Line 45:
 
| crime              =    (Optional: defaults to "Murder" if omitted)
 
| crime              =    (Optional: defaults to "Murder" if omitted)
 
| image              =
 
| image              =
 +
| location            =
 
| victim              =    (Optional)
 
| victim              =    (Optional)
 
| age                =    (Optional)
 
| age                =    (Optional)
| location            =
 
 
| time                =    (Optional)
 
| time                =    (Optional)
 
| cause-death        =    (Optional)
 
| cause-death        =    (Optional)

Revision as of 02:25, 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)
}}