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

From blackwiki
Jump to navigation Jump to search
imported>Netoholic
m
imported>Zyxw
(add empty infobox, list parameters in order displayed)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 +
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 
{{Uses infobox person}}
 
{{Uses infobox person}}
  
Line 7: Line 8:
 
The infobox may be added by pasting the template as shown below into an article. For an example, see [[Cindy Crawford]].
 
The infobox may be added by pasting the template as shown below into an article. For an example, see [[Cindy Crawford]].
  
<pre>
 
 
{{Infobox model
 
{{Infobox model
| name          =  
+
| name         = {{{name}}}
| image         =  
+
| image        = {{{image}}}
| image_size   =  
+
| image_size  = {{{image_size}}}
| alt           =  
+
| alt         = {{{alt}}}
| caption       =  
+
| caption      = {{{caption}}}
| birth_name   =  
+
| birth_name  = {{{birth_name}}}
| birth_date   = <!-- {{birth date and age|YYYY|MM|DD}} or {{birth date|YYYY|MM|DD}} -->
+
| birth_date  = {{{birth_date}}}
| birth_place   =  
+
| birth_place  = {{{birth_place}}}
| death_date   = <!-- {{death date and age|YYYY|MM|DD|YYYY|MM|DD}} -->
+
| death_date  = {{{death_date}}}
| death_place   =  
+
| death_place  = {{{death_place}}}
| death_cause   =  
+
| death_cause  = {{{death_cause}}}
| other_names  =  
+
| residence    = {{{death_cause}}}
| nationality   =  
+
| nationality  = {{{nationality}}}
| citizenship  =  
+
| other_names  = {{{other_names}}}
| ethnicity     =  
+
| ethnicity    = {{{ethnicity}}}
| occupation    =  
+
| citizenship  = {{{citizenship}}}
| alma_mater   =  
+
| alma_mater  = {{{alma_mater}}}
| years_active =  
+
| occupation  = {{{occupation}}}
| known_for     =  
+
| years_active = {{{years_active}}}
| spouse       = <!-- {{marriage|name|start|end}} -->
+
| known_for    = {{{known_for}}}
| partner       = <!-- unmarried life partner; use ''Name (1950–present)'' -->
+
| spouse      = {{{spouse}}}
| children      =  
+
| partner      = {{{partner}}}
| relatives     =  
+
| children    = {{{children}}}
| website       = <!-- {{URL|website}} -->
+
| parents      = {{{parents}}}
| height        = <!-- {{convert|x|ft|y|in|m|2|abbr=on}} or {{convert|x|m|ftin|0|abbr=on}} -->
+
| relatives    = {{{relatives}}}
| weight        =
+
| height      = {{{height}}}
| hair_color   =  
+
| weight      = {{{weight}}}
| eye_color     =  
+
| hair_color  = {{{hair_color}}}
| measurements =  
+
| eye_color    = {{{eye_color}}}
| dress_size   =  
+
| measurements = {{{measurements}}}
| collar       =  
+
| dress_size  = {{{dress_size}}}
| suit         =  
+
| collar      = {{{collar}}}
| shoe_size     =  
+
| suit        = {{{suit}}}
| agency       =  
+
| shoe_size    = {{{shoe_size}}}
 +
| agency      = {{{agency}}}
 +
| module      = {{{module}}}
 +
| website      = {{{website}}}
 +
}}
 +
<pre style="overflow:auto;">
 +
{{Infobox model
 +
| name        =  
 +
| image       =  
 +
| image_size   =  
 +
| alt         =  
 +
| caption     =  
 +
| birth_name   =  
 +
| birth_date   = <!-- {{birth date and age|YYYY|MM|DD}} or {{birth date|YYYY|MM|DD}} -->
 +
| birth_place =  
 +
| death_date   = <!-- {{death date and age|YYYY|MM|DD|YYYY|MM|DD}} -->
 +
| death_place =  
 +
| death_cause =  
 +
| residence    =  
 +
| nationality =  
 +
| other_names  =  
 +
| ethnicity   =  
 +
| 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       = <!-- {{convert|X|ft|Y|in|m|2|abbr=on}} or {{convert|X|m|ftin|0|abbr=on}} -->
 +
| weight      = <!-- {{convert|X|lb|kg|0|abbr=on}} or {{convert|X|kg|lb|0|abbr=on}} -->
 +
| hair_color   =  
 +
| eye_color   =  
 +
| measurements =  
 +
| dress_size   =  
 +
| collar       =  
 +
| suit         =  
 +
| shoe_size   =  
 +
| agency       =
 +
| module      =
 +
| website      = <!-- {{URL|website}} -->
 
}}
 
}}
 
</pre>
 
</pre>
 +
{{clear}}
  
 
== Parameters ==
 
== Parameters ==
Line 81: Line 125:
 
| ''death_cause''
 
| ''death_cause''
 
|
 
|
|-
+
|-  
| ''other_names''
+
| ''residence''
| aliases or nicknames for the model
+
| used to denote from which country the person belongs/birthplace 
 
|-  
 
|-  
 
| ''nationality''
 
| ''nationality''
 
| used to denote from which country the person belongs/birthplace   
 
| used to denote from which country the person belongs/birthplace   
 
|-
 
|-
| ''citizenship''
+
| ''other_names''
| 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]]
+
| aliases or nicknames for the model
 
|-
 
|-
 
| ''ethnicity''
 
| ''ethnicity''
 
| model's ethnicity
 
| model's ethnicity
 
|-
 
|-
| ''occupation''
+
| ''citizenship''
| model's occupation(s)
+
| 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''
 +
| model's occupation(s)
 
|-
 
|-
 
| ''years_active''
 
| ''years_active''
Line 114: Line 161:
 
| ''children''
 
| ''children''
 
|
 
|
 +
|-
 +
| ''parents''
 +
|
 
|-
 
|-
 
| ''relatives''
 
| ''relatives''
 
| notable persons related to the model
 
| notable persons related to the model
|-
 
| ''website''
 
| model's website; use {{tl|URL}} where possible
 
 
|-
 
|-
 
| ''height''
 
| ''height''
Line 150: Line 197:
 
| ''agency''
 
| ''agency''
 
| agency/agencies for which the model currently works
 
| agency/agencies for which the model currently works
 +
|-
 +
| ''module''
 +
|
 +
|-
 +
| ''website''
 +
| 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 156: Line 209:
 
===Synonyms===
 
===Synonyms===
 
{{Infobox model
 
{{Infobox model
|name        = Jane Doe
+
| name        = Jane Doe
|eye_color  = brown
+
| eye_color  = brown
|hair_color  = black
+
| hair_color  = black
 
}}
 
}}
 
{{Infobox model
 
{{Infobox model
|name        = Jane Doe
+
| name        = Jane Doe
|eye_colour  = green
+
| eye_colour  = green
|hair_colour = red
+
| hair_colour = red
 
}}
 
}}
 
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:
 
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:

Revision as of 22:54, 28 August 2014

Template:Uses infobox person

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

{{{name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1|{{{alt}}}]]
{{{caption}}}
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(s){{{spouse}}}
Partner(s){{{partner}}}
Children{{{children}}}
Parent(s){{{parents}}}
Relatives{{{relatives}}}
Modeling information
Height{{{height}}}
Hair color{{{hair_color}}}
Eye color{{{eye_color}}}
AgencyScript error: No such module "If empty".
{{{module}}}
Website{{{website}}}

Template:Wikidata image

{{Infobox model
| name         = 
| image        = 
| image_size   = 
| alt          = 
| caption      = 
| birth_name   = 
| birth_date   = <!-- {{birth date and age|YYYY|MM|DD}} or {{birth date|YYYY|MM|DD}} -->
| birth_place  = 
| death_date   = <!-- {{death date and age|YYYY|MM|DD|YYYY|MM|DD}} -->
| death_place  = 
| death_cause  = 
| residence    = 
| nationality  = 
| other_names  = 
| ethnicity    = 
| 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       = <!-- {{convert|X|ft|Y|in|m|2|abbr=on}} or {{convert|X|m|ftin|0|abbr=on}} -->
| weight       = <!-- {{convert|X|lb|kg|0|abbr=on}} or {{convert|X|kg|lb|0|abbr=on}} -->
| hair_color   = 
| eye_color    = 
| measurements = 
| dress_size   = 
| collar       = 
| suit         = 
| shoe_size    = 
| agency       = 
| module       = 
| website      = <!-- {{URL|website}} -->
}}

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
birth_name model's name at birth
birth_date model's date of birth; use {{birth date and age}} or {{birth date}} where possible
birth_place model's place of birth
death_date model's date of death; use {{death date and age}} where possible
death_place model's place of death
death_cause
residence used to denote from which country the person belongs/birthplace
nationality used to denote from which country the person belongs/birthplace
other_names aliases or nicknames for the model
ethnicity model's ethnicity
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 his/her 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
weight model's weight; use {{convinfobox}} where possible
hair_color or hair_colour model's hair color
eye_color or eye_colour model's eye color
measurements model's Bust/waist/hip measurements
dress_size female model's dress size
collar male model's collar size
suit male model's suit size
shoe_size model's shoe size
agency agency/agencies for which the model currently works
module
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

See also