Difference between revisions of "Template:InfoBox Staff"

From Detective Conan Wiki
(Undo revision 381454 by BOBO (talk))
(Tag: Undo)
Line 13: Line 13:
 
{{#if: {{{date-of-birth|}}} |
 
{{#if: {{{date-of-birth|}}} |
 
! 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>''
+
{{!}} {{{date-of-birth}}} ''<small>{{#if: {{{date-of-death|}}} | | ({{#expr:floor(({{#time:U}} - {{#time:U|{{#replace:{{{date-of-birth}}}|<ref.*?>||}}}}) / 31556926)}}) }}</small>''
 
{{!}}-  }}
 
{{!}}-  }}
 
{{#if: {{{date-of-death|}}} |
 
{{#if: {{{date-of-death|}}} |

Revision as of 23:22, 6 March 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)
}}