Template:Biobox: Difference between revisions

246 bytes removed ,  24 June 2022
Undo revision 2153 by PeaceDeadC (talk)
[checked revision][checked revision]
No edit summary
Tag: Reverted
(Undo revision 2153 by PeaceDeadC (talk))
Tag: Undo
<!-- 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|Dead porn stars}}
|{{Death date|{{{death year}}}|{{{death month}}}|{{{death day}}}|type={{{type}}}}}{{main other|Dead porn stars}}
}}
|{{Death date|{{{death year}}}|{{{death month}}}|{{{death day}}}|type={{{type}}}}}{{main other|Dead porn stars}}
}}
|{{Death date|{{{death year}}}|{{{death month}}}|{{{death day}}}|type={{{type}}}}}{{main other|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}}}}}{{main otherc0|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}}}}}{{main otherc0|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}}}}}{{main otherc0|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|Dead porn stars}}
}}
}}
{{#if:{{{death location|}}}|
! style="width:40%; padding-left:0.1em;" {{!}} Place of death:
{{!}} {{{death location}}}{{main other|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|Dead porn stars}} }}
{{!}}- }}
|-
{{#if:{{{cause of death|}}}|
! style="width:40%; padding-left:0.1em;" {{!}} Cause of death:
{{!}} {{{cause of death}}}{{main other|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|Dead porn stars}} }}
{{!}}- }}
|-