Difference between revisions of "Template:InfoBox Char"

From Detective Conan Wiki
m (Added "empty" checks on some parameters)
m
Line 21: Line 21:
 
|-
 
|-
 
| colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #99BBFF;" | '''Statistics'''
 
| colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #99BBFF;" | '''Statistics'''
|-  
+
 
! First appearance:
+
{{#if: {{{first-anime-appearance|}}} |
| {{{first-appearance|}}}
+
{{!}}-
 +
! First Anime appearance:
 +
{{!}} {{{first-anime-appearance}}}
 +
}}
 +
 
 +
{{#if: {{{first-manga-appearance|}}} |
 +
{{!}}-
 +
! First Manga appearance:
 +
{{!}} {{{first-manga-appearance}}}
 +
}}
  
 
{{#ifexpr:{{#expr:{{#if:{{{tv-appearances|}}}|1|0}} or {{#if:{{{movies-appearances|}}}|1|0}} or {{#if:{{{oavs-appearances|}}}|1|0}}}}<>0|
 
{{#ifexpr:{{#expr:{{#if:{{{tv-appearances|}}}|1|0}} or {{#if:{{{movies-appearances|}}}|1|0}} or {{#if:{{{oavs-appearances|}}}|1|0}}}}<>0|
Line 48: Line 57:
 
<pre>
 
<pre>
 
{{InfoBox Char
 
{{InfoBox Char
| name                   =  
+
| name                   =  
| image                 =  
+
| image                   =  
| age                   =
+
| age                     =
| gender                 =
+
| gender                 =
| date-of-birth         =
+
| date-of-birth           =
| relatives             =  
+
| relatives               =
| first-appearance       =  
+
| first-anime-appearance  =  
| tv-appearances         =    (Optional)
+
| first-manga-appearance =  
| movies-appearances     =    (Optional)
+
| tv-appearances         =    (Optional)
| oavs-appearances       =    (Optional)
+
| movies-appearances     =    (Optional)
| footnotes             =    (Optional: will not show the row if omitted)
+
| oavs-appearances       =    (Optional)
 +
| footnotes               =    (Optional: will not show the row if omitted)
 
}}
 
}}
 
</pre>
 
</pre>
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 15:31, 14 May 2009

{{{name}}}
Profile
Age:
Gender:
Date of birth:
Relatives:
Statistics






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

{{InfoBox Char
| name                    = 
| image                   = 
| age                     =
| gender                  =
| date-of-birth           =
| relatives               = 
| first-anime-appearance  = 
| first-manga-appearance  = 
| tv-appearances          =    (Optional)
| movies-appearances      =    (Optional)
| oavs-appearances        =    (Optional)
| footnotes               =    (Optional: will not show the row if omitted)
}}