Template:Infobox model/doc
File:Edit-copy green.svg | This is a documentation subpage for Template:Terminate sentence It may contain usage information, categories and other content that is not part of the original template page. |
Warning | This template is used on approximately 2,300 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
File:Ambox important.svg | The design and content of biographical infoboxes must follow Wikipedia's verifiability policy, as well as infobox and biographical style guideline. All content displayed in this template must adhere to the biographies of living persons policy if applicable. Unsourced or poorly sourced contentious material must be removed immediately from the article and its infobox, especially if potentially libellous. |
File:Ambox warning yellow.svg | This template is a customized wrapper for {{Infobox person}}. Any field from {{Infobox person}} can work. It will also emit the same hCard and Geo microformats as {{Infobox person}} . Questions? Just ask here or over at Template talk:Infobox person. |
File:Information icon4.svg | Please note that in 2016, the |religion= and |ethnicity= parameters were removed from Template:Infobox person as a result of the RfC: Religion in biographical infoboxes and the RfC: Ethnicity in infoboxes as clarified by this discussion. |
File:Lua-Logo.svg | This template uses Lua: |
{{Infobox model}} may be used to summarize information about a person who is a model.
Usage
The infobox may be added by pasting the template as shown below into an article. For an example, see Cindy Crawford.
{{{honorific_prefix}}} {{{name}}} {{{honorific_suffix}}} | |
---|---|
{{{native_name}}} | |
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1]] | |
Born | {{{birth_name}}} {{{birth_date}}} {{{birth_place}}} |
Died | {{{death_date}}} {{{death_place}}} |
Cause of death | {{{death_cause}}} |
Nationality | {{{nationality}}} |
Other names | {{{other_names}}} |
Citizenship | {{{citizenship}}} |
Alma mater | {{{alma_mater}}} |
Occupation | {{{occupation}}} |
Years active | {{{years_active}}} |
Known for | {{{known_for}}} |
Spouse | {{{spouse}}} |
Partner | {{{partner}}} |
Children | {{{children}}} |
Parent | {{{parents}}} |
Relatives | {{{relatives}}} |
Modeling information | |
Height | {{{height}}} |
Hair color | {{{hair_color}}} |
Eye color | {{{eye_color}}} |
Agency | {{{agency}}} |
{{{module}}} | |
Website | {{{website}}} |
<syntaxhighlight lang="wikitext" style="overflow:auto;">
Infobox model/doc |
---|
</syntaxhighlight>
Parameters
This template takes all parameters accepted by Template:Infobox person. See here for a complete list.
name | model's name; usually the article's page name (i.e. the model's common name) | ||||
image | an image of the model, in the form: "Example.jpg" | ||||
image_size * | in the form "Npx", resizes the image to a width of N pixels; default is frameless | ||||
alt * | alt text for the image | ||||
caption * | caption for the image | ||||
native_name | The person's name in their own language, if different. | ||||
native_name_lang | ISO 639-1 code e.g. "fr" for French. If more than one, use {{lang}} in |native_name= instead.
| ||||
birth_name | model's name at birth | ||||
birth_date | model's date of birth; use {{birth date and age}} or {{birth date}} where possible. For living people supply only the year unless the exact date is already WIDELY published, as per WP:DOB. Treat such cases as if only the year is known, so use {{birth year and age}} or a similar option. | ||||
birth_place | model's place of birth, if different | ||||
death_date | model's date of death; use {{death date and age}} where possible | ||||
death_place | model's place of death | ||||
death_cause | |||||
nationality | used to denote from which country the person belongs/birthplace, use only when necessary per WP:INFONAT | ||||
other_names | aliases or nicknames for the model | ||||
citizenship | Used to denote country of legal citizenship, if different from nationality. rarely needed. See usage notes for nationality above. should only be used if citizenship cannot be inferred from the birthplace. Do not use a flag template. | ||||
alma_mater | alma mater; model's place of education | ||||
occupation | Model's occupation(s) | ||||
years_active | years that the model was active in their career | ||||
known_for | |||||
spouse | If applicable, name(s) of the model's spouse(s); use {{marriage}} where possible | ||||
partner | If applicable, name(s) of the model's unmarried life partners (of any gender or sexual preference); use the format Name (1950–present) for current partner and Name (1970–1999) for former partner(s). | ||||
children | |||||
parents | |||||
relatives | Notable persons related to the model | ||||
height | Model's height; use {{convert}} or {{convinfobox}} where possible | ||||
hair_color or hair_colour | Model's hair color | ||||
eye_color or eye_colour | Model's eye color | ||||
agency | Agency/agencies for which the model currently works | ||||
module | Used for embedding other infoboxes into this one. Example:
<syntaxhighlight lang="wikitext">
</syntaxhighlight> | ||||
website | Model's website; use {{URL}} where possible | ||||
* Only used if the {{{image}}} parameter is used. |
Synonyms
Jane Doe | |
---|---|
Modeling information | |
Hair color | black |
Eye color | brown |
Jane Doe | |
---|---|
Modelling information | |
Hair colour | red |
Eye colour | green |
Variant spellings are permitted for two parameters, and they affect how the information is presented - "color" or "colour". The examples below display as at right: <syntaxhighlight lang="wikitext" style="overflow:auto;">
Jane Doe | |
---|---|
Modeling information | |
Hair color | black |
Eye color | brown |
Jane Doe | |
---|---|
Modelling information | |
Hair colour | red |
Eye colour | green |
</syntaxhighlight>
Note that if both spellings are present, |eye_color=
and |hair_color=
are ignored.
Microformat
The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of microformats on Wikipedia, please see the microformat project.
Sub-templates
Date-of-birth ("bday") information will only be included in the microformat if {{birth date}}, or {{birth date and age}} are used in the infobox. (Do not use these if the date is before 1583). Be cautious about using these if the person is still living, per WP:DOB.
To include a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
Classes
hCard uses HTML classes including:
- adr
- agent
- bday
- birthplace
- category
- country-name
- deathdate
- deathplace
- extended-address
- family-name
- fn (required)
- given-name
- honorific-prefix
- honorific-suffix
- label
- locality
- n
- nickname
- note
- org
- role
- url
- vcard
Please do not rename or remove these classes nor collapse nested elements which use them.
Tracking categories
- Category:Pages using infobox model with unknown parameters (0)
- Category:Pages using infobox model with conflicting parameters (0)
- Category:No local image but image on Wikidata (0) – Used by Template:Wikidata image to track articles where an infobox has no image but Wikidata has an image name. To exclude articles from this category, add an image or
|nocat_wdimage=yes
to the infobox.
See also