Jump to content

Template:InfoBox Staff: Difference between revisions

From Detective Conan Wiki
BOBO (talk | contribs)
No edit summary
Implemented new Template:InfoBox; added ref parameters for date of birth/death
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" style="width: 285px; text-align: left; font-size: 90%;" cellpadding="2"
{{InfoBox|header-color=#2e51a2|main=
|-
{{InfoBox/MainHeader|{{{name}}}}}
| colspan="2" style="color: #ffffff; text-align:center; vertical-align:middle; height:28px; font-size: medium; background-color: #2e51a2;" |  '''{{{name}}}'''
{{InfoBox/Image|{{{image|}}}}}
|-
{{InfoBox/Section|Profile|content=
| class="nospacing" colspan="2" style="text-align:center; vertical-align:bottom; padding: 2px 0px 2px 0px;" |
{{InfoBox/LabeledRow|Gender:|{{{gender|}}}|force-appear|border-top=0}}{{
{{#if: {{{image|}}} | [[Image:{{{image}}}|275px]]}}
InfoBox/LabeledRow|Date of birth:|{{{date-of-birth|}}}{{{date-of-birth-ref|}}} {{#iferror: {{#time:U|{{{date-of-birth}}} }}||{{#if: {{{date-of-death|}}} || ''<small>({{Age|{{{date-of-birth}}}|{{#time: F j, Y}} }})</small>''}} }}|border-top=0}}{{
|-
InfoBox/LabeledRow|Date of death:|{{{date-of-death|}}}{{{date-of-death-ref|}}} {{#iferror: {{#time:U|{{{date-of-birth}}} }} or {{#time:U|{{{date-of-death}}} }}||''<small>({{Age|{{{date-of-birth}}}|{{{date-of-death}}} }})</small>'' }}|border-top=0}}{{
| colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #2e51a2;" | '''Profile'''
InfoBox/LabeledRow|Place of birth:|{{{place-of-birth|}}}|border-top=0}}{{
|-
InfoBox/LabeledRow|Place of death:|{{{place-of-death|}}}|border-top=0}}{{
! width="100"|Gender:
InfoBox/LabeledRow|Location:|{{{location|}}}|border-top=0}}{{
| {{{gender|}}}
InfoBox/LabeledRow|Position:|{{{position|}}}|border-top=0}}{{
|-  
InfoBox/LabeledRow|Studio:|{{{studio|}}}|border-top=0}}{{
{{#if: {{{date-of-birth|}}} |
InfoBox/LabeledRow|Years active:|{{{years-active|}}}|border-top=0}}{{
! Date of birth:  
InfoBox/LabeledRow|Nicknames:|{{{nicknames|}}}|border-top=0}}{{
{{!}} {{{date-of-birth}}}
InfoBox/LabeledRow|Alias:|{{{aliases|}}}|border-top=0}}{{
{{!}}-  }}
InfoBox/LabeledRow|Website:|{{{website|}}}|border-top=0}}
{{#if: {{{date-of-death|}}} |
}} <!-- End of Profile section
! Date of death:
-->
{{!}} {{{date-of-death}}}
{{InfoBox/Item|{{#if: {{{footnotes|}}} |<span style="font-size: smaller;">{{{footnotes}}}</span>}}}}
{{!}}- }}
}} <!-- End of INFOBOX -->
{{#if: {{{place-of-birth|}}} |
! Place of birth:
{{!}} {{{place-of-birth}}}
{{!}}-  }}
{{#if: {{{place-of-death|}}} |
! Place of death:
{{!}} {{{place-of-death}}}
{{!}}-  }}
{{#if: {{{location|}}} |
! Location:
{{!}} {{{location}}}
{{!}}- }}
{{#if: {{{position|}}} |  
! Position:
{{!}} {{{position}}}
{{!}}- }}
{{#if: {{{studio|}}} |
! Studio:
{{!}} {{{studio}}}
{{!}}- }}
{{#if: {{{years-active|}}} |
! Years active:  
{{!}} {{{years-active}}}
{{!}}- }}
{{#if: {{{nicknames|}}} |
! Nicknames:
{{!}} {{{nicknames}}}
{{!}}-  }}
{{#if: {{{aliases|}}} |
! Aliases:
{{!}} {{{aliases}}}
{{!}}-  }}
{{#if: {{{website|}}} |
! Website:
{{!}} {{{website}}}
{{!}}-  }}
{{#if: {{{footnotes|}}} |
{{!}} colspan="2" style="font-size: smaller;" {{!}} {{{footnotes|}}} }}
|}
<noinclude>
<noinclude>
The following is a list of required or optional parameters for any of the staff members:
The following is a list of required or optional parameters for any of the staff members:
Line 64: Line 25:
| name                =
| name                =
| image              =
| image              =
| gender              =
| gender              =   (Optional)
| date-of-birth      =    (Optional)
| date-of-birth      =    (Optional)
| date-of-birth-ref  =    (Optional)
| date-of-death      =    (Optional)
| date-of-death      =    (Optional)
| date-of-death-ref  =    (Optional)
| place-of-birth      =    (Optional)
| place-of-birth      =    (Optional)
| place-of-death      =    (Optional)
| place-of-death      =    (Optional)

Latest revision as of 18:36, 22 December 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-birth-ref   =    (Optional)
| date-of-death       =    (Optional)
| date-of-death-ref   =    (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)
}}