Template:Infobox person: Difference between revisions

    From Nonbinary Wiki
    (Change "Socials" label to "Other links" or "Links", bceause it feels weird to put "Socials" in the infobox if the subject doesn't have a website)
    Tag: 2017 source edit
    (Add alt-text)
    Tag: 2017 source edit
     
    Line 1: Line 1:
    {{infobox
    {{infobox
    | title    = {{#if:{{{honorific_prefix|}}}|{{{honorific_prefix|}}} |}}{{{name|{{PAGENAME}}}}}{{#if:{{{honorific_suffix|}}}| {{{honorific_suffix|}}}|}}
    | title    = {{#if:{{{honorific_prefix|}}}|{{{honorific_prefix|}}} |}}{{{name|{{PAGENAME}}}}}{{#if:{{{honorific_suffix|}}}| {{{honorific_suffix|}}}|}}
    | image    = {{#if:{{{picture|}}}|[[File:{{{picture|}}}|200px]]|}}
    | image    = {{#if:{{{picture|}}}|[[File:{{{picture|}}}|200px|alt={{{alt|}}}]]|}}
    | caption1 = {{{caption|}}}
    | caption1 = {{{caption|}}}
    | label1  = Date of birth
    | label1  = Date of birth
    Line 89: Line 89:
    "label": "Caption",
    "label": "Caption",
    "description": "Short description of the picture",
    "description": "Short description of the picture",
    "type": "string"
    },
    "alt": {
    "label": "Alt",
    "description": "Alt text of image",
    "type": "string"
    "type": "string"
    },
    },
    Line 170: Line 175:
    "notable_works",
    "notable_works",
    "website",
    "website",
    "socials"
    "socials",
    "alt"
    ],
    ],
    "format": "block"
    "format": "block"

    Latest revision as of 14:43, 13 July 2024

    Infobox person

    To be used in articles about people

    Template parameters

    This template prefers block formatting of parameters.

    ParameterDescriptionTypeStatus
    Namename

    Name of the person (defaults to the article title)

    Stringoptional
    Picturepicture

    Picture of the person

    Filesuggested
    Captioncaption

    Short description of the picture

    Stringoptional
    Date of birthdate_birth

    no description

    Datesuggested
    Place of birthplace_birth

    no description

    Stringsuggested
    Date of deathdate_death

    no description

    Dateoptional
    Place of deathplace_death

    no description

    Stringoptional
    Nationalitynationality

    Where's this person from?

    Unknownoptional
    Pronounspronouns

    Pronouns used by this person

    Unknownsuggested
    Gender identitygender

    This person's gender identity

    Stringsuggested
    Occupationoccupation

    no description

    Unknownoptional
    Known forknown_for

    What is this person known for, other than their occupation?

    Unknownoptional
    Honorific (prefix)honorific_prefix

    Mx, Sir, Ms, Mr, Rev, etcetera

    Stringoptional
    Honorific (suffix)honorific_suffix

    no description

    Stringoptional
    Other namesother_names

    Other names the person uses/used, except deadnames

    Stringoptional
    Educationeducation

    Only use if relevant

    Stringoptional
    Alma materalma_mater

    Only use if relevant

    Stringoptional
    Years activeyears_active

    Years active in occupation

    Unknownoptional
    Employeremployer

    no description

    Stringoptional
    Organizationorganization

    no description

    Stringoptional
    Notable worksnotable_works

    no description

    Stringoptional
    websitewebsite

    no description

    Unknownoptional
    Socialssocials

    no description

    Unknownoptional
    Altalt

    Alt text of image

    Stringoptional