Template:Person: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
mNo edit summary
m added some information on how to use this template
Line 4: Line 4:
{{#ifeq: {{{image|}}} | true |
{{#ifeq: {{{image|}}} | true |
{{!}}-
{{!}}-
{{!}} colspan="2" class="infobox_img" {{!}} <table class="img_border" cellpadding="0"><tr><td>[[Image:{{{name|Noam Elkies}}}.jpg|{{{name}}} image|220px]]</td></tr></table> }}
{{!}} colspan="2" class="infobox_img" {{!}} <table class="img_border" cellpadding="0"><tr><td>[[Image:{{{name}}}.jpg|{{{name}}} image|220px]]</td></tr></table> }}
|-
|-
! Born
! Born
Line 22: Line 22:
|}
|}
<noinclude>
<noinclude>
The pattern template is an infobox template for Life enthusiasts. An example can be seen to the right.
The template is an infobox template for Life enthusiasts. An example can be seen to the right.
</noinclude>
 
<includeonly>[[Category:Everything else]][[Category:People]]</includeonly>
'''Images''' should have the same name as the person they are of (''case sensitive'') and must be in the [http://en.wikipedia.org/wiki/.jpg .jpg] format.
 
This template takes parameters:
{|-
| '''name'''
| (Person's name) ''Required''
|-
| '''born'''
| (Date of birth)
|-
| '''res'''
| (Residence)
|-
| '''nat'''
| (Nationality)
|-
| '''inst'''
| (Institutions)
|-
| '''alma'''
| (Alma mater)
|}</noinclude><includeonly>[[Category:Everything else]][[Category:People]]</includeonly>

Revision as of 23:20, 26 April 2009

Person Name
Born Unknown
Residence Unknown
Nationality Unknown
Institutions Unknown
Alma mater Unknown

The template is an infobox template for Life enthusiasts. An example can be seen to the right.

Images should have the same name as the person they are of (case sensitive) and must be in the .jpg format.

This template takes parameters:

name (Person's name) Required
born (Date of birth)
res (Residence)
nat (Nationality)
inst (Institutions)
alma (Alma mater)