Difference between revisions of "Template:InfoBox Staff"

From Detective Conan Wiki
 
(32 intermediate revisions by 3 users not shown)
Line 11: Line 11:
 
| {{{gender|}}}
 
| {{{gender|}}}
 
|-  
 
|-  
 +
{{#iferror: {{#time:Y|{{{date-of-birth|}}}}} |
 +
! Date of birth:
 +
{{!}}{{{date-of-birth}}}
 +
{{!}}- | {{#if: {{{date-of-birth|}}} |
 +
{{#if: {{{date-of-birth-display|}}} |
 +
! Date of birth:
 +
{{!}} {{{date-of-birth-display}}} ''<small>{{#if: {{{date-of-death|}}} | | ({{#expr:floor(({{#time:U}} - {{#time:U|{{{date-of-birth}}}}}) / 31556926)}}) }}</small>'' | {{#if: {{{date-of-birth|}}} |
 +
! Date of birth:
 +
{{!}} {{{date-of-birth}}} ''<small>{{#if: {{{date-of-death|}}} | | ({{#expr:floor(({{#time:U}} - {{#time:U|{{{date-of-birth}}}}}) / 31556926)}}) }}</small>'' }} }}
 +
{{!}}-  }}}}
 +
{{#if: {{{date-of-death|}}} |
 
{{#if: {{{date-of-birth|}}} |
 
{{#if: {{{date-of-birth|}}} |
! Date of birth:  
+
{{#if: {{{date-of-death-display|}}} |
{{!}} {{{date-of-birth}}}
+
! Date of death:
{{!}}- }}
+
{{!}} {{{date-of-death-display}}} ''<small>({{#expr:floor(({{#time:U|{{{date-of-death}}}}} - {{#time:U|{{{date-of-birth}}}}}) / 31556926)}})</small>'' | {{#if: {{{date-of-birth|}}} |
{{#if: {{{date-of-death|}}} |
+
! Date of death:
! Date of death:  
+
{{!}} {{{date-of-death}}} ''<small>({{#expr:floor(({{#time:U|{{{date-of-death}}}}} - {{#time:U|{{{date-of-birth}}}}}) / 31556926)}})</small>'' }} }} |
{{!}} {{{date-of-death}}}
+
! Date of death:
 +
{{!}} {{{date-of-death}}} }}
 
{{!}}-  }}
 
{{!}}-  }}
 
{{#if: {{{place-of-birth|}}} |
 
{{#if: {{{place-of-birth|}}} |
Line 31: Line 43:
 
{{!}} {{{location}}}
 
{{!}} {{{location}}}
 
{{!}}-  }}
 
{{!}}-  }}
{{#if: {{{position|}}} |
+
{{#if: {{{position|}}} |  
! {{#if:{{{position|}}}|{{{position}}}|Position}}:
 
 
! Position:  
 
! Position:  
 
{{!}} {{{position}}}
 
{{!}} {{{position}}}
 
{{!}}-  }}
 
{{!}}-  }}
 
{{#if: {{{studio|}}} |
 
{{#if: {{{studio|}}} |
! {{#if:{{{studio|}}}|{{{studio}}}|Studio}}:
 
 
! Studio:  
 
! Studio:  
 
{{!}} {{{studio}}}
 
{{!}} {{{studio}}}
Line 61: Line 71:
 
|}
 
|}
 
<noinclude>
 
<noinclude>
The following is a list of required or optional parameters for any of the cast members:
+
The following is a list of required or optional parameters for any of the staff members:
 
<pre>
 
<pre>
{{InfoBox Cast
+
{{InfoBox Staff
 
| name                =
 
| name                =
 
| image              =
 
| image              =
| gender              =
+
| gender              =   (Optional)
 
| date-of-birth      =    (Optional)
 
| date-of-birth      =    (Optional)
 
| date-of-death      =    (Optional)
 
| date-of-death      =    (Optional)
Line 77: Line 87:
 
| nicknames          =    (Optional)
 
| nicknames          =    (Optional)
 
| aliases            =    (Optional)
 
| aliases            =    (Optional)
| positions          =    (Optional: can be used to turn "Position" to plural form
 
                                      if the staff member has more than one position)
 
| studios            =    (Optional: can be used to turn "Studio" to plural form
 
                                      if the staff member has works for more than one studio)
 
 
| website            =    (Optional)
 
| website            =    (Optional)
 
| footnotes          =    (Optional: will not show the row if omitted)
 
| footnotes          =    (Optional: will not show the row if omitted)

Latest revision as of 10:42, 18 April 2025

{{{name}}}
Profile
Gender:

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

{{InfoBox Staff
| name                =
| image               =
| gender              =    (Optional)
| date-of-birth       =    (Optional)
| date-of-death       =    (Optional)
| place-of-birth      =    (Optional)
| place-of-death      =    (Optional)
| location            =    (Optional)
| position            =    (Optional: Position occupied by the staff member)
| studio              =    (Optional: Studio where the staff member works)
| years-active        =    (Optional)
| nicknames           =    (Optional)
| aliases             =    (Optional)
| website             =    (Optional)
| footnotes           =    (Optional: will not show the row if omitted)
}}