Template:Infobox person: Difference between revisions
Template page
More actions
No edit summary |
|||
| Line 1: | Line 1: | ||
<includeonly> | |||
<div style="float:right; clear:right; margin:0.5em 0 1em 1em; width:320px; border:1px solid rgba(255,255,255,0.15); border-radius:12px; background:rgba(255,255,255,0.02); padding:0.8em;"> | |||
<div style="text-align:center; font-size:120%; font-weight:700; margin-bottom:0.6em;">{{{name|{{PAGENAME}}}}}</div> | |||
{{#if:{{{image|}}}| | |||
<div style="text-align:center; margin-bottom:0.8em;"> | |||
[[File:{{{image}}}|{{{image_size|220px}}}|alt={{{image_alt|Portrait}}}]] | |||
{{#if:{{{image_caption|}}}|<div style="font-size:90%; opacity:0.85; margin-top:0.3em;">{{{image_caption}}}</div>}} | |||
</div> | |||
}} | |||
{| style="width:100%; border-collapse:collapse; font-size:95%;" | |||
{{#if:{{{birth_name|}}}| | |||
|- | |||
| style="padding:0.25em 0; opacity:0.85; width:45%;" | '''Birth name''' | |||
| style="padding:0.25em 0;" | {{{birth_name}}} | |||
}} | |||
{{#if:{{{other_names|}}}| | |||
|- | |||
| style="padding:0.25em 0; opacity:0.85;" | '''Other names''' | |||
| style="padding:0.25em 0;" | {{{other_names}}} | |||
}} | |||
{{#if:{{{pronouns|}}}| | |||
|- | |||
| style="padding:0.25em 0; opacity:0.85;" | '''Pronouns''' | |||
| style="padding:0.25em 0;" | {{{pronouns}}} | |||
}} | |||
{{#if:{{{born|}}}| | |||
|- | |||
| style="padding:0.25em 0; opacity:0.85;" | '''Born''' | |||
| style="padding:0.25em 0;" | {{{born}}} | |||
}} | |||
{{#if:{{{died|}}}| | |||
|- | |||
| style="padding:0.25em 0; opacity:0.85;" | '''Died''' | |||
| style="padding:0.25em 0;" | {{{died}}} | |||
}} | |||
{{#if:{{{nationality|}}}| | |||
|- | |||
| style="padding:0.25em 0; opacity:0.85;" | '''Nationality''' | |||
| style="padding:0.25em 0;" | {{{nationality}}} | |||
}} | |||
{{#if:{{{citizenship|}}}| | |||
|- | |||
| style="padding:0.25em 0; opacity:0.85;" | '''Citizenship''' | |||
| style="padding:0.25em 0;" | {{{citizenship}}} | |||
}} | |||
{{#if:{{{residence|}}}| | |||
|- | |||
| style="padding:0.25em 0; opacity:0.85;" | '''Residence''' | |||
| style="padding:0.25em 0;" | {{{residence}}} | |||
}} | |||
{{#if:{{{education|}}}| | |||
|- | |||
| style="padding:0.25em 0; opacity:0.85;" | '''Education''' | |||
| style="padding:0.25em 0;" | {{{education}}} | |||
}} | |||
{{#if:{{{alma_mater|}}}| | |||
|- | |||
| style="padding:0.25em 0; opacity:0.85;" | '''Alma mater''' | |||
| style="padding:0.25em 0;" | {{{alma_mater}}} | |||
}} | |||
{{#if:{{{occupation|}}}| | |||
|- | |||
| style="padding:0.25em 0; opacity:0.85;" | '''Occupation''' | |||
| style="padding:0.25em 0;" | {{{occupation}}} | |||
}} | |||
{{#if:{{{years_active|}}}| | |||
|- | |||
| style="padding:0.25em 0; opacity:0.85;" | '''Years active''' | |||
| style="padding:0.25em 0;" | {{{years_active}}} | |||
}} | |||
{{#if:{{{known_for|}}}| | |||
|- | |||
| style="padding:0.25em 0; opacity:0.85;" | '''Known for''' | |||
| style="padding:0.25em 0;" | {{{known_for}}} | |||
}} | |||
{{#if:{{{notable_works|}}}| | |||
|- | |||
| style="padding:0.25em 0; opacity:0.85;" | '''Notable works''' | |||
| style="padding:0.25em 0;" | {{{notable_works}}} | |||
}} | |||
{{#if:{{{genre|}}}| | |||
|- | |||
| style="padding:0.25em 0; opacity:0.85;" | '''Genre''' | |||
| style="padding:0.25em 0;" | {{{genre}}} | |||
}} | |||
{{#if:{{{affiliations|}}}| | |||
|- | |||
| style="padding:0.25em 0; opacity:0.85;" | '''Affiliations''' | |||
| style="padding:0.25em 0;" | {{{affiliations}}} | |||
}} | |||
{{#if:{{{website|}}}| | |||
|- | |||
| style="padding:0.25em 0; opacity:0.85;" | '''Website''' | |||
| style="padding:0.25em 0;" | {{{website}}} | |||
}} | |||
{{#if:{{{notes|}}}| | |||
|- | |||
| style="padding:0.25em 0; opacity:0.85;" | '''Notes''' | |||
| style="padding:0.25em 0;" | {{{notes}}} | |||
}} | |||
|} | |||
</div> | |||
</includeonly><noinclude> | |||
{{Documentation}} | |||
<includeonly> | <includeonly> | ||
<div style="float:right; clear:right; margin:0.5em 0 1em 1em; width:320px; border:1px solid rgba(255,255,255,0.15); border-radius:12px; background:rgba(255,255,255,0.02); padding:0.8em;"> | <div style="float:right; clear:right; margin:0.5em 0 1em 1em; width:320px; border:1px solid rgba(255,255,255,0.15); border-radius:12px; background:rgba(255,255,255,0.02); padding:0.8em;"> | ||
| Line 157: | Line 283: | ||
}} | }} | ||
</pre> | </pre> | ||
== Notes == | |||
* Empty fields are hidden automatically (requires the ParserFunctions extension). | |||
* For privacy, you can omit ''born'', ''birth_name'', ''residence'', etc. | |||
</noinclude> | |||
== Notes == | == Notes == | ||
Revision as of 23:36, 30 January 2026
Usage
{{Infobox person
| name =
| image =
| image_size = 220px
| image_alt =
| image_caption =
| birth_name =
| other_names =
| pronouns =
| born =
| died =
| nationality =
| citizenship =
| residence =
| education =
| alma_mater =
| occupation =
| years_active =
| known_for =
| notable_works =
| genre =
| affiliations =
| website =
| notes =
}}
Notes
- Empty fields are hidden automatically (requires the ParserFunctions extension).
- For privacy, you can omit born, birth_name, residence, etc.
Notes
- Empty fields are hidden automatically (requires the ParserFunctions extension).
- For privacy, you can omit born, birth_name, residence, etc.