Difference between revisions of "Template:Infobox Biography/doc"

From Pensapedia, the Pensacola encyclopedia
Jump to navigation Jump to search
 
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
<div style="width:250px; background:#ddd; border:1px solid black; padding:0.5em 1em 0.5em 1em;">
 
<div style="width:250px; background:#ddd; border:1px solid black; padding:0.5em 1em 0.5em 1em;">
 
<pre>{{Infobox Biography
 
<pre>{{Infobox Biography
| subject_name  =  
+
| subject_name  =
| image_name    =  
+
| image_name    =
| image_size    =  
+
| image_size    =
| image_caption  =  
+
| image_caption  =
| date_of_birth  =  
+
| date_of_birth  =
| place_of_birth =  
+
| place_of_birth =
| date_of_death  =  
+
| date_of_death  =
| place_of_death =  
+
| place_of_death =
| occupation    =  
+
| occupation    =
| spouse        =  
+
| religion      =
 +
| spouse        =
 
| parents        =
 
| parents        =
 
| children      =
 
| children      =
 +
| signature      =
 +
| signaturesize  =
 
}}</pre>
 
}}</pre>
 
</div>
 
</div>
Line 61: Line 64:
 
| '''children'''
 
| '''children'''
 
| Insert the names of the person's children. Separate entries with a line break (<nowiki><br /></nowiki>).
 
| Insert the names of the person's children. Separate entries with a line break (<nowiki><br /></nowiki>).
 +
|-
 +
| '''signature'''
 +
| Image file of person's signature (preferably PNG transparent background). Primarily used for historical figures.
 +
|-
 +
| '''signaturesize'''
 +
| Insert image width (defaults to 200px if empty).
 
|}
 
|}
  
 
<includeonly>
 
<includeonly>
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:People infobox templates|Biography]]
+
[[Category:Infobox templates|Biography]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
 
<!-- ADD INTERWIKIS BELOW THIS LINE -->
 
[[ar:قالب:معلومات شخصية]]
 
[[bg:Шаблон:Биография инфо]]
 
[[fr:Modèle:Infobox biographie]]
 
[[mk:Шаблон:Биографија инфо]]
 
[[no:Mal:Infoboks biografi]]
 
[[pt:Predefinição:Info biografia]]
 
[[ro:Format:Infobox biografii]]
 
[[vi:Tiêu bản:Infobox Biography]]
 
[[zh:Template:Infobox Biography]]
 
 
</includeonly>
 
</includeonly>

Latest revision as of 18:10, 7 May 2008

An Infobox Biography may be used to summarize information about a person.

Usage[edit]

This infobox may be added by pasting the template as shown below into an article.

{{Infobox Biography
| subject_name   =
| image_name     =
| image_size     =
| image_caption  =
| date_of_birth  =
| place_of_birth =
| date_of_death  =
| place_of_death =
| occupation     =
| religion       =
| spouse         =
| parents        =
| children       =
| signature      =
| signaturesize  =
}}

Parameters[edit]

Parameter Explanation
subject_name Insert name of person.
image_name Insert *.jpg image.
image_size Insert image width (defaults to 180x180px if empty).
image_caption Insert photograph caption. Try to include date of photo and the photographer.
date_of_birth Insert date of birth: month, day, year.
place_of_birth Insert place of birth: town, city, country.
date_of_death Insert date of death: month, day, year.
place_of_death Insert place of death: town, city, country.
occupation Insert the person's occupation.
spouse Insert the names of the person's spouses, followed by the years of marriage. Use the format: Name (Year[hyphen]Year) [or] (Year-present). Separate entries with a line break (<br />).
parents Insert the names of the person's parents. Separate entries with a line break (<br />).
children Insert the names of the person's children. Separate entries with a line break (<br />).
signature Image file of person's signature (preferably PNG transparent background). Primarily used for historical figures.
signaturesize Insert image width (defaults to 200px if empty).