Difference between revisions of "Template:InfoBox Char"

From Detective Conan Wiki
(Undo revision 241050 by Zaheerkarim (talk))
(Tag: Undo)
 
(47 intermediate revisions by 13 users not shown)
Line 3: Line 3:
 
| colspan="2" style="color: #ffffff; 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|}}}
 
|-  
 
|-  
 +
{{#if: {{{height|}}} |
 +
! Height:
 +
{{!}} {{{height}}}
 +
{{!}}-  }}
 +
{{#if: {{{weight|}}} |
 +
! Weight:
 +
{{!}} {{{weight}}}
 +
{{!}}-  }}
 
{{#if: {{{date-of-birth|}}} |
 
{{#if: {{{date-of-birth|}}} |
 
! Date of birth:  
 
! Date of birth:  
Line 26: Line 37:
 
! Relatives:  
 
! Relatives:  
 
{{!}} {{{relatives}}}
 
{{!}} {{{relatives}}}
 +
{{!}}-  }}
 +
{{#if: {{{occupation|}}} |
 +
! Occupation:
 +
{{!}} {{{occupation}}}
 +
{{!}}-  }}
 +
{{#if: {{{status|}}} |
 +
! Status:
 +
{{!}} {{{status}}}
 
{{!}}-  }}
 
{{!}}-  }}
 
{{#if: {{{nicknames|}}} |
 
{{#if: {{{nicknames|}}} |
Line 35: Line 54:
 
{{!}} {{{aliases}}}
 
{{!}} {{{aliases}}}
 
{{!}}-  }}
 
{{!}}-  }}
| colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #7ba1ec;" | '''Statistics'''
+
| colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #7ba1ec;" | <center>'''Statistics'''</center>
 
|-  
 
|-  
 
! First appearance:
 
! First appearance:
Line 41: Line 60:
 
|-  
 
|-  
 
! Appearances:
 
! Appearances:
| {{{appearances|}}}
+
| {{#ifeq: {{{appearances|}}}|yes|[[{{{name}}} Appearances]]|{{{appearances|}}}}}
 
|-  
 
|-  
 
{{#if: {{{cases-solved|}}} |
 
{{#if: {{{cases-solved|}}} |
Line 47: Line 66:
 
{{!}} {{{cases-solved}}}
 
{{!}} {{{cases-solved}}}
 
{{!}}-  }}
 
{{!}}-  }}
{{#if: {{{japanese-voice|english-voice|}}}|
+
{{#if: {{{keyhole|}}} |
 +
! Keyhole number:
 +
{{!}} {{{keyhole}}}
 +
{{!}}-  }}
 +
{{#if: {{{japanese-voice|{{{english-voice|}}}}}}|
 +
{{!}}-
 +
{{!}} colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #7ba1ec;" {{!}} <center>'''Actors'''</center>
 
{{!}}-
 
{{!}}-
{{!}} colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #7ba1ec;" {{!}} '''Actors'''
 
 
{{#if: {{{japanese-voice|}}} |
 
{{#if: {{{japanese-voice|}}} |
 
! Japanese voice:  
 
! Japanese voice:  
Line 57: Line 81:
 
! English voice:  
 
! English voice:  
 
{{!}} {{{english-voice}}}
 
{{!}} {{{english-voice}}}
 +
{{!}}-  }}
 +
{{#if: {{{drama-actor|}}} |
 +
! Drama actor:
 +
{{!}} {{{drama-actor}}}
 
{{!}}-  }}
 
{{!}}-  }}
 
}}
 
}}
Line 67: Line 95:
 
{{InfoBox Char
 
{{InfoBox Char
 
| name                =
 
| name                =
| english-name        =
+
| japanese-name      =    (Optional)
 +
| english-name        =   (Optional)
 
| image              =
 
| image              =
 
| age                =  
 
| age                =  
 
| gender              =
 
| gender              =
 +
| height              =    (Optional)
 +
| weight              =    (Optional)
 
| date-of-birth      =    (Optional)
 
| date-of-birth      =    (Optional)
| relatives          =  
+
| relatives          =   (Optional)
 +
| occupation          =    (Optional)
 +
| status              =    (Optional)
 
| nicknames          =    (Optional)
 
| nicknames          =    (Optional)
 
| aliases            =    (Optional)
 
| aliases            =    (Optional)
 +
| first-appearance    =
 +
| appearances        =
 +
| cases-solved        =    (Optional)
 +
| keyhole            =    (Optional)
 
| japanese-voice      =    (Optional)
 
| japanese-voice      =    (Optional)
 
| english-voice      =    (Optional)
 
| english-voice      =    (Optional)
| first-appearance    =
+
| drama-actor         =    (Optional)
| appearances         =    (Optional)
 
| cases-solved        =    (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)
}}