Template:Person: Difference between revisions
(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
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | Name | no description | Unknown | optional |
Birthplace | Birthplace | no description | String | optional |
Birthday | Birthday | no description | Date | optional |
Occupation | Occupation | no description | String | optional |
Death | Death | no description | Unknown | optional |