Template:Infobox person: Difference between revisions

    From Nonbinary Wiki
    No edit summary
    (templatedata)
    Line 20: Line 20:
      <label>Pronouns</label>
      <label>Pronouns</label>
    </data>
    </data>
    <data source="gener">
    <data source="gender">
      <label>Gender identity</label>
      <label>Gender identity</label>
    </data>
    </data>
    Line 30: Line 30:
    </data>
    </data>
    </infobox>
    </infobox>
    <noinclude>
    <templatedata>
    {
    "params": {
    "date_birth": {
    "label": "Date of birth",
    "type": "date",
    "suggested": true
    },
    "place_birth": {
    "label": "Place of birth",
    "type": "string",
    "suggested": true
    },
    "date_death": {
    "label": "Date of death",
    "type": "date"
    },
    "place_death": {
    "label": "Place of death",
    "type": "string"
    },
    "name": {
    "label": "Name",
    "description": "Name of the person (defaults to the article title)",
    "type": "string"
    },
    "picture": {
    "label": "Picture",
    "description": "Picture of the person",
    "type": "wiki-file-name",
    "suggested": true
    },
    "caption": {
    "label": "Caption",
    "description": "Short description of the picture",
    "type": "string"
    },
    "nationality": {
    "label": "Nationality",
    "description": "Where's this person from?"
    },
    "pronouns": {
    "label": "Pronouns",
    "description": "Pronouns used by this person",
    "suggested": true
    },
    "occupation": {
    "label": "Occupation"
    },
    "known_for": {
    "label": "Known for",
    "description": "What is this person known for, other than their occupation?"
    },
    "gender": {
    "label": "Gender identity",
    "description": "This person's gender identity",
    "type": "string",
    "suggested": true
    }
    },
    "description": "To be used in articles about people",
    "paramOrder": [
    "name",
    "picture",
    "caption",
    "date_birth",
    "place_birth",
    "date_death",
    "place_death",
    "nationality",
    "pronouns",
    "gender",
    "occupation",
    "known_for"
    ],
    "format": "block"
    }
    </templatedata>
    </noinclude>

    Revision as of 14:54, 17 November 2019

    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