Template:Infobox person: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 13: | Line 13: | ||
line-height:1.35; | line-height:1.35; | ||
"> | "> | ||
< | <tbody> | ||
{{#if:{{{image|}}}| | <!-- Title (Wikipedia-style header row, inside the box) --> | ||
<tr> | <tr> | ||
<th colspan="2" style=" | |||
padding:0.6em 0.7em; | |||
text-align:center; | |||
font-size:120%; | |||
font-weight:700; | |||
"> | |||
{{{name|{{PAGENAME}}}}} | |||
</th> | |||
</tr> | |||
</tr> | <!-- Image + caption (must be inside tbody) --> | ||
}} | {{#if:{{{image|}}}| | ||
<tr> | |||
<td colspan="2" style="padding:0.4em 0.7em 0.7em; text-align:center;"> | |||
<div style="display:inline-block; text-align:center; max-width:100%; margin:0 auto;"> | |||
<div>[[File:{{{image}}}|{{{image_size|220px}}}|alt={{{image_alt|Portrait}}}]]</div> | |||
{{#if:{{{image_caption|}}}| | |||
<div style="margin-top:0.35em; font-size:90%; opacity:0.85; text-align:center;"> | |||
{{{image_caption}}} | |||
</div> | |||
}} | |||
</div> | |||
</td> | |||
</tr> | |||
}} | |||
<!-- Rows --> | |||
<!-- | |||
{{#if:{{{birth_name|}}}| | {{#if:{{{birth_name|}}}| | ||
<tr> | <tr> | ||
<th scope="row" style=" | <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Birth name</th> | ||
<td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{birth_name}}}</td> | |||
<td style=" | |||
</tr> | </tr> | ||
}} | }} | ||
| Line 61: | Line 53: | ||
{{#if:{{{other_names|}}}| | {{#if:{{{other_names|}}}| | ||
<tr> | <tr> | ||
<th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Other | <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Other names</th> | ||
<td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{other_names}}}</td> | <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{other_names}}}</td> | ||
</tr> | </tr> | ||
| Line 84: | Line 76: | ||
<th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Nationality</th> | <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Nationality</th> | ||
<td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{nationality}}}</td> | <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{nationality}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
| Line 112: | Line 83: | ||
<th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Occupation</th> | <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Occupation</th> | ||
<td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{occupation}}}</td> | <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{occupation}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
| Line 124: | Line 88: | ||
{{#if:{{{known_for|}}}| | {{#if:{{{known_for|}}}| | ||
<tr> | <tr> | ||
<th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Known | <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Known for</th> | ||
<td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{known_for}}}</td> | <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{known_for}}}</td> | ||
</tr> | </tr> | ||
| Line 131: | Line 95: | ||
{{#if:{{{notable_works|}}}| | {{#if:{{{notable_works|}}}| | ||
<tr> | <tr> | ||
<th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Notable | <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Notable works</th> | ||
<td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{notable_works}}}</td> | <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{notable_works}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
| Line 163: | Line 113: | ||
</tr> | </tr> | ||
}} | }} | ||
</tbody> | </tbody> | ||
</table> | </table> | ||
| Line 179: | Line 130: | ||
| born = | | born = | ||
| nationality = | | nationality = | ||
| occupation = | | occupation = | ||
| known_for = | | known_for = | ||
| notable_works = | | notable_works = | ||
| website = | | website = | ||
| notes = | | notes = | ||
Revision as of 04:11, 1 February 2026
Usage
{{Infobox person
| name =
| image =
| image_size = 220px
| image_alt =
| image_caption =
| birth_name =
| other_names =
| pronouns =
| born =
| nationality =
| occupation =
| known_for =
| notable_works =
| website =
| notes =
}}