Template:Person: Difference between revisions

From Amateur Theatre Wiki
(Create Infobx)
 
(add to template)
 
(6 intermediate revisions by the same user not shown)
Line 3: Line 3:
!colspan="2"| {{#if: {{{Name|}}}|{{{Name}}}|{{PAGENAME}} }}
!colspan="2"| {{#if: {{{Name|}}}|{{{Name}}}|{{PAGENAME}} }}
|-  
|-  
{{#if:{{{Birthplace|}}} |
{{!}} Birthplace {{!}}{{!}} {{{Birthplace}}}
{{!}}-
}}
{{#if:{{{Birthday|}}} |
{{#if:{{{Birthday|}}} |
{{!}} Birthday {{!}}{{!}} {{{Birthday}}}
{{!}} Birthday {{!}}{{!}} {{{Birthday}}}
{{!}}-
}}
{{#if:{{{Death|}}} |
{{!}} Death {{!}}{{!}} {{{Death}}}
{{!}}-
}}
{{#if:{{{Occupation|}}} |
{{!}} Occupation {{!}}{{!}} {{{Occupation}}}
{{!}}-
}}
}}
|}</onlyinclude>
|}</onlyinclude>
<noinclude>
<templatedata>
{
"params": {
"Name": {},
"Birthplace": {
"type": "string"
},
"Birthday": {
"type": "date"
},
"Occupation": {
"type": "string"
},
"Death": {}
},
"description": "Infobox for a person",
"format": "inline"
}
</templatedata>
</noinclude>

Latest revision as of 15:52, 11 April 2023

Person

Infobox for a person

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
NameName

no description

Unknownoptional
BirthplaceBirthplace

no description

Stringoptional
BirthdayBirthday

no description

Dateoptional
OccupationOccupation

no description

Stringoptional
DeathDeath

no description

Unknownoptional