Difference between revisions of "Template:InfoBox Char"

From Detective Conan Wiki
m
(Undo revision 241050 by Zaheerkarim (talk))
(Tag: Undo)
 
(57 intermediate revisions by 13 users not shown)
Line 1: Line 1:
 
{| class="infobox" style="width: 285px; 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: #7ba1ec;" |  '''{{{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; padding: 0px;" |  
+
| class="nospacing" colspan="2" style="text-align:center; vertical-align:bottom; padding: 2px 0px 2px 0px;" |  
 
{{#if: {{{image|}}} | [[Image:{{{image}}}|275px]]}}
 
{{#if: {{{image|}}} | [[Image:{{{image}}}|275px]]}}
 
|-
 
|-
| colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #7ba1ec;" | '''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|}}} |
 
{{#if: {{{english-name|}}} |
{{!}}-
+
! English name:
! width="100"{{!}}English name:
 
 
{{!}} {{{english-name}}}
 
{{!}} {{{english-name}}}
}}
+
{{!}}- }}
|-  
+
! Age:
! width="100"|Age:
 
 
| {{{age|}}}
 
| {{{age|}}}
 
|-  
 
|-  
! Gender:
+
! width="100"|Gender:
 
| {{{gender|}}}
 
| {{{gender|}}}
 
|-  
 
|-  
! Date of birth:
+
{{#if: {{{height|}}} |
| {{{date-of-birth|}}}
+
! Height:
|-  
+
{{!}} {{{height}}}
! Relatives:
+
{{!}}-  }}
| {{{relatives|}}}
+
{{#if: {{{weight|}}} |
|-
+
! Weight:
| colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #7ba1ec;" | '''Statistics'''
+
{{!}} {{{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>
 
|-  
 
|-  
 
! First appearance:
 
! First appearance:
Line 31: Line 60:
 
|-  
 
|-  
 
! Appearances:
 
! Appearances:
| {{{appearances|}}} {{#if: {{{cases-solved|}}} |  
+
| {{#ifeq: {{{appearances|}}}|yes|[[{{{name}}} Appearances]]|{{{appearances|}}}}}
 +
|-
 +
{{#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: {{{nicknames|}}} |
 
 
{{!}}-
 
{{!}}-
! Nicknames:
+
{{#if: {{{japanese-voice|}}} |
{{!}} {{{nicknames}}}}} {{#if: {{{footnotes|}}} |  
+
! Japanese voice:
{{!}}-
+
{{!}} {{{japanese-voice}}}
{{!}} colspan="2" style="font-size: smaller;" {{!}} {{{footnotes|}}}}}
+
{{!}}-  }}
 +
{{#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 46: Line 95:
 
{{InfoBox Char
 
{{InfoBox Char
 
| name                =
 
| name                =
| english-name        =
+
| japanese-name      =    (Optional)
 +
| english-name        =   (Optional)
 
| image              =
 
| image              =
 
| age                =  
 
| age                =  
 
| gender              =
 
| gender              =
| date-of-birth      =
+
| height              =    (Optional)
| relatives          =  
+
| weight              =    (Optional)
 +
| date-of-birth      =   (Optional)
 +
| relatives          =   (Optional)
 +
| occupation          =    (Optional)
 +
| status              =    (Optional)
 +
| nicknames          =    (Optional)
 +
| aliases            =    (Optional)
 
| first-appearance    =  
 
| first-appearance    =  
| appearances        =   (Optional)
+
| appearances        =
 
| cases-solved        =    (Optional)
 
| cases-solved        =    (Optional)
| nicknames          =    (Optional)
+
| keyhole            =    (Optional)
 +
| japanese-voice      =    (Optional)
 +
| english-voice      =    (Optional)
 +
| drama-actor        =    (Optional)
 
| footnotes          =    (Optional: will not show the row if omitted)
 
| 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)
}}