Jump to content

Template:Infobox person: Difference between revisions

From WikiSaga
Created page with "<templatestyles src="Template:Infobox person/styles.css" /> <includeonly> {| class="ws-infobox" |- ! colspan="2" class="ws-infobox-title" | {{{name|{{PAGENAME}}}}} |- | colspan="2" class="ws-image" | [[File:{{{image|No_image_available.svg}}}|280px|center]] {{#if:{{{caption|}}}|<div class="ws-caption">{{{caption}}}</div>|}} {{#if:{{{born|}}}| |- ! Born | {{{born}}} }} {{#if:{{{died|}}}| |- ! Died | {{{died}}} }} {{#if:{{{nationality|}}}| |- ! Nationality | {{{nationali..."
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<templatestyles src="Template:Infobox person/styles.css" />
<infobox>
<includeonly>
    <title source="name">
{| class="ws-infobox"
        <default>{{PAGENAME}}</default>
|-
    </title>
! colspan="2" class="ws-infobox-title" | {{{name|{{PAGENAME}}}}}
|-
| colspan="2" class="ws-image" |
[[File:{{{image|No_image_available.svg}}}|280px|center]]
{{#if:{{{caption|}}}|<div class="ws-caption">{{{caption}}}</div>|}}


{{#if:{{{born|}}}|
    <image source="image"/>
|-
! Born
| {{{born}}}
}}


{{#if:{{{died|}}}|
    <data source="caption">
|-
        <label>Caption</label>
! Died
    </data>
| {{{died}}}
}}


{{#if:{{{nationality|}}}|
    <group>
|-
        <header>Personal information</header>
! Nationality
| {{{nationality}}}
}}


{{#if:{{{citizenship|}}}|
        <data source="birth_name">
|-
            <label>Birth name</label>
! Citizenship
        </data>
| {{{citizenship}}}
}}


{{#if:{{{occupation|}}}|
        <data source="born">
|-
            <label>Born</label>
! Occupation
        </data>
| {{{occupation}}}
}}


{{#if:{{{organization|}}}|
        <data source="birth_place">
|-
            <label>Birth place</label>
! Organization
        </data>
| {{{organization}}}
}}


{{#if:{{{position|}}}|
        <data source="nationality">
|-
            <label>Nationality</label>
! Position
        </data>
| {{{position}}}
}}


{{#if:{{{education|}}}|
        <data source="citizenship">
|-
            <label>Citizenship</label>
! Education
        </data>
| {{{education}}}
    </group>
}}


{{#if:{{{alma_mater|}}}|
    <group>
|-
        <header>Education</header>
! Alma mater
| {{{alma_mater}}}
}}


{{#if:{{{years_active|}}}|
        <data source="education">
|-
            <label>Education</label>
! Years active
        </data>
| {{{years_active}}}
}}


{{#if:{{{known_for|}}}|
        <data source="alma_mater">
|-
            <label>Alma mater</label>
! Known for
        </data>
| {{{known_for}}}
    </group>
}}


{{#if:{{{notable_works|}}}|
    <group>
|-
        <header>Career</header>
! Notable works
| {{{notable_works}}}
}}


{{#if:{{{awards|}}}|
        <data source="occupation">
|-
            <label>Occupation</label>
! Awards
        </data>
| {{{awards}}}
}}


{{#if:{{{spouse|}}}|
        <data source="organization">
|-
            <label>Organization</label>
! Spouse
        </data>
| {{{spouse}}}
}}


{{#if:{{{children|}}}|
        <data source="position">
|-
            <label>Position</label>
! Children
        </data>
| {{{children}}}
}}


{{#if:{{{parents|}}}|
        <data source="years_active">
|-
            <label>Years active</label>
! Parents
        </data>
| {{{parents}}}
}}


{{#if:{{{residence|}}}|
        <data source="known_for">
|-
            <label>Known for</label>
! Residence
        </data>
| {{{residence}}}
    </group>
}}


{{#if:{{{website|}}}|
    <group>
|-
        <header>Achievements</header>
! Website
| [{{{website}}} Official Website]
}}


{{#if:{{{linkedin|}}}|
        <data source="awards">
|-
            <label>Awards</label>
! LinkedIn
        </data>
| [{{{linkedin}}} Profile]
}}


{{#if:{{{instagram|}}}|
        <data source="honours">
|-
            <label>Honours</label>
! Instagram
        </data>
| [{{{instagram}}} Profile]
    </group>
}}


{{#if:{{{x|}}}|
    <group>
|-
        <header>Personal details</header>
! X
| [{{{x}}} Profile]
}}


{{#if:{{{youtube|}}}|
        <data source="spouse">
|-
            <label>Spouse</label>
! YouTube
        </data>
| [{{{youtube}}} Channel]
}}


{{#if:{{{imdb|}}}|
        <data source="children">
|-
            <label>Children</label>
! IMDb
        </data>
| [{{{imdb}}} Profile]
    </group>
}}


|}
    <group>
</includeonly>
        <header>Website & Social</header>


<noinclude>
        <data source="website">
            <label>Website</label>
        </data>


== Usage ==
        <data source="linkedin">
            <label>LinkedIn</label>
        </data>


<pre>
        <data source="instagram">
{{Infobox person
            <label>Instagram</label>
| name =
        </data>
| image =
| caption =
| born =
| nationality =
| occupation =
| organization =
| years_active =
| known_for =
| awards =
| website =
}}
</pre>


</noinclude>
        <data source="facebook">
            <label>Facebook</label>
        </data>
 
        <data source="x">
            <label>X</label>
        </data>
 
        <data source="youtube">
            <label>YouTube</label>
        </data>
    </group>
</infobox>

Latest revision as of 15:00, 7 August 2026