Difference between revisions of "Template:Infobox person"

From annadreambrush.com/wiki
Jump to navigation Jump to search
imported>Sardanaphalus
(Undid revision 193494853 by Sardanaphalus (talk))
imported>Sardanaphalus
(revision 193494853 (16:01) take 2)
Line 1: Line 1:
<noinclude>{{pp-semi-template|small=yes}}{{#ifeq:{{SUBPAGENAME}}|sandbox|{{Template sandbox notice}}}}</noinclude>
+
<noinclude>{{pp-semi-template|small=yes}}{{#ifeq:{{SUBPAGENAME}}|sandbox|{{Template sandbox notice}}}}</noinclude><!--
<includeonly><table class="infobox biography vcard" style="width:{{#if: {{{box_width|}}} | {{{box_width|}}} | 22em}}; font-size:90%; text-align: left;" cellspacing="2">
+
 
<tr><th colspan="2" style="text-align:center; font-size:larger;" class="fn">{{{name|{{PAGENAME}}}}}
+
--><table class="infobox biography vcard" style="width:{{#if:{{{box_width|}}} |{{{box_width|}}} |22em}}; font-size:90%; text-align:left;" cellspacing="2"><!--
{{
+
  ---------Title (name)---------
#if: {{{image|}}} |
+
--><tr><th colspan="2" style="text-align:center; font-size:115%;" class="fn">{{{name|{{PAGENAME}}}}}<!--
<tr><td colspan="2" style="font-size:8pt;text-align:center;padding:4pt;line-height:1.25em"{{image class|{{{image}}}}}>[[Image:{{{image}}}|{{#if: {{{image_size|{{{imagesize|}}}}}} | {{{image_size|{{{imagesize}}}}}} | 225px}}|]]<br />{{{caption|}}}
+
  ------------Image-------------
}}{{
+
-->{{#if:{{{image<includeonly>|</includeonly>}}} |
#if: {{{birth_name|}}} {{{birth_date|}}} {{{birth_place|}}} |
+
<tr><td colspan="2" style="font-size:8pt; text-align:center; padding:4pt; line-height:1.25em;"{{image class|{{{image}}}}}> [[Image:{{{image}}}|{{#if:{{{image_size|{{{imagesize|}}}}}} |{{{image_size|{{{imagesize}}}}}} |225px}}|]]<!--
<tr><th>Born<td>{{
+
  -----------Caption------------
#if: {{{birth_name|}}} |
+
--><div style="padding-top:2pt;">{{{caption<includeonly>|</includeonly>}}}</div><!--
{{{birth_name}}}<br />
+
-->}}<!--
}}{{
+
  -----remaining parameters-----
#if: {{{birth_date|}}} |
+
-->{{#if:{{{birth_name|}}} {{{birth_date<includeonly>|</includeonly>}}} {{{birth_place<includeonly>|</includeonly>}}} |
{{{birth_date}}}<br />  
+
    <tr><th style="padding-right:1em; line-height:1.3em;">Born
}}{{{birth_place|}}}
+
        <td style="line-height:1.3em;">{{#if:{{{birth_name|}}} |{{{birth_name}}}<br />}} {{#if:{{{birth_date<includeonly>|</includeonly>}}} |{{{birth_date}}}<br />}}{{{birth_place<includeonly>|</includeonly>}}}<!--
}}{{
+
-->}}<!--
#if: {{{death_date|}}} {{{death_place|}}} {{{death_cause|}}} |
+
-->{{#if:{{{death_date<includeonly>|</includeonly>}}} {{{death_place<includeonly>|</includeonly>}}} {{{death_cause|}}} |
<tr><th>Died<td>{{
+
    <tr><th style="padding-right:1em; line-height:1.3em;">Died
#if: {{{death_date|}}} |
+
        <td style="line-height:1.3em;">{{#if:{{{death_date<includeonly>|</includeonly>}}} |{{{death_date}}}<br />}} {{#if:{{{death_place<includeonly>|</includeonly>}}} |{{{death_place}}}<br />}} {{{death_cause|}}}<!--
{{{death_date}}}<br />
+
-->}}<!--
}}{{
+
-->{{#if:{{{resting_place|}}} |
#if: {{{death_place|}}} |
+
    <tr><th style="padding-right:1em; line-height:1.3em;">Resting place
{{{death_place}}}<br />
+
        <td style="line-height:1.3em;"><span class="label">{{{resting_place}}}</span>{{#if:{{{resting_place_coordinates|}}} |<br />{{{resting_place_coordinates}}} }}<!--
}}{{{death_cause|}}}
+
-->}}<!--
}}{{
+
-->{{#if:{{{residence|}}} |
#if: {{{resting_place|}}} |
+
    <tr><th style="padding-right:1em; line-height:1.3em;">Residence
<tr><th>Resting place<td><span class="label">{{{resting_place}}}</span>{{
+
        <td style="line-height:1.3em;"><span class="label">{{{residence}}}</span><!--
#if: {{{resting_place_coordinates|}}} |
+
-->}}<!--
<br />{{{resting_place_coordinates}}} }}
+
-->{{#if:{{{nationality<includeonly>|</includeonly>}}} |
}}{{
+
    <tr><th style="padding-right:1em; line-height:1.3em;">Nationality
#if: {{{residence|}}} |
+
        <td style="line-height:1.3em;">{{{nationality}}}<!--
<tr><th>Residence<td><span class="label">{{{residence}}}</span>
+
-->}}<!--
}}{{
+
-->{{#if:{{{other_names<includeonly>|</includeonly>}}} |
#if: {{{nationality|}}} |
+
    <tr><th style="padding-right:1em; line-height:1.3em;">Other&nbsp;names
<tr><th>Nationality<td>{{{nationality}}}
+
        <td style="line-height:1.3em;"><span class="nickname">{{{other_names}}}</span><!--
}}{{
+
-->}}<!--
#if: {{{other_names|}}} |
+
-->{{#if:{{{education|}}} |
<tr><th>Other&nbsp;names<td><span class="nickname">{{{other_names}}}</span>
+
    <tr><th style="padding-right:1em; line-height:1.3em;">Education
}}{{
+
        <td style="line-height:1.3em;">{{{education}}}<!--
#if: {{{education|}}} |
+
-->}}<!--
<tr><th>Education<td>{{{education}}}
+
-->{{#if:{{{employer|}}} |
}}{{
+
    <tr><th style="padding-right:1em; line-height:1.3em;">Employer
#if: {{{employer|}}} |
+
        <td style="line-height:1.3em;">{{{employer}}}<!--
<tr><th>Employer<td>{{{employer}}}
+
-->}}<!--
}}{{
+
-->{{#if:{{{occupation<includeonly>|</includeonly>}}} |
#if: {{{occupation|}}} |
+
    <tr><th style="padding-right:1em; line-height:1.3em;">Occupation
<tr><th>Occupation<td>{{{occupation}}}
+
        <td style="line-height:1.3em;">{{{occupation}}}<!--
}}{{
+
-->}}<!--
#if: {{{home_town|}}} |
+
-->{{#if:{{{home_town|}}} |
<tr><th>Hometown<td>{{{home_town}}}
+
    <tr><th style="padding-right:1em; line-height:1.3em;">Home&nbsp;town
}}{{
+
        <td style="line-height:1.3em;">{{{home_town}}}<!--
#if: {{{title|}}} |
+
-->}}<!--
<tr><th>Title<td>{{{title}}}
+
-->{{#if:{{{title|}}} |
}}{{
+
    <tr><th style="padding-right:1em; line-height:1.3em;">Title
#if: {{{salary|}}} |
+
        <td style="line-height:1.3em;">{{{title}}}<!--
<tr><th>Salary<td>{{{salary}}}
+
-->}}<!--
}}{{
+
-->{{#if:{{{salary|}}} |
#if: {{{networth|}}} |
+
    <tr><th style="padding-right:1em; line-height:1.3em;">Salary
<tr><th>Net&nbsp;worth<td>{{{networth}}}
+
        <td style="line-height:1.3em;">{{{salary}}}<!--
}}{{
+
-->}}<!--
#if: {{{height|}}} |
+
-->{{#if:{{{networth|}}} |
<tr><th>Height<td>{{{height}}}
+
    <tr><th style="padding-right:1em; line-height:1.3em;">Net&nbsp;worth
}}{{
+
        <td style="line-height:1.3em;">{{{networth}}}<!--
#if: {{{weight|}}} |
+
-->}}<!--
<tr><th>Weight<td>{{{weight}}}
+
-->{{#if:{{{height|}}} |
}}{{
+
    <tr><th style="padding-right:1em; line-height:1.3em;">Height
#if: {{{known|{{{known_for|}}}}}} |
+
        <td style="line-height:1.3em;">{{{height}}}<!--
<tr><th>Known&nbsp;for<td>{{{known|{{{known_for}}}}}}
+
-->}}<!--
}}{{
+
-->{{#if:{{{weight|}}} |
#if: {{{term|}}} |
+
    <tr><th style="padding-right:1em; line-height:1.3em;">Weight
<tr><th>Term<td>{{{term}}}
+
        <td style="line-height:1.3em;">{{{weight}}}<!--
}}{{
+
-->}}<!--
#if: {{{predecessor|}}} |
+
-->{{#if:{{{known|{{{known_for<includeonly>|</includeonly>}}}}}} |
<tr><th>Predecessor<td>{{{predecessor}}}
+
    <tr><th style="padding-right:1em; line-height:1.3em;">Known&nbsp;for
}}{{
+
        <td style="line-height:1.3em;">{{{known|{{{known_for}}}}}}<!--
#if: {{{successor|}}} |
+
-->}}<!--
<tr><th>Successor<td>{{{successor}}}
+
-->{{#if:{{{term|}}} |
}}{{
+
    <tr><th style="padding-right:1em; line-height:1.3em;">Term
#if: {{{party|}}} |
+
        <td style="line-height:1.3em;">{{{term}}}<!--
<tr><th>Political&nbsp;party<td>{{{party}}}
+
-->}}<!--
}}{{
+
-->{{#if:{{{predecessor|}}} |
#if: {{{boards|}}} |
+
    <tr><th style="padding-right:1em; line-height:1.3em;">Predecessor
<tr><th>Boards on<td>{{{boards}}}
+
        <td style="line-height:1.3em;">{{{predecessor}}}<!--
}}{{
+
-->}}<!--
#if: {{{religion|}}} |
+
-->{{#if:{{{successor|}}} |
<tr><th>Religious&nbsp;beliefs<td>{{{religion}}}
+
    <tr><th style="padding-right:1em; line-height:1.3em;">Successor
}}{{
+
        <td style="line-height:1.3em;">{{{successor}}}<!--
#if: {{{spouse|}}} |
+
-->}}<!--
<tr><th>Spouse<td>{{{spouse}}}
+
-->{{#if:{{{party|}}} |
}}{{
+
    <tr><th style="padding-right:1em; line-height:1.3em;">Political party
#if: {{{partner|}}} |
+
        <td style="line-height:1.3em;">{{{party}}}<!--
<tr><th>Partner<td>{{{partner}}}
+
-->}}<!--
}}{{
+
-->{{#if:{{{boards|}}} |
#if: {{{children|}}} |
+
    <tr><th style="padding-right:1em; line-height:1.3em;">Boards on
<tr><th>Children<td>{{{children}}}
+
        <td style="line-height:1.3em;">{{{boards}}}<!--
}}{{
+
-->}}<!--
#if: {{{parents|}}} |
+
-->{{#if:{{{religion|}}} |
<tr><th>Parents<td>{{{parents}}}
+
    <tr><th style="padding-right:1em; line-height:1.3em;">Religious beliefs
}}{{
+
        <td style="line-height:1.3em;">{{{religion}}}<!--
#if: {{{relations|}}} {{{relatives|}}} |
+
-->}}<!--
<tr><th>Relatives<td>{{{relations|{{{relatives}}}}}}
+
-->{{#if:{{{spouse|}}} |
}}{{
+
    <tr><th style="padding-right:1em; line-height:1.3em;">Spouse
#if: {{{signature|}}} |
+
        <td style="line-height:1.3em;">{{{spouse}}}<!--
<tr><th>Signature<td>[[Image:{{{signature}}}|128px]]
+
-->}}<!--
}}{{
+
-->{{#if:{{{partner|}}} |
#if: {{{website|}}} |
+
    <tr><th style="padding-right:1em; line-height:1.3em;">Partner
<tr><th>Website<td>{{{website}}}
+
        <td style="line-height:1.3em;">{{{partner}}}<!--
}}{{
+
-->}}<!--
#if: {{{footnotes|}}} |
+
-->{{#if:{{{children|}}} |
<tr><td colspan="2" style="font-size: smaller; font-style: italic; border-top: 1px solid;">{{{footnotes}}}
+
    <tr><th style="padding-right:1em; line-height:1.3em;">Children
}}</tr>
+
        <td style="line-height:1.3em;">{{{children}}}<!--
</table></includeonly><noinclude>
+
-->}}<!--
{{Documentation, template}}<!--allows /doc to display when template code is used in /sandbox-->
+
-->{{#if:{{{parents|}}} |
<!-- Please add categories and interwikis to the /doc subpage, not here. -->
+
    <tr><th style="padding-right:1em; line-height:1.3em;">Parents
 +
        <td style="line-height:1.3em;">{{{parents}}}<!--
 +
-->}}<!--
 +
-->{{#if:{{{relations|}}}{{{relatives|}}} |
 +
    <tr><th style="padding-right:1em; line-height:1.3em;">Relatives
 +
        <td style="line-height:1.3em;">{{{relations|{{{relatives}}}}}}<!--
 +
-->}}<!--
 +
-->{{#if:{{{signature|}}} |
 +
    <tr><th style="padding-right:1em; line-height:1.3em;">Signature
 +
        <td style="line-height:1.3em;">[[Image:{{{signature}}}|128px]]<!--
 +
-->}}<!--
 +
-->{{#if:{{{website|}}} |
 +
    <tr><th style="padding-right:1em; line-height:1.3em;">Website
 +
        <td style="line-height:1.3em;">{{{website}}}<!--
 +
-->}}<!--
 +
-->{{#if:{{{footnotes|}}} |
 +
    <tr><td colspan="2" style="border-top:1px solid; line-height:1.2em; font-size:smaller; font-style:italic;">{{{footnotes}}}<!--
 +
-->}}<!--
 +
--></tr></table><noinclude><!--
 +
 
 +
 
 +
<!--Following template allows /doc to display when template code is used in /sandbox:-->
 +
-->{{Documentation, template}}
 +
 
 +
<!--Please add categories and interwikis to the /doc subpage, not here!-->
 
</noinclude>
 
</noinclude>

Revision as of 18:49, 23 February 2008

Template:Pp-semi-template

Infobox person
[[Image:{{{image}}}|225px|]]
{{{caption}}}
Born {{{birth_date}}}
{{{birth_place}}}
Died {{{death_date}}}
{{{death_place}}}
Nationality {{{nationality}}}
Other names {{{other_names}}}
Occupation {{{occupation}}}
Known for {{{known_for}}}

-->Template:Documentation, template