Difference between revisions of "Template:InfoBox Cast"

From Detective Conan Wiki
m (Added a "voice" parameter t ocontrol singular/plural form of "Voice of" label)
 
(6 intermediate revisions by 3 users not shown)
Line 14: Line 14:
 
! Date of birth:  
 
! Date of birth:  
 
{{!}} {{{date-of-birth}}}
 
{{!}} {{{date-of-birth}}}
 +
{{!}}-  }}
 +
{{#if: {{{date-of-death|}}} |
 +
! Date of death:
 +
{{!}} {{{date-of-death}}}
 
{{!}}-  }}
 
{{!}}-  }}
 
{{#if: {{{place-of-birth|}}} |
 
{{#if: {{{place-of-birth|}}} |
 
! Place of birth:  
 
! Place of birth:  
 
{{!}} {{{place-of-birth}}}
 
{{!}} {{{place-of-birth}}}
 +
{{!}}-  }}
 +
{{#if: {{{place-of-death|}}} |
 +
! Place of death:
 +
{{!}} {{{place-of-death}}}
 +
{{!}}-  }}
 +
{{#if: {{{location|}}} |
 +
! Location:
 +
{{!}} {{{location}}}
 
{{!}}-  }}
 
{{!}}-  }}
 
{{#if: {{{voice-of|}}} |
 
{{#if: {{{voice-of|}}} |
Line 23: Line 35:
 
{{!}} {{{voice-of}}}
 
{{!}} {{{voice-of}}}
 
{{!}}-  }}
 
{{!}}-  }}
{{#if: {{{|}}} |
+
{{#if: {{{actor-of|}}} |
 +
! Actor of:
 +
{{!}} {{{actor-of}}}
 +
{{!}}-  }}
 +
{{#if: {{{years-active|}}} |
 +
! Years active:
 +
{{!}} {{{years-active}}}
 +
{{!}}-  }}
 +
{{#if: {{{nicknames|}}} |
 
! Nicknames:  
 
! Nicknames:  
 
{{!}} {{{nicknames}}}
 
{{!}} {{{nicknames}}}
 +
{{!}}-  }}
 +
{{#if: {{{aliases|}}} |
 +
! Aliases:
 +
{{!}} {{{aliases}}}
 +
{{!}}-  }}
 +
{{#if: {{{website|}}} |
 +
! Website:
 +
{{!}} {{{website}}}
 
{{!}}-  }}
 
{{!}}-  }}
 
{{#if: {{{footnotes|}}} |
 
{{#if: {{{footnotes|}}} |
Line 38: Line 66:
 
| gender              =
 
| gender              =
 
| date-of-birth      =    (Optional)
 
| date-of-birth      =    (Optional)
 +
| date-of-death      =    (Optional)
 
| place-of-birth      =    (Optional)
 
| place-of-birth      =    (Optional)
 +
| place-of-death      =    (Optional)
 +
| location            =    (Optional)
 
| voice-of            =    (Optional: List of characters voiced by this staff member)
 
| voice-of            =    (Optional: List of characters voiced by this staff member)
 +
| actor-of            =    (Optional)
 +
| years-active        =    (Optional)
 
| nicknames          =    (Optional)
 
| nicknames          =    (Optional)
 +
| aliases            =    (Optional)
 
| voice              =    (Optional: can be used to turn "Voice of" to plural form  
 
| voice              =    (Optional: can be used to turn "Voice of" to plural form  
 
                                       if the voice actor (in this case) plays 2+ roles - e.g. voice = "Voices")
 
                                       if the voice actor (in this case) plays 2+ roles - e.g. voice = "Voices")
 +
| website            =    (Optional)
 
| footnotes          =    (Optional: will not show the row if omitted)
 
| footnotes          =    (Optional: will not show the row if omitted)
 
}}
 
}}
 
</pre>
 
</pre>
[[Category:Templates]]
+
[[Category:InfoBox templates]][[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 12:21, 18 April 2023

{{{name}}}
Profile
Gender:

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

{{InfoBox Cast
| name                =
| image               =
| gender              =
| date-of-birth       =    (Optional)
| date-of-death       =    (Optional)
| place-of-birth      =    (Optional)
| place-of-death      =    (Optional)
| location            =    (Optional)
| voice-of            =    (Optional: List of characters voiced by this staff member)
| actor-of            =    (Optional)
| years-active        =    (Optional)
| nicknames           =    (Optional)
| aliases             =    (Optional)
| voice               =    (Optional: can be used to turn "Voice of" to plural form 
                                      if the voice actor (in this case) plays 2+ roles - e.g. voice = "Voices")
| website             =    (Optional)
| footnotes           =    (Optional: will not show the row if omitted)
}}