Template:Biobox: Difference between revisions

5,008 bytes added ,  8 April 2023
no edit summary
[checked revision][checked revision]
No edit summary
No edit summary
{{!}}- }}
|-
|<!-- {{#if:{{{birth namedate|}}}|{{{birth nameday|}}}<br>{{{birth month|}}} -->{{#if:{birth year|}}}{{death{birth dateref|}}}{{{death monthdate|}}}{{{death day|}}}{{{death yearmonth|}}}{{{death locationyear|}}}|
{{#if:{{{birth month|}}}
<!-- month exists -->
|{{#if:{{{birth day|}}}|
<!-- month and day exist -->
! style="width:40%; padding-left:0.1em;" {{!}} Born:
{{!}} {{#if:{{{birth year|}}}
|{{#if:{{{death date|}}}{{{death month|}}}{{{death day|}}}{{{death year|}}}{{{death location|}}}
<!-- full birth date available -->
|<!-- {{#if:{{{birth name|}}}|{{{birth name}}}<br>}} -->{{#if:{{{death date|}}}{{{death month|}}}{{{death day|}}}{{{death year|}}}{{{death location|}}}
|{{Birth date|{{{birth year}}}|{{{birth month}}}|{{{birth day}}}|type={{{type}}}}}{{#if:{{{birth ref|}}}|{{{birth ref}}}}}
|{{Birth date and age|{{{birth year}}}|{{{birth month}}}|{{{birth day}}}|type={{{type}}}}}{{#if:{{{birth ref|}}}|{{{birth ref}}}}}
}}
|<!-- {{#if:{{{birth name|}}}|{{{birth name}}}<br>}} -->[[:Category:{{MONTHNAME|{{{birth month}}}}} {{#expr:{{{birth day}}}}} birthdays|{{MONTHNAME|{{{birth month}}}}} {{#expr:{{{birth day}}}}}]]{{#if:{{{birth ref|}}}|{{{birth ref}}}}}{{c0|Birth year needed|type={{{type}}}}}{{c0|{{MONTHNAME|{{{birth month}}}}} {{#expr:{{{birth day}}}}} birthdays|type={{{type}}}}}
<!-- only month and day exist -->
|<!-- {{#if:{{{birth name|}}}|{{{birth name}}}<br>}} -->[[:Category:{{MONTHNAME|{{{birth month}}}}} {{#expr:{{{birth day}}}}} birthdays|{{MONTHNAME|{{{birth month}}}}} {{#expr:{{{birth day}}}}}]]{{#if:{{{birth ref|}}}|{{{birth ref}}}}}{{c0|Birth year needed|type={{{type}}}}}{{c0|{{MONTHNAME|{{{birth month}}}}} {{#expr:{{{birth day}}}}} birthdays|type={{{type}}}}}
{{!}}- }}
<!-- only month exists -->
|{{#if:{{{birth year|}}}|
<!-- month and year exist -->
! style="width:40%; padding-left:0.1em;" {{!}} Born:
{{!}} <!-- {{#if:{{{birth name|}}}|{{{birth name}}}<br>}} -->{{MONTHNAME|{{{birth month}}}}} [[:Category:{{{birth year}}} births|{{{birth year}}}]]{{#if:{{{birth ref|}}}|{{{birth ref}}}}}
{{c0|{{{birth year}}} births|type={{{type}}}}}
|{{c0|Birth year needed|type={{{type}}}}}
{{!}}- }}
|
<!-- only birth year (and checking birth date for downward compatibility with old biobox) -->
{{#if:{{{birth year|}}}|
<!-- birth year exists -->
! style="width:40%; padding-left:0.1em;" {{!}} Born:
{{!}} <!-- {{#if:{{{birth name|}}}|{{{birth name}}}<br>}} -->{{#if:{{{birth date|}}}|{{{birth date}}},&nbsp;}}[[:Category:{{{birth year}}} births|{{{birth year}}}]]{{#if:{{{birth ref|}}}|{{{birth ref}}}}}
{{c0|{{{birth year}}} births|type={{{type}}}
{{!}}- }}
<!-- no birth year -->
|{{#if:{{{birth date|}}}|
! style="width:40%; padding-left:0.1em;" {{!}} Born:
{{!}} <!-- {{#if:{{{birth name|}}}|{{{birth name}}}<br>}} -->{{{birth date}}}{{#if:{{{birth ref|}}}|{{{birth ref}}}}}
}}{{c0|Birth year needed|type={{{type}}}}}
}} }}|
{{#if: {{#invoke:PBD|property|P9}} |
{{!}}- }}
{{#if:{{#invoke:GetBirthDate|property|P9|month}}|
{{#if:{{#invoke:GetBirthDate|property|P9|day}}|
! style="width:40%; padding-left:0.1em;" {{!}} Born:
{{!}} {{#if:{{#invoke:GetBirthDate|property|P9|year}}
|{{#if:{{#invoke:PBD|property|P247}}{{#invoke:GetBirthDate|property|P247|month}}{{#invoke:GetBirthDate|property|P247|day}}{{#invoke:GetBirthDate|property|P247|year}}{{#invoke:GetBirthDate|property|P23}}
|{{Birth date|{{#invoke:GetBirthDate|property|P9|year}}|{{#invoke:GetBirthDate|property|P9|month}}|{{#invoke:GetBirthDate|property|P9|day}}|type={{{type}}}}}{{#if:{{{birth ref|}}}|{{{birth ref}}}}}
|{{Birth date and age|{{#invoke:GetBirthDate|property|P9|year}}|{{#invoke:GetBirthDate|property|P9|month}}|{{#invoke:GetBirthDate|property|P9|day}}|type={{{type}}}}}{{#if:{{{birth ref|}}}|{{{birth ref}}}}}
}}
|[[:Category:{{MONTHNAME|{{#invoke:GetBirthDate|property|P9|month}}}} {{#expr:{{#invoke:GetBirthDate|property|P9|day}}}} birthdays|{{MONTHNAME|{{#invoke:GetBirthDate|property|P9|month}}}} {{#expr:{{#invoke:GetBirthDate|property|P9|day}}}}]]{{#if:{{{birth ref|}}}|{{{birth ref}}}}}{{c0|Birth year needed|type={{{type}}}}}{{c0|{{MONTHNAME|{{#invoke:GetBirthDate|property|P9|month}}}} {{#expr:{{#invoke:GetBirthDate|property|P9|day}}}} birthdays|type={{{type}}}}}
{{!}}- }}
|{{#if:{{#invoke:GetBirthDate|property|P9|year}}|
! style="width:40%; padding-left:0.1em;" {{!}} Born:
{{!}} {{MONTHNAME|{{#invoke:GetBirthDate|property|P9|month}}}} [[:Category:{{#invoke:GetBirthDate|property|P9|year}} births|{{#invoke:GetBirthDate|property|P9|year}}]]{{#if:{{{birth ref|}}}|{{{birth ref}}}}}
{{c0|{{#invoke:GetBirthDate|property|P9|year}} births|type={{{type}}}}}
|{{c0|Birth year needed|type={{{type}}}}}
}}
{{!}}- }}
|
{{#if:{{#invoke:GetBirthDate|property|P9|year}}|
! style="width:40%; padding-left:0.1em;" {{!}} Born:
{{!}} [[:Category:{{#invoke:GetBirthDate|property|P9|year}} births|{{#invoke:GetBirthDate|property|P9|year}}]]{{#if:{{{birth ref|}}}|{{{birth ref}}}}}
{{c0|{{#invoke:GetBirthDate|property|P9|year}} births|type={{{type}}}
{{!}}- }}
|{{#if:{{#invoke:GetBirthDate|property|P9|day}}{{#invoke:GetBirthDate|property|P9|month|name}}|
! style="width:40%; padding-left:0.1em;" {{!}} Born:
{{!}} {{#invoke:GetBirthDate|property|P9|day}} {{#invoke:GetBirthDate|property|P9|month|name}}{{#if:{{{birth ref|}}}|{{{birth ref}}}}}
}}{{c0|Birth year needed|type={{{type}}}}}
}} }}
{{!}}- }} }}
|-
{{#if:{{{place of birth|}}}|
{{!}}- }}
|-
{{#if:{{{death day|}}}{{{death month|}}}{{{death year|}}}{{{death date|}}}{{{death ref|}}}{{{birth day|}}}{{{birth month|}}}{{{birth year|}}}{{{birth date|}}}|
{{#if:{{{death month|}}}
<!-- month exists -->
|{{#if:{{{death day|}}}|
<!-- month and day exist -->
! style="width:40%; padding-left:0.1em;" {{!}} Died:
{{!}} {{#if:{{{death year|}}}
<!-- 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]]}}
}}{{#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 other|[[Category:Dead porn stars]]}}
}}
<!-- only month exists -->
|{{#if:{{{death year|}}}|
<!-- month and year exist -->
! style="width:40%; padding-left:0.1em;" {{!}} Died:
{{!}} {{MONTHNAME|{{{death month}}}}} [[:Category:{{{death year}}} deaths|{{{death year}}}]]{{#if:{{{death ref|}}}|{{{death ref}}}}}
}}
|
<!-- only death year (and checking death date for downward compatibility with old biobox) -->
{{#if:{{{death year|}}}|
<!-- death year exists -->
! 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 other|[[Category:Dead porn stars]]}}
<!-- 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: {{#invoke:PBD|property|P247}} |
{{#if:{{#invoke:GetBirthDate|property|P247|month}}
|{{#if:{{#invoke:GetBirthDate|property|P247|day}}|
! style="width:40%; padding-left:0.1em;" {{!}} Died:
{{!}} {{#if:{{#invoke:GetBirthDate|property|P247|year}}
|{{#if:{{#invoke:GetBirthDate|property|P9|day}}|{{#if:{{#invoke:GetBirthDate|property|P9|month}}|{{#if:{{#invoke:GetBirthDate|property|P9|year}}
|{{Death date and age|{{#invoke:GetBirthDate|property|P247|year}}|{{#invoke:GetBirthDate|property|P247|month}}|{{#invoke:GetBirthDate|property|P247|day}}|{{#invoke:GetBirthDate|property|P9|year}}|{{#invoke:GetBirthDate|property|P9|month}}|{{#invoke:GetBirthDate|property|P9|day}}|type={{{type}}}}}{{main other|[[Category:Dead porn stars]]}}
|{{Death date|{{#invoke:GetBirthDate|property|P247|year}}|{{#invoke:GetBirthDate|property|P247|month}}|{{#invoke:GetBirthDate|property|P247|day}}|type={{{type}}}}}{{main other|[[Category:Dead porn stars]]}}
}}
|{{Death date|{{#invoke:GetBirthDate|property|P247|year}}|{{#invoke:GetBirthDate|property|P247|month}}|{{#invoke:GetBirthDate|property|P247|day}}|type={{{type}}}}}{{main other|[[Category:Dead porn stars]]}}
}}
|{{Death date|{{#invoke:GetBirthDate|property|P247|year}}|{{#invoke:GetBirthDate|property|P247|month}}|{{#invoke:GetBirthDate|property|P9|day}}|type={{{type}}}}}{{main other|[[Category:Dead porn stars]]}}
}}{{#if:{{{death ref|}}}|{{{death ref}}}}}
|[[:Category:{{MONTHNAME|{{#invoke:GetBirthDate|property|P247|month}}}} {{#expr:{{#invoke:GetBirthDate|property|P9|day}}}} deaths|{{MONTHNAME|{{#invoke:GetBirthDate|property|P247|month}}}} {{#expr:{{#invoke:GetBirthDate|property|P9|day}}}}]]{{#if:{{{death ref|}}}|{{{death ref}}}}}</tr>{{c0|{{MONTHNAME|{{#invoke:GetBirthDate|property|P247|month}}}} {{#expr:{{#invoke:GetBirthDate|property|P9|day}}}} deaths|type={{{type}}}}}{{main other|[[Category:Dead porn stars]]}}
}}
|{{#if:{{#invoke:GetBirthDate|property|P247|year}}|
! style="width:40%; padding-left:0.1em;" {{!}} Died:
{{!}} {{MONTHNAME|{{#invoke:GetBirthDate|property|P247|month}}}} [[:Category:{{#invoke:GetBirthDate|property|P247|year}} deaths|{{#invoke:GetBirthDate|property|P247|year}}]]{{#if:{{{death ref|}}}|{{{death ref}}}}}
{{c0|{{#invoke:GetBirthDate|property|P247|year}} deaths|type={{{type}}}}}{{main other|[[Category:Dead porn stars]]}}
}}
}}
|
{{#if:{{#invoke:GetBirthDate|property|P247|year}}|
! style="width:40%; padding-left:0.1em;" {{!}} Died:
{{!}} [[:Category:{{#invoke:GetBirthDate|property|P247|year}} deaths|{{#invoke:GetBirthDate|property|P247|year}}]]{{#if:{{{death ref|}}}|{{{death ref}}}}}
{{c0|{{#invoke:GetBirthDate|property|P247|year}} deaths|type={{{type}}}}}{{main other|[[Category:Dead porn stars]]}}
|{{#if:{{#invoke:GetBirthDate|property|P247|day}}{{#invoke:GetBirthDate|property|P247|month|name}}|
! style="width:40%; padding-left:0.1em;" {{!}} Died:
{{!}} {{#invoke:GetBirthDate|property|P247|day}} {{#invoke:GetBirthDate|property|P247|month|name}}{{#if:{{{death ref|}}}|{{{death ref}}}}}{{main other|[[Category:Dead porn stars]]}}
}}
}}
}}
}} }}
|-
{{#if:{{{death location|}}}|