Difference between revisions of "Template:Infobox person"
Jump to navigation
Jump to search
| Line 6: | Line 6: | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
|- | |- | ||
| − | | colspan="2" style="text-align:center;" | [[File:{{{image|}}}|{{{image_size|250px | + | | colspan="2" style="text-align:center;" | [[File:{{{image|}}}|{{{image_size|250px|alt={{{alt|}}}}}}|{{{caption|}}}]] |
}} | }} | ||
|- | |- | ||
| Line 41: | Line 41: | ||
{{Infobox person | {{Infobox person | ||
| name = | | name = | ||
| − | | image = | + | | image = filename.jpg <!-- Just the filename, no [[ ]] or thumb or size here --> |
| − | | alt = | + | | alt = Alternative text for accessibility |
| − | | caption = | + | | caption = Optional caption text below the image |
| birth_date = | | birth_date = | ||
| birth_place = | | birth_place = | ||
| Line 56: | Line 56: | ||
</pre> | </pre> | ||
| − | All fields are optional. | + | All fields are optional. |
| − | + | Important: For the image to display correctly, put only the plain filename in |image= (e.g. Lori Hudaly.jpg), without [[ ]], |thumb, |300px or other parameters. The template handles the File: link, size, alt and caption internally. | |
| − | The | ||
[[Category:Infobox templates]] | [[Category:Infobox templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 16:22, 12 February 2026
This is a simple Template:Tl template used on Powerbase.info for biographical articles.
Usage
{{Infobox person
| name =
| image = filename.jpg <!-- Just the filename, no [[ ]] or thumb or size here -->
| alt = Alternative text for accessibility
| caption = Optional caption text below the image
| birth_date =
| birth_place =
| nationality =
| residence =
| occupation =
| known_for =
| spouse =
| children =
| website =
}}
All fields are optional. Important: For the image to display correctly, put only the plain filename in |image= (e.g. Lori Hudaly.jpg), without [[ ]], |thumb, |300px or other parameters. The template handles the File: link, size, alt and caption internally.