Template:Infobox person: Difference between revisions
Appearance
添加学校、人物、建筑信息框及本地化模板帮助 |
添加学校、人物、建筑信息框及本地化模板帮助 |
||
| Line 1: | Line 1: | ||
<includeonly><templatestyles src="Template:TYZX infobox/styles.css" /> | <includeonly><templatestyles src="Template:TYZX infobox/styles.css" /> | ||
{| class="tyzx-infobox" | {| class="tyzx-infobox" | ||
|- | |- | ||
! colspan="2" class="tyzx-infobox-title" | {{{name|{{PAGENAME}}}}} | ! colspan="2" class="tyzx-infobox-title" | {{{name|{{PAGENAME}}}}}{{#if:{{{image|}}}| | ||
{{#if:{{{image|}}}| | |||
{{!}}- | {{!}}- | ||
{{!}} colspan="2" class="tyzx-infobox-image" {{!}} [[File:{{{image}}}|260px|alt={{{caption|}}}]]<br />{{{caption|}}} | {{!}} colspan="2" class="tyzx-infobox-image" {{!}} [[File:{{{image}}}|260px|alt={{{caption|}}}]]<br />{{{caption|}}}}}{{#if:{{{birth_date|}}}| | ||
}} | |||
{{#if:{{{birth_date|}}}| | |||
{{!}}- | {{!}}- | ||
! Date of birth | ! Date of birth | ||
{{!}} {{{birth_date}}} | {{!}} {{{birth_date}}}}}{{#if:{{{birth_place|}}}| | ||
}} | |||
{{#if:{{{birth_place|}}}| | |||
{{!}}- | {{!}}- | ||
! Place of birth | ! Place of birth | ||
{{!}} {{{birth_place}}} | {{!}} {{{birth_place}}}}}{{#if:{{{occupation|}}}| | ||
}} | |||
{{#if:{{{occupation|}}}| | |||
{{!}}- | {{!}}- | ||
! Occupation | ! Occupation | ||
{{!}} {{{occupation}}} | {{!}} {{{occupation}}}}}{{#if:{{{known_for|}}}| | ||
}} | |||
{{#if:{{{known_for|}}}| | |||
{{!}}- | {{!}}- | ||
! Known for | ! Known for | ||
{{!}} {{{known_for}}} | {{!}} {{{known_for}}}}}{{#if:{{{nationality|}}}| | ||
}} | |||
{{#if:{{{nationality|}}}| | |||
{{!}}- | {{!}}- | ||
! Nationality | ! Nationality | ||
{{!}} {{{nationality}}} | {{!}} {{{nationality}}}}}{{#if:{{{website|}}}| | ||
}} | |||
{{#if:{{{website|}}}| | |||
{{!}}- | {{!}}- | ||
! Website | ! Website | ||
{{!}} {{{website}}} | {{!}} {{{website}}}}}{{#if:{{{sources|}}}| | ||
}} | |||
{{#if:{{{sources|}}}| | |||
{{!}}- | {{!}}- | ||
! Sources | ! Sources | ||
{{!}} {{{sources}}} | {{!}} {{{sources}}}}} | ||
}} | |||
|} | |} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Revision as of 20:48, 5 October 2026
Infobox person
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | no description | Content | suggested |
| Image | image | no description | File | suggested |
| Caption | caption | no description | Content | optional |
| Date of birth | birth_date | no description | Content | optional |
| Place of birth | birth_place | no description | Content | optional |
| Occupation | occupation | no description | Content | suggested |
| Known for | known_for | no description | Content | optional |
| Nationality | nationality | no description | Content | optional |
| Website | website | no description | URL | optional |
| Sources | sources | no description | Content | optional |