Difference between revisions of "Template:InfoBox Char"

From Detective Conan Wiki
(Created page with '{| class="infobox" style="width: 20em; text-align: left; font-size: 90%;" cellpadding="2" |- | colspan="2" style="text-align:center; vertical-align:middle; height:28px; font-size...')
 
(Undo revision 241050 by Zaheerkarim (talk))
(Tag: Undo)
 
(98 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{| class="infobox" style="width: 20em; text-align: left; font-size: 90%;" cellpadding="2"
+
{| class="infobox" style="width: 285px; text-align: left; font-size: 90%;" cellpadding="2"
 
|-
 
|-
| colspan="2" style="text-align:center; vertical-align:middle; height:28px; font-size: medium; background-color: #99BBFF;" |  '''{{{name}}}'''  
+
| colspan="2" style="color: #ffffff; text-align:center; vertical-align:middle; height:28px; font-size: medium; background-color: #7ba1ec;" |  '''{{{name}}}'''  
 
|-  
 
|-  
| colspan="2" style="text-align:center; vertical-align:bottom;" |  
+
| class="nospacing" colspan="2" style="text-align:center; vertical-align:bottom; padding: 2px 0px 2px 0px;" |  
{{#if: {{{image|}}} | [[Image:{{{image}}}]]}}
+
{{#if: {{{image|}}} | [[Image:{{{image}}}|275px]]}}
 
|-
 
|-
| colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #99BBFF;" | '''Profile'''
+
| colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #7ba1ec;" | <center>'''Profile'''</center>
 +
|-
 +
{{#if: {{{japanese-name|}}} |
 +
! Japanese name:
 +
{{!}} {{{japanese-name}}}
 +
{{!}}- }}
 +
{{#if: {{{english-name|}}} |
 +
! English name:
 +
{{!}} {{{english-name}}}
 +
{{!}}- }}
 +
! Age:
 +
| {{{age|}}}
 
|-  
 
|-  
! width="80"|Age:
+
! width="100"|Gender:
| {{{age}}}
+
| {{{gender|}}}
 
|-  
 
|-  
! Gender:
+
{{#if: {{{height|}}} |
| {{{gender}}}
+
! Height:
 +
{{!}} {{{height}}}
 +
{{!}}-  }}
 +
{{#if: {{{weight|}}} |
 +
! Weight:
 +
{{!}} {{{weight}}}
 +
{{!}}-  }}
 +
{{#if: {{{date-of-birth|}}} |
 +
! Date of birth:
 +
{{!}} {{{date-of-birth}}}
 +
{{!}}-  }}
 +
{{#if: {{{relatives|}}} |
 +
! Relatives:
 +
{{!}} {{{relatives}}}
 +
{{!}}-  }}
 +
{{#if: {{{occupation|}}} |
 +
! Occupation:
 +
{{!}} {{{occupation}}}
 +
{{!}}-  }}
 +
{{#if: {{{status|}}} |
 +
! Status:
 +
{{!}} {{{status}}}
 +
{{!}}-  }}
 +
{{#if: {{{nicknames|}}} |
 +
! Nicknames:  
 +
{{!}} {{{nicknames}}}
 +
{{!}}-  }}
 +
{{#if: {{{aliases|}}} |
 +
! Aliases:
 +
{{!}} {{{aliases}}}
 +
{{!}}-  }}
 +
| colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #7ba1ec;" | <center>'''Statistics'''</center>
 
|-  
 
|-  
! Date of birth:
+
! First appearance:
| {{{date-of-birth}}}
+
| {{{first-appearance|}}}  
 
|-  
 
|-  
! Relatives:
+
! Appearances:
| {{{relatives}}}
+
| {{#ifeq: {{{appearances|}}}|yes|[[{{{name}}} Appearances]]|{{{appearances|}}}}}
|-
 
| colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #99BBFF;" | '''Statistics'''
 
 
|-  
 
|-  
! First appearance:
 
| {{{first-appearance}}}
 
 
{{#ifexpr:{{#expr:{{#if:{{{tv-appearances|}}}|1|0}} or {{#if:{{{movies-appearances|}}}|1|0}} or {{#if:{{{oavs-appearances|}}}|1|0}}}}<>0|
 
{{!}}-
 
! Appearances:
 
| {{#if: {{{tv-appearances|}}}|TV: {{{tv-appearances}}}<br />}}
 
{{#if: {{{movies-appearances|}}}|Movies: {{{movies-appearances}}}<br />}}
 
{{#if: {{{oavs-appearances|}}}|Movies: {{{oavs-appearances}}}}}
 
}}
 
 
 
{{#if: {{{cases-solved|}}} |
 
{{#if: {{{cases-solved|}}} |
 +
! Cases solved:
 +
{{!}} {{{cases-solved}}}
 +
{{!}}-  }}
 +
{{#if: {{{keyhole|}}} |
 +
! Keyhole number:
 +
{{!}} {{{keyhole}}}
 +
{{!}}-  }}
 +
{{#if: {{{japanese-voice|{{{english-voice|}}}}}}|
 
{{!}}-
 
{{!}}-
! Cases solved:
+
{{!}} colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #7ba1ec;" {{!}} <center>'''Actors'''</center>
{{!}} {{{cases-solved}}}
 
}}
 
 
 
{{#if: {{{footnotes|}}} |
 
 
{{!}}-
 
{{!}}-
{{!}} colspan="2" style="font-size: smaller;" {{!}} {{{footnotes|}}}
+
{{#if: {{{japanese-voice|}}} |
 +
! Japanese voice:
 +
{{!}} {{{japanese-voice}}}
 +
{{!}}- }}
 +
{{#if: {{{english-voice|}}} |
 +
! English voice:
 +
{{!}} {{{english-voice}}}
 +
{{!}}-  }}
 +
{{#if: {{{drama-actor|}}} |
 +
! Drama actor:
 +
{{!}} {{{drama-actor}}}
 +
{{!}}-  }}
 
}}
 
}}
 +
{{#if: {{{footnotes|}}} |
 +
{{!}} colspan="2" style="font-size: smaller;" {{!}} {{{footnotes|}}}  }}
 
|}
 
|}
 
<noinclude>
 
<noinclude>
Line 48: Line 94:
 
<pre>
 
<pre>
 
{{InfoBox Char
 
{{InfoBox Char
| name                   =  
+
| name               =
| image                 =  
+
| japanese-name      =    (Optional)
| age                   =
+
| english-name        =    (Optional)
| gender                 =
+
| image               =
| date-of-birth          =
+
| age                 =  
| relatives             =  
+
| gender             =
| first-appearance       =  
+
| height              =    (Optional)
| tv-appearances        =    (Optional)
+
| weight              =   (Optional)
| movies-appearances    =    (Optional)
+
| date-of-birth       =    (Optional)
| oavs-appearances       =    (Optional)
+
| relatives          =    (Optional)
| footnotes             =    (Optional: will not show the row if omitted)
+
| occupation         =   (Optional)
 +
| status             =   (Optional)
 +
| nicknames          =    (Optional)
 +
| aliases            =    (Optional)
 +
| first-appearance   =  
 +
| appearances        =
 +
| cases-solved        =    (Optional)
 +
| keyhole            =    (Optional)
 +
| japanese-voice      =    (Optional)
 +
| english-voice       =    (Optional)
 +
| drama-actor        =    (Optional)
 +
| footnotes           =    (Optional: will not show the row if omitted)
 
}}
 
}}
 
</pre>
 
</pre>
[[Category:Templates]]
+
[[Category:Templates]] [[Category:InfoBox templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 05:26, 17 August 2019

{{{name}}}
Profile
Age:
Gender:
Statistics
First appearance:
Appearances:

The following is a list of required or optional parameters for any of the characters:

{{InfoBox Char
| name                =
| japanese-name       =    (Optional)
| english-name        =    (Optional)
| image               =
| age                 = 
| gender              =
| height              =    (Optional)
| weight              =    (Optional)
| date-of-birth       =    (Optional)
| relatives           =    (Optional)
| occupation          =    (Optional)
| status              =    (Optional)
| nicknames           =    (Optional)
| aliases             =    (Optional)
| first-appearance    = 
| appearances         =
| cases-solved        =    (Optional)
| keyhole             =    (Optional)
| japanese-voice      =    (Optional)
| english-voice       =    (Optional)
| drama-actor         =    (Optional)
| footnotes           =    (Optional: will not show the row if omitted)
}}