Template:Biobox: Difference between revisions

402 bytes added ,  24 June 2022
no edit summary
[checked revision][checked revision]
(Undo revision 2153 by PeaceDeadC (talk))
Tag: Undo
No edit summary
<!-- full death date available -->
|{{#if:{{{birth day|}}}|{{#if:{{{birth month|}}}|{{#if:{{{birth year|}}}
|{{Death date and age|{{{death year}}}|{{{death month}}}|{{{death day}}}|{{{birth year}}}|{{{birth month}}}|{{{birth day}}}|type={{{type}}}}}{{main other|[[Category:Dead porn stars]]}}
|{{Death date|{{{death year}}}|{{{death month}}}|{{{death day}}}|type={{{type}}}}}{{main other|[[Category:Dead porn stars]]}}
}}
|{{Death date|{{{death year}}}|{{{death month}}}|{{{death day}}}|type={{{type}}}}}{{main other|[[Category:Dead porn stars]]}}
}}
|{{Death date|{{{death year}}}|{{{death month}}}|{{{death day}}}|type={{{type}}}}}{{main other|[[Category:Dead porn stars]]}}
}}{{#if:{{{death ref|}}}|{{{death ref}}}}}
<!-- only month and day exist -->
|[[:Category:{{MONTHNAME|{{{death month}}}}} {{#expr:{{{death day}}}}} deaths|{{MONTHNAME|{{{death month}}}}} {{#expr:{{{death day}}}}}]]{{#if:{{{death ref|}}}|{{{death ref}}}}}</tr>{{c0|{{MONTHNAME|{{{death month}}}}} {{#expr:{{{death day}}}}} deaths|type={{{type}}}}}{{c0main other|[[Category:Dead porn stars|type={{{type}}}]]}}
}}
<!-- only month exists -->
! style="width:40%; padding-left:0.1em;" {{!}} Died:
{{!}} {{MONTHNAME|{{{death month}}}}} [[:Category:{{{death year}}} deaths|{{{death year}}}]]{{#if:{{{death ref|}}}|{{{death ref}}}}}
{{c0|{{{death year}}} deaths|type={{{type}}}}}{{c0main other|[[Category:Dead porn stars|type={{{type}}}]]}}
}}
}}
! style="width:40%; padding-left:0.1em;" {{!}} Died:
{{!}} {{#if:{{{death date|}}}|{{{death date}}},&nbsp;}}[[:Category:{{{death year}}} deaths|{{{death year}}}]]{{#if:{{{death ref|}}}|{{{death ref}}}}}
{{c0|{{{death year}}} deaths|type={{{type}}}}}{{c0main other|[[Category:Dead porn stars|type={{{type}}}]]}}
<!-- no birth year -->
|{{#if:{{{death date|}}}|
! style="width:40%; padding-left:0.1em;" {{!}} Died:
{{!}} {{{death date}}}{{#if:{{{death ref|}}}|{{{death ref}}}}}{{main other|[[Category:Dead porn stars]]}}
}}
}}
{{#if:{{{death location|}}}|
! style="width:40%; padding-left:0.1em;" {{!}} Place of death:
{{!}} {{{death location}}}{{main other|[[Category:Dead porn stars]]}}|
{{#if: {{#invoke:PBD|properties|multilanguage|P23}} |
! style="width:40%; padding-left:0.1em;" {{!}} Place of death:
{{!}} {{#invoke:PBD|properties|multilanguage|P23}}{{main other|[[Category:Dead porn stars]]}} }}
{{!}}- }}
|-
{{#if:{{{cause of death|}}}|
! style="width:40%; padding-left:0.1em;" {{!}} Cause of death:
{{!}} {{{cause of death}}}{{main other|[[Category:Dead porn stars]]}}|
{{#if: {{#invoke:PBD|properties|multilanguage|P423}} |
! style="width:40%; padding-left:0.1em;" {{!}} Cause of death:
{{!}} {{#invoke:PBD|properties|multilanguage|P423}}{{main other|[[Category:Dead porn stars]]}} }}
{{!}}- }}
|-