Difference between revisions of "Template:Infobox person"

From Powerbase
Jump to navigation Jump to search
(Created page with "<includeonly> {| class="infobox vcard" style="width:22em; font-size:88%;" |- {{#if:{{{image|}}}| ! colspan="2" style="text-align:center;" | File:{{{image}}}|{{{image_size|25...")
 
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{| class="infobox vcard" style="width:22em; font-size:88%;"
+
{| class="infobox" style="width:22em; float:right; clear:right; margin:0 0 1em 1em; border:1px solid #aaa; background:#f9f9f9; text-align:left; font-size:90%;"
 
|-
 
|-
{{#if:{{{image|}}}| ! colspan="2" style="text-align:center;" | [[File:{{{image}}}|{{{image_size|250px}}}|alt={{{alt|}}}|{{{caption|}}}]] }}
+
| colspan="2" style="text-align:center; font-size:125%; font-weight:bold; background:#B0C4DE;" | {{{name|{{PAGENAME}}}}}
 
|-
 
|-
! colspan="2" style="text-align:center; font-size:125%; font-weight:bold; background-color:#B0C4DE;" | {{#if:{{{honorific_prefix|}}}|{{{honorific_prefix}}} }} {{{name|{{{1|{{PAGENAME}}}}}}}} {{#if:{{{honorific_suffix|}}}|{{{honorific_suffix}}} }}
+
{{#if:{{{image|}}}|
 
|-
 
|-
{{#if:{{{birth_name|}}}| {{!}} colspan="2" style="text-align:center;" {{!}} ''{{{birth_name}}}''
+
| colspan="2" style="text-align:center;" | [[File:{{{image}}}|{{{image_size|250px}}}|alt={{{alt|}}}]]
 +
{{#if:{{{caption|}}}|
 +
|-
 +
| colspan="2" style="text-align:center; font-size:smaller;" | {{{caption}}}
 
}}
 
}}
 +
}}
 +
|-
 +
! style="text-align:right; vertical-align:top; padding-right:0.5em;" | Born
 +
| {{{birth_date|}}} {{{birth_place|}}}
 +
|-
 +
! style="text-align:right; vertical-align:top; padding-right:0.5em;" | Died
 +
| {{{death_date|}}} {{{death_place|}}}
 +
|-
 +
! style="text-align:right; vertical-align:top; padding-right:0.5em;" | Nationality
 +
| {{{nationality|}}}
 +
|-
 +
! style="text-align:right; vertical-align:top; padding-right:0.5em;" | Residence
 +
| {{{residence|}}}
 
|-
 
|-
{{#if:{{{birth_date|}}}| ! Birth date {{!!}} {{{birth_date}}} }}
+
! style="text-align:right; vertical-align:top; padding-right:0.5em;" | Occupation
 +
| {{{occupation|}}}
 
|-
 
|-
{{#if:{{{birth_place|}}}| ! Birth place {{!!}} {{{birth_place}}} }}
+
! style="text-align:right; vertical-align:top; padding-right:0.5em;" | Known for
 +
| {{{known_for|}}}
 
|-
 
|-
{{#if:{{{occupation|}}}| ! Occupation {{!!}} {{{occupation}}} }}
+
! style="text-align:right; vertical-align:top; padding-right:0.5em;" | Parents
 +
| {{{parents|}}}
 
|-
 
|-
{{#if:{{{known_for|}}}| ! Known for {{!!}} {{{known_for}}} }}
+
! style="text-align:right; vertical-align:top; padding-right:0.5em;" | Spouse(s)
 +
| {{{spouse|}}}
 
|-
 
|-
{{#if:{{{website|}}}| ! Website {{!!}} {{{website}}} }}
+
! style="text-align:right; vertical-align:top; padding-right:0.5em;" | Children
 +
| {{{children|}}}
 +
|-
 +
! style="text-align:right; vertical-align:top; padding-right:0.5em;" | Sibling(s)
 +
| {{{siblings|}}}
 +
|-
 +
! style="text-align:right; vertical-align:top; padding-right:0.5em;" | Website
 +
| {{{website|}}}
 
|}
 
|}
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
This infobox summarizes key details for person biographies on Powerbase.
+
This is a simple {{tl|Infobox person}} template used on Powerbase.info for biographical articles.
 
 
== Parameters ==
 
* name: Full name (defaults to page title)
 
* image: Image filename
 
* image_size: Width (default 250px)
 
* caption: Image caption
 
* birth_date: e.g., {{birth date|1974|06|11}}
 
* birth_place: Location
 
* occupation: Job titles
 
* known_for: Notable roles
 
* website: URL
 
  
 
== Usage ==
 
== Usage ==
 
<pre>
 
<pre>
 
{{Infobox person
 
{{Infobox person
| name = Benjamin Wegg-Prosser
+
| name         = Lori Tanur-Hudaly
| birth_date = {{birth date|1974|06|11}}
+
| image        = Lori Hudaly.jpg    <!-- Plain filename only – no [[ ]], no |thumb, no size -->
| occupation = Consultant, political adviser
+
| alt          = Portrait of Lori Tanur-Hudaly standing outdoors
| known_for = CEO of [[Global Counsel]]
+
| caption      = Lori Tanur-Hudaly
 +
| birth_date   = October 1981
 +
| birth_place  = South Africa
 +
| nationality  = South African
 +
| residence    = London, United Kingdom
 +
| occupation   = Recruiter, activist
 +
| known_for     = Association with [[Stop the Hate UK]] and pro-Zionist activism
 +
| spouse        = Adam
 +
| children      = 3
 +
| website      =
 
}}
 
}}
 
</pre>
 
</pre>
 +
 +
All fields are optional. 
 +
'''Critical for image display:''' 
 +
Put '''only the bare filename''' (e.g. Lori Hudaly.jpg) in the |image= parameter. 
 +
Do '''not''' wrap it in [[File:...]], |thumb, |300px, or any other markup – the template already creates the correct [[File: ]] link internally. 
 +
Any extra markup in |image= will prevent the image from displaying. 
 +
The caption, if provided, will appear in a separate row below the image.
  
 
[[Category:Infobox templates]]
 
[[Category:Infobox templates]]
[[Category:Powerbase templates]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 07:21, 31 March 2026


This is a simple Template:Tl template used on Powerbase.info for biographical articles.

Usage

{{Infobox person
| name          = Lori Tanur-Hudaly
| image         = Lori Hudaly.jpg     <!-- Plain filename only – no [[ ]], no |thumb, no size -->
| alt           = Portrait of Lori Tanur-Hudaly standing outdoors
| caption       = Lori Tanur-Hudaly
| birth_date    = October 1981
| birth_place   = South Africa
| nationality   = South African
| residence     = London, United Kingdom
| occupation    = Recruiter, activist
| known_for     = Association with [[Stop the Hate UK]] and pro-Zionist activism
| spouse        = Adam
| children      = 3
| website       = 
}}

All fields are optional. Critical for image display: Put only the bare filename (e.g. Lori Hudaly.jpg) in the |image= parameter. Do not wrap it in File:..., |thumb, |300px, or any other markup – the template already creates the correct [[File: ]] link internally. Any extra markup in |image= will prevent the image from displaying. The caption, if provided, will appear in a separate row below the image.