Jump to content

Template:InfoBox Staff: Difference between revisions

From Detective Conan Wiki
Implemented new Template:InfoBox; added ref parameters for date of birth/death
Eyacorkett (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{InfoBox|header-color=#2e51a2|main=
{{InfoBox|header-color=#2E51A2|main=
{{InfoBox/MainHeader|{{{name}}}}}
{{InfoBox/MainHeader|{{{name}}}}}
{{InfoBox/Image|{{{image|}}}}}
{{InfoBox/Image|{{{image|}}}}}
{{InfoBox/Section|Profile|content=
{{InfoBox/Section|Profile|content={{
{{InfoBox/LabeledRow|Gender:|{{{gender|}}}|force-appear|border-top=0}}{{
InfoBox/LabeledRow|Gender|{{{gender|}}}|force-appear}}{{
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 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>''}}}}}}{{
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}}{{
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>''}}}}{{
InfoBox/LabeledRow|Place of birth:|{{{place-of-birth|}}}|border-top=0}}{{
InfoBox/LabeledRow|Place of birth|{{{place-of-birth|}}}}}{{
InfoBox/LabeledRow|Place of death:|{{{place-of-death|}}}|border-top=0}}{{
InfoBox/LabeledRow|Place of death|{{{place-of-death|}}}}}{{
InfoBox/LabeledRow|Location:|{{{location|}}}|border-top=0}}{{
InfoBox/LabeledRow|Location|{{{location|}}}}}{{
InfoBox/LabeledRow|Position:|{{{position|}}}|border-top=0}}{{
InfoBox/LabeledRow|Position|{{{position|}}}}}{{
InfoBox/LabeledRow|Studio:|{{{studio|}}}|border-top=0}}{{
InfoBox/LabeledRow|Studio|{{{studio|}}}}}{{
InfoBox/LabeledRow|Years active:|{{{years-active|}}}|border-top=0}}{{
InfoBox/LabeledRow|Years active|{{{years-active|}}}}}{{
InfoBox/LabeledRow|Nicknames:|{{{nicknames|}}}|border-top=0}}{{
InfoBox/LabeledRow|Nicknames|{{{nicknames|}}}}}{{
InfoBox/LabeledRow|Alias:|{{{aliases|}}}|border-top=0}}{{
InfoBox/LabeledRow|Alias|{{{aliases|}}}}}{{
InfoBox/LabeledRow|Website:|{{{website|}}}|border-top=0}}
InfoBox/LabeledRow|Website|{{{website|}}}}}
}} <!-- End of Profile section
}}
-->
{{InfoBox/Item|{{{footnotes|}}}}}
{{InfoBox/Item|{{#if: {{{footnotes|}}} |<span style="font-size: smaller;">{{{footnotes}}}</span>}}}}
}}<noinclude>
}} <!-- End of INFOBOX -->
<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:
<pre>
<pre>
{{InfoBox Staff
{{InfoBox Staff
Line 42: Line 41:
}}
}}
</pre>
</pre>
[[Category:InfoBox templates]][[Category:Templates]]
[[Category:InfoBox templates]][[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 16:14, 30 July 2026

{{{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)
}}