Difference between revisions of "Template:Infobox person"

From Powerbase
Jump to navigation Jump to search
Line 1: Line 1:
−
<includeonly>
 
 
{| 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%;"
 
{| 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%;"
 
|-
 
|-
−
| 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:#B0C4DE;" | '''Name Here'''
 
|-
 
|-
−
{{#if:{{{image|}}}|
+
| colspan="2" style="text-align:center;" | [[File:example.jpg|250px]]
 
|-
 
|-
−
| colspan="2" style="text-align:center;" | [[File:{{{image}}}|{{{image_size|250px}}}|alt={{{alt|}}}]]
+
| colspan="2" style="text-align:center; font-size:smaller;" | Caption here
−
{{#if:{{{caption|}}}|
 
−
|-
 
−
| colspan="2" style="text-align:center; font-size:smaller;" | {{{caption}}}
 
−
}}
 
−
}}
 
 
|-
 
|-
 
! style="text-align:right; vertical-align:top; padding-right:0.5em;" | Born
 
! style="text-align:right; vertical-align:top; padding-right:0.5em;" | Born
−
| {{{birth_date|}}} {{{birth_place|}}}
+
| Date and place
 
|-
 
|-
 
! style="text-align:right; vertical-align:top; padding-right:0.5em;" | Died
 
! style="text-align:right; vertical-align:top; padding-right:0.5em;" | Died
−
| {{{death_date|}}} {{{death_place|}}}
+
| Date and place
 
|-
 
|-
 
! style="text-align:right; vertical-align:top; padding-right:0.5em;" | Nationality
 
! 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
 
! style="text-align:right; vertical-align:top; padding-right:0.5em;" | Residence
−
| {{{residence|}}}
+
|  
 
|-
 
|-
 
! style="text-align:right; vertical-align:top; padding-right:0.5em;" | Occupation
 
! style="text-align:right; vertical-align:top; padding-right:0.5em;" | Occupation
−
| {{{occupation|}}}
+
|  
 
|-
 
|-
 
! style="text-align:right; vertical-align:top; padding-right:0.5em;" | Known for
 
! style="text-align:right; vertical-align:top; padding-right:0.5em;" | Known for
−
| {{{known_for|}}}
+
|  
 
|-
 
|-
 
! style="text-align:right; vertical-align:top; padding-right:0.5em;" | Parents
 
! style="text-align:right; vertical-align:top; padding-right:0.5em;" | Parents
−
| {{{parents|}}}
+
|  
 
|-
 
|-
 
! style="text-align:right; vertical-align:top; padding-right:0.5em;" | Spouse(s)
 
! style="text-align:right; vertical-align:top; padding-right:0.5em;" | Spouse(s)
−
| {{{spouse|}}}
+
|  
 
|-
 
|-
 
! style="text-align:right; vertical-align:top; padding-right:0.5em;" | Children
 
! 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)
 
! 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
 
! style="text-align:right; vertical-align:top; padding-right:0.5em;" | Website
−
| {{{website|}}}
+
|  
 
|}
 
|}
−
</includeonly>
 
−
<noinclude>
 
−
This is a simple {{tl|Infobox person}} template used on Powerbase.info for biographical articles.
 
−
 
−
== Usage ==
 
−
<pre>
 
−
{{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      =
 
−
}}
 
−
</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]]
 
−
</noinclude>
 

Revision as of 06:32, 6 May 2026

Name Here
250px
Caption here
Born Date and place
Died Date and place
Nationality
Residence
Occupation
Known for
Parents
Spouse(s)
Children
Sibling(s)
Website