Difference between revisions of "Template:InfoBox Crime"

From Detective Conan Wiki
m
m
 
(81 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{| class="infobox" style="width: 300px; text-align: left; font-size: 90%; float:left; 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"
 
|-
 
|-
| colspan="2" style="color: #ffffff; text-align:center; vertical-align:middle; /*height:28px;*/ font-size: small; background-color: #78b3f0; /*5bbd53;*/" |  '''{{#if:{{{crime|}}}|{{{crime}}}|Murder}}'''  
+
| colspan="2" style="color: #ffffff; text-align:center; vertical-align:middle; /*height:28px;*/ font-size: small; background-color: #DF5829; /*78b3f0;*/ /*5bbd53;*/" |  '''{{#if:{{{crime|}}}|{{{crime}}}|Murder}}'''  
 
|-  
 
|-  
| class="nospacing" colspan="2" style="text-align:center; vertical-align:bottom; padding: 2px 0px 2px 0px;" |  
+
| width="290" class="nospacing" style="text-align:center; vertical-align:top; padding: 2px 0px 0px 0px;" |  
 
{{#if: {{{image|}}} | [[Image:{{{image}}}|290px]]}}
 
{{#if: {{{image|}}} | [[Image:{{{image}}}|290px]]}}
 +
| style="padding: 0px;" |
 +
{| 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"
 
|-
 
|-
| colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #78b3f0;" | '''Case'''
+
{{#if: {{{date|}}} |
|-
+
! style="border-bottom: 1px dotted #cccccc;" {{!}} Date:
! width="100"|Location:
+
{{!}} style="border-bottom: 1px dotted #cccccc;" {{!}} {{{date}}}
| {{{location|}}}
+
{{!}}- }}
|-
+
{{#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|}}} |
! Victim:
+
! style="border-bottom: 1px dotted #cccccc;" {{!}} {{{victim-label|Victim}}}:
{{!}} {{{victim}}}
+
{{!}} style="border-bottom: 1px dotted #cccccc;" {{!}} {{{victim}}}
 +
{{!}}- }}
 +
{{#if: {{{age|}}} |
 +
! style="border-bottom: 1px dotted #cccccc;" {{!}} Age:
 +
{{!}} style="border-bottom: 1px dotted #cccccc;" {{!}} {{{age}}}
 +
{{!}}- }}
 +
{{#if: {{{time|}}} |
 +
! style="border-bottom: 1px dotted #cccccc;" {{!}} Time:
 +
{{!}} style="border-bottom: 1px dotted #cccccc;" {{!}} {{{time}}}
 
{{!}}- }}
 
{{!}}- }}
 
{{#if: {{{cause-death|}}} |
 
{{#if: {{{cause-death|}}} |
! Cause of death:
+
! style="border-bottom: 1px dotted #cccccc;" {{!}}  {{{cause-death-label|Cause of death}}}:
{{!}} {{{cause-death}}}
+
{{!}} style="border-bottom: 1px dotted #cccccc;" {{!}} {{{cause-death}}}
 
{{!}}- }}
 
{{!}}- }}
 
{{#if: {{{suspects|}}} |
 
{{#if: {{{suspects|}}} |
! Suspects:
+
! style="border-bottom: 1px dotted #cccccc;" {{!}}  {{{suspects-label|Suspects}}}:
{{!}} {{{suspects}}}
+
{{!}} style="border-bottom: 1px dotted #cccccc;" {{!}} {{{suspects}}}
 
{{!}}- }}
 
{{!}}- }}
 
{{#if: {{{description|}}} |
 
{{#if: {{{description|}}} |
! Description:
+
{{!}} colspan="2" style="padding: 3px;" {{!}} {{{description}}}
{{!}} {{{description}}}
 
 
{{!}}- }}
 
{{!}}- }}
 
{{#if: {{{footnotes|}}} |
 
{{#if: {{{footnotes|}}} |
 
{{!}} 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>
+
|}<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 36: Line 52:
 
| 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)
 +
| age                =    (Optional)
 +
| time                =    (Optional)
 
| cause-death        =    (Optional)
 
| cause-death        =    (Optional)
 +
| cause-death-label  =    (Optional)
 
| suspects            =    (Optional)
 
| suspects            =    (Optional)
 +
| suspects-label      =    (Optional)
 
| description        =    (Optional)
 
| description        =    (Optional)
 
| footnotes          =    (Optional: will not show the row if omitted)
 
| footnotes          =    (Optional: will not show the row if omitted)
 
}}
 
}}
 
</pre>
 
</pre>
[[Category:Templates]]
+
[[Category:InfoBox templates]][[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 07:01, 24 February 2015

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