Template:Infobox person: Difference between revisions

From WikiVault Encyclopedia
Jump to navigation Jump to search
Created page with "<includeonly> {| class="infobox" style="width:300px; float:right; margin:0 0 1em 1em; border:1px solid #a2a9b1; background:#f8f9fa; border-collapse:collapse; font-size:90%;" |- ! colspan="2" style="background:#cedff2; text-align:center; font-size:125%; padding:8px;" | {{{name|{{PAGENAME}}}}} |- {{#if:{{{image|}}}| {{!}} colspan="2" style="text-align:center; padding:8px;" {{!}} [[File:{{{image}}}|frameless|250px]] }} {{#if:{{{caption|}}}| {{!}} colspan="2" style="text-ali..."
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>
<infobox>
{| class="infobox" style="width:300px; float:right; margin:0 0 1em 1em; border:1px solid #a2a9b1; background:#f8f9fa; border-collapse:collapse; font-size:90%;"
    <title source="name">
|-
        <default>{{PAGENAME}}</default>
! colspan="2" style="background:#cedff2; text-align:center; font-size:125%; padding:8px;" | {{{name|{{PAGENAME}}}}}
    </title>
|-
{{#if:{{{image|}}}|
{{!}} colspan="2" style="text-align:center; padding:8px;" {{!}} [[File:{{{image}}}|frameless|250px]]
}}
{{#if:{{{caption|}}}|
{{!}} colspan="2" style="text-align:center; font-size:90%;" {{!}} {{{caption}}}
}}
{{#if:{{{birth_date|}}}|
{{!}} style="padding:5px;" {{!}} '''Born'''
{{!}} style="padding:5px;" {{!}} {{{birth_date}}}
}}
{{#if:{{{birth_place|}}}|
{{!}} style="padding:5px;" {{!}} '''Birthplace'''
{{!}} style="padding:5px;" {{!}} {{{birth_place}}}
}}
{{#if:{{{nationality|}}}|
{{!}} style="padding:5px;" {{!}} '''Nationality'''
{{!}} style="padding:5px;" {{!}} {{{nationality}}}
}}
{{#if:{{{occupation|}}}|
{{!}} style="padding:5px;" {{!}} '''Occupation'''
{{!}} style="padding:5px;" {{!}} {{{occupation}}}
}}
{{#if:{{{known_for|}}}|
{{!}} style="padding:5px;" {{!}} '''Known for'''
{{!}} style="padding:5px;" {{!}} {{{known_for}}}
}}
{{#if:{{{education|}}}|
{{!}} style="padding:5px;" {{!}} '''Education'''
{{!}} style="padding:5px;" {{!}} {{{education}}}
}}
{{#if:{{{website|}}}|
{{!}} style="padding:5px;" {{!}} '''Website'''
{{!}} style="padding:5px;" {{!}} {{{website}}}
}}
|}
</includeonly>
<noinclude>
This template displays a person's biographical information.


== Usage ==
    <image source="image">
<nowiki>{{Infobox person
        <caption source="caption"/>
| name =
    </image>
| image =
 
| caption =
    <data source="birth_date">
| birth_date =
        <label>Born</label>
| birth_place =
    </data>
| nationality =
 
| occupation =
    <data source="birth_place">
| known_for =
        <label>Birthplace</label>
| education =
    </data>
| website =
 
}}</nowiki>
    <data source="nationality">
</noinclude>
        <label>Nationality</label>
    </data>
 
    <data source="occupation">
        <label>Occupation</label>
    </data>
 
    <data source="education">
        <label>Education</label>
    </data>
 
    <data source="alma_mater">
        <label>Alma mater</label>
    </data>
 
    <data source="known_for">
        <label>Known for</label>
    </data>
 
    <data source="employer">
        <label>Employer</label>
    </data>
 
    <data source="spouse">
        <label>Spouse</label>
    </data>
 
    <data source="parents">
        <label>Parents</label>
    </data>
 
    <data source="children">
        <label>Children</label>
    </data>
 
    <data source="awards">
        <label>Awards</label>
    </data>
 
    <data source="website">
        <label>Website</label>
    </data>
</infobox>

Latest revision as of 06:56, 11 October 2026