Difference between revisions of "Template:Infobox model/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(document "native_name")
imported>GreenComputer
m (Replace "his/her" with "their")
 
(41 intermediate revisions by 24 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 +
{{Person infobox header}}
 
{{Uses infobox person}}
 
{{Uses infobox person}}
 +
{{Notice|Please note that in 2016, the {{para|religion}} and {{para|ethnicity}} parameters were removed from [[Template:Infobox person]] as a result of [[Wikipedia:Village pump (policy)/Archive 126 #RfC: Religion in biographical infoboxes|the RfC: Religion in biographical infoboxes]] and [[Wikipedia:Village_pump_(policy)/Archive 127 #RfC: Ethnicity in infoboxes|the RfC: Ethnicity in infoboxes]] as clarified by [[Template talk:Infobox person/Archive 31 #Ethnicity? Religion?|this discussion]].}}
 +
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
 +
{{Tracks Wikidata|P18|cat=No local image but image on Wikidata}}
  
 
{{tl|Infobox model}} may be used to summarize information about a person who is a model.
 
{{tl|Infobox model}} may be used to summarize information about a person who is a model.
Line 9: Line 13:
  
 
{{Generic template demo
 
{{Generic template demo
 +
| honorific_prefix
 
| name
 
| name
 +
| honorific_suffix
 
| image
 
| image
 
| image_size
 
| image_size
Line 22: Line 28:
 
| death_place
 
| death_place
 
| death_cause
 
| death_cause
| residence
 
 
| nationality
 
| nationality
 
| other_names
 
| other_names
| ethnicity
 
 
| citizenship
 
| citizenship
 
| alma_mater
 
| alma_mater
Line 37: Line 41:
 
| relatives
 
| relatives
 
| height
 
| height
| weight
 
 
| hair_color
 
| hair_color
 
| eye_color
 
| eye_color
| measurements
 
| dress_size
 
| collar
 
| suit
 
| shoe_size
 
 
| agency
 
| agency
 
| module
 
| module
Line 51: Line 49:
 
<pre style="overflow:auto;">
 
<pre style="overflow:auto;">
 
{{Infobox model
 
{{Infobox model
 +
| honorific_prefix =
 
| name            =  
 
| name            =  
 +
| honorific_suffix =
 
| image            =  
 
| image            =  
 
| image_size      =  
 
| image_size      =  
Line 59: Line 59:
 
| native_name_lang =  
 
| native_name_lang =  
 
| birth_name      =  
 
| birth_name      =  
| birth_date      = <!-- {{birth date and age|YYYY|MM|DD}} or {{birth date|YYYY|MM|DD}} -->
+
| birth_date      = <!-- {{birth date and age|YYYY|MM|DD}} or {{birth date|YYYY|MM|DD}} For living people supply only the year unless the exact date is already WIDELY published, as per [[WP:DOB]]. -->
 
| birth_place      =  
 
| birth_place      =  
| death_date      = <!-- {{death date and age|YYYY|MM|DD|YYYY|MM|DD}} -->
+
| death_date      = <!-- {{death date and age|YYYY|MM|DD|birth YYYY|birth MM|birth DD}} -->
 
| death_place      =  
 
| death_place      =  
 
| death_cause      =  
 
| death_cause      =  
| residence        =
 
 
| nationality      =  
 
| nationality      =  
 
| other_names      =  
 
| other_names      =  
| ethnicity        =
 
 
| citizenship      =  
 
| citizenship      =  
 
| alma_mater      =  
 
| alma_mater      =  
Line 78: Line 76:
 
| parents          =  
 
| parents          =  
 
| relatives        =  
 
| relatives        =  
| height          = <!-- {{convert|X|ft|Y|in|m|2|abbr=on}} or {{convert|X|m|ftin|0|abbr=on}} -->
+
| height          = <!-- "X ft Y in" or "X cm" plus optional reference (conversions are automatic) -->
| weight          = <!-- {{convert|X|lb|kg|0|abbr=on}} or {{convert|X|kg|lb|0|abbr=on}} -->
 
 
| hair_color      =  
 
| hair_color      =  
 
| eye_color        =  
 
| eye_color        =  
| measurements    =
 
| dress_size      =
 
| collar          =
 
| suit            =
 
| shoe_size        =
 
 
| agency          =  
 
| agency          =  
 
| module          =  
 
| module          =  
 
| website          = <!-- {{URL|website}} -->
 
| website          = <!-- {{URL|website}} -->
 +
| signature        =
 
}}
 
}}
 
</pre>
 
</pre>
Line 122: Line 115:
 
|-
 
|-
 
| ''birth_date''
 
| ''birth_date''
| model's date of birth; use {{tl|birth date and age}} or {{tl|birth date}} where possible
+
| model's date of birth; use {{tl|birth date and age}} or {{tl|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 {{tl|birth year and age}} or a similar option.
 
|-
 
|-
 
| ''birth_place''
 
| ''birth_place''
Line 135: Line 128:
 
| ''death_cause''
 
| ''death_cause''
 
|
 
|
|-
 
| ''residence''
 
| used to denote from which country the person belongs/birthplace 
 
 
|-  
 
|-  
 
| ''nationality''
 
| ''nationality''
Line 144: Line 134:
 
| ''other_names''
 
| ''other_names''
 
| aliases or nicknames for the model
 
| aliases or nicknames for the model
|-
 
| ''ethnicity''
 
| model's ethnicity
 
 
|-
 
|-
 
| ''citizenship''
 
| ''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. [[Wikipedia:Manual of Style (icons)#Avoid flag icons in infoboxes|do not use a flag template]]
+
| 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. '''[[Wikipedia:Manual of Style (icons)#Avoid flag icons in infoboxes|Do not use a flag template]].'''
 
|-
 
|-
 
| ''alma_mater''
 
| ''alma_mater''
| [[Alma mater|alma mater]]. model's place of education
+
| [[Alma mater|alma mater]]; model's place of education
 
|-
 
|-
 
| ''occupation''
 
| ''occupation''
| model's occupation(s)
+
| Model's occupation(s)
 
|-
 
|-
 
| ''years_active''
 
| ''years_active''
| years that the model was active in his/her career
+
| years that the model was active in their career
 
|-
 
|-
 
| ''known_for''
 
| ''known_for''
Line 164: Line 151:
 
|-
 
|-
 
| ''spouse''
 
| ''spouse''
| if applicable, name(s) of the model's spouse(s); use {{tl|marriage}} where possible
+
| If applicable, name(s) of the model's spouse(s); use {{tl|marriage}} where possible
 
|-
 
|-
 
| ''partner''
 
| ''partner''
| if applicable, name(s) of the model's unmarried [[Life partner|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).
+
| If applicable, name(s) of the model's unmarried [[Life partner|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''
 
| ''children''
Line 176: Line 163:
 
|-
 
|-
 
| ''relatives''
 
| ''relatives''
| notable persons related to the model
+
| Notable persons related to the model
 
|-
 
|-
 
| ''height''
 
| ''height''
| model's height; use {{tl|convert}} or {{tl|convinfobox}} where possible
+
| Model's height; use {{tl|convert}} or {{tl|convinfobox}} where possible
|-
 
| ''weight''
 
| model's weight; use {{tl|convinfobox}} where possible
 
 
|-
 
|-
 
| ''hair_color'' or ''hair_colour''
 
| ''hair_color'' or ''hair_colour''
| model's hair color
+
| Model's hair color
 
|-
 
|-
 
| ''eye_color'' or ''eye_colour''
 
| ''eye_color'' or ''eye_colour''
| model's eye color
+
| Model's eye color
|-
 
| ''measurements''
 
| female model's [[Bust/waist/hip measurements]] <!--if applicable, i.e., for female models-->
 
|-
 
| ''dress_size''
 
| female model's dress size <!--if applicable.  If possible, provide both scales-->
 
|-
 
| ''collar''
 
| male model's collar size
 
|-
 
| ''suit''
 
| male model's suit size
 
|-
 
| ''shoe_size''
 
| model's shoe size
 
 
|-
 
|-
 
| ''agency''
 
| ''agency''
| agency/agencies for which the model currently works
+
| Agency/agencies for which the model currently works
 
|-
 
|-
 
| ''module''
 
| ''module''
|
+
| Used for embedding other infoboxes into this one. Example:
 +
<pre>
 +
{{Infobox model
 +
| name                = Ian Watkins
 +
...
 +
| module =
 +
    {{Infobox musical artist
 +
    | embed = yes
 +
    | background = solo_singer <!-- mandatory field -->
 +
    ...
 +
    }} <!-- end of Infobox musical artist -->
 +
...
 +
}} <!-- end of Infobox person -->
 +
</pre>
 +
{{crossref|For more detailed information, see [[Wikipedia:WikiProject Infoboxes/embed]].}}
 
|-
 
|-
 
| ''website''
 
| ''website''
| model's website; use {{tl|URL}} where possible
+
| Model's website; use {{tl|URL}} where possible
 
|-
 
|-
 
| colspan="2" style="font-size:90%;" | * Only used if the {{{image}}} parameter is used.
 
| colspan="2" style="font-size:90%;" | * Only used if the {{{image}}} parameter is used.
Line 243: Line 226:
 
== Microformat ==
 
== Microformat ==
 
{{UF-hcard-person}}
 
{{UF-hcard-person}}
 +
 +
== Tracking categories ==
 +
* {{clc|Pages using infobox model with unknown parameters}}
 +
* {{clc|Pages using deprecated image syntax}} – Used by [[Module:InfoboxImage]] to track articles where an infobox uses image syntax in the format <kbd><nowiki>|image=[[File:Example.jpg]]</nowiki></kbd>. To exclude articles from this category, change it to {{samp|<nowiki>|image=Example.jpg</nowiki>}}.
 +
* {{clc|No local image but image on Wikidata}} – 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 {{para|nocat_wdimage|yes}} to the infobox.
  
 
== See also ==
 
== See also ==
Line 251: Line 239:
 
<includeonly>
 
<includeonly>
 
{{Basepage subpage|
 
{{Basepage subpage|
[[Category:People infobox templates|Model]]
+
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Fashion templates]]
 
[[Category:Fashion templates]]
 +
[[Category:People and person infobox templates|Model]]
 +
[[Category:Biographical templates usable as a module|Model]]
 +
[[Category:Infobox templates with module parameter|Model]]
 +
[[Category:Templates calling Infobox person|Model]]
 +
[[Category:Templates that add a tracking category|{{PAGENAME}}]]
 
}}
 
}}
 
</includeonly>
 
</includeonly>

Latest revision as of 23:56, 8 April 2020

Template:Person infobox header Template:Uses infobox person

Template:Tracks Wikidata

{{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.

  1. redirect Template:Parameter names example
{{Infobox model
| honorific_prefix = 
| name             = 
| honorific_suffix = 
| image            = 
| image_size       = 
| alt              = 
| caption          = 
| native_name      = 
| native_name_lang = 
| birth_name       = 
| birth_date       = <!-- {{birth date and age|YYYY|MM|DD}} or {{birth date|YYYY|MM|DD}} For living people supply only the year unless the exact date is already WIDELY published, as per [[WP:DOB]]. -->
| birth_place      = 
| death_date       = <!-- {{death date and age|YYYY|MM|DD|birth YYYY|birth MM|birth DD}} -->
| death_place      = 
| death_cause      = 
| nationality      = 
| other_names      = 
| citizenship      = 
| alma_mater       = 
| occupation       = 
| years_active     = 
| known_for        = 
| spouse           = <!-- {{marriage|name|start|end}} -->
| partner          = <!-- unmarried life partner; use ''Name (1950–present)'' -->
| children         = 
| parents          = 
| relatives        = 
| height           = <!-- "X ft Y in" or "X cm" plus optional reference (conversions are automatic) -->
| hair_color       = 
| eye_color        = 
| agency           = 
| module           = 
| website          = <!-- {{URL|website}} -->
| signature        =
}}

Parameters

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
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:
{{Infobox model
| name                = Ian Watkins
...
| module =
    {{Infobox musical artist
    | embed = yes
    | background = solo_singer <!-- mandatory field -->
    ...
    }} <!-- end of Infobox musical artist -->
...
}} <!-- end of Infobox person -->

For more detailed information, see Wikipedia:WikiProject Infoboxes/embed.

website Model's website; use {{URL}} where possible
* Only used if the {{{image}}} parameter is used.

Synonyms

Jane Doe
Modeling information
Hair colorblack
Eye colorbrown
ManagerScript error: No such module "If empty".

Template:Wikidata image

Jane Doe
Modelling information
Hair colourred
Eye colourgreen
ManagerScript error: No such module "If empty".

Template:Wikidata image

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:

{{Infobox model
| name        = Jane Doe
| hair_color  = black
| eye_color   = brown
}}
{{Infobox model
| name        = Jane Doe
| hair_colour = red
| eye_colour  = green
}}

Note that if both spellings are present, |eye_color= and |hair_color= are ignored.

Microformat

Template:UF-hcard-person

Tracking categories

See also