Template:InfoboxPerson: Difference between revisions
From koreapedia
Created page with "{{#invoke:Infobox|build | title = {{{name|{{PAGENAME}}}}} | image = {{{image|}}} | image_size = {{{image_size|280px}}} | caption = {{{caption|}}} | label1 = Born | data1 = {{#if:{{{birth_date|}}}|{{{birth_date}}}}}{{#if:{{{birth_place|}}}|{{#if:{{{birth_date|}}}|, }}{{{birth_place}}}}} | label2 = Nationality | data2 = {{{nationality|}}} | label3 = Occupation | data3 = {{{occupation|}}} | label4 = Known for | data4 = {{{known_for|}}} | l..." |
No edit summary |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{#invoke:Infobox| | {{#invoke:Infobox|smart | ||
| | | order = Born|Nationality|Occupation|Known for|Website|Alma mater|Awards|Years active | ||
| Born = birth_place | |||
| Nationality = nationality | |||
| Occupation = occupation | |||
| Known for = known_for | |||
| | | Website = website | ||
| Alma mater = alma_mater | |||
| Awards = awards | |||
| | | Years active = years_active | ||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
}} | }} | ||
<noinclude> | <noinclude> | ||
| Line 33: | Line 14: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Infobox for a person, powered by Module:Infobox.", | |||
"params": { | |||
"name": { | |||
"label": "Name", | |||
"type": "string" | |||
}, | |||
"image": { | |||
"label": "Image filename", | |||
"type": "string" | |||
}, | |||
"image_size": { | |||
"label": "Image size", | |||
"type": "string", | |||
"default": "280px" | |||
}, | |||
"caption": { | |||
"label": "Image caption", | |||
"type": "string" | |||
}, | |||
"birth_date": { | |||
"label": "Birth date", | |||
"type": "string" | |||
}, | |||
"birth_place": { | |||
"label": "Birth place", | |||
"type": "string" | |||
}, | |||
"nationality": { | |||
"label": "Nationality", | |||
"type": "string" | |||
}, | |||
"occupation": { | |||
"label": "Occupation", | |||
"type": "string" | |||
}, | |||
"known_for": { | |||
"label": "Known for", | |||
"type": "string" | |||
}, | |||
"website": { | |||
"label": "Website", | |||
"type": "string" | |||
}, | |||
"alma_mater": { | |||
"label": "Alma mater", | |||
"type": "string" | |||
}, | |||
"awards": { | |||
"label": "Awards", | |||
"type": "string" | |||
}, | |||
"years_active": { | |||
"label": "Years active", | |||
"type": "string" | |||
} | |||
} | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 04:55, 11 October 2025
| InfoboxPerson |
|---|
TemplateData
Infobox for a person, powered by Module:Infobox.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | no description | String | optional |
| Image filename | image | no description | String | optional |
| Image size | image_size | no description
| String | optional |
| Image caption | caption | no description | String | optional |
| Birth date | birth_date | no description | String | optional |
| Birth place | birth_place | no description | String | optional |
| Nationality | nationality | no description | String | optional |
| Occupation | occupation | no description | String | optional |
| Known for | known_for | no description | String | optional |
| Website | website | no description | String | optional |
| Alma mater | alma_mater | no description | String | optional |
| Awards | awards | no description | String | optional |
| Years active | years_active | no description | String | optional |
