Difference between revisions of "Template:Infobox model/doc"
Jump to navigation
Jump to search
imported>Frietjes |
imported>Zyxw (list parameters in order displayed by infobox) |
||
| Line 4: | Line 4: | ||
== Usage == | == Usage == | ||
| − | |||
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]]. | ||
| Line 12: | Line 11: | ||
| image = | | image = | ||
| image_size = | | image_size = | ||
| + | | alt = | ||
| caption = | | caption = | ||
| − | |||
| 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}} --> | ||
| Line 23: | Line 22: | ||
| nationality = | | nationality = | ||
| citizenship = | | citizenship = | ||
| − | | occupation = | + | | ethnicity = |
| + | | occupation = | ||
| alma_mater = | | alma_mater = | ||
| − | | | + | | years_active = |
| − | | | + | | known_for = |
| + | | spouse = <!-- {{marriage|name|start|end}} --> | ||
| + | | partner = <!-- unmarried life partner; use ''Name (1950–present)'' --> | ||
| + | | children = | ||
| + | | relatives = | ||
| + | | website = <!-- {{URL|website}} --> | ||
| height = <!-- {{convert|x|ft|y|in|m|2|abbr=on}} or {{convert|x|m|ftin|0|abbr=on}} --> | | height = <!-- {{convert|x|ft|y|in|m|2|abbr=on}} or {{convert|x|m|ftin|0|abbr=on}} --> | ||
| + | | weight = | ||
| hair_color = | | hair_color = | ||
| eye_color = | | eye_color = | ||
| measurements = | | measurements = | ||
| − | |||
| dress_size = | | dress_size = | ||
| collar = | | collar = | ||
| Line 37: | Line 42: | ||
| shoe_size = | | shoe_size = | ||
| agency = | | agency = | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}} | }} | ||
</pre> | </pre> | ||
| − | + | == Parameters == | |
| − | {| | + | {| class="wikitable" |
| width="110px" | ''name'' | | width="110px" | ''name'' | ||
| model's name; usually the article's page name (i.e. the model's common name) | | model's name; usually the article's page name (i.e. the model's common name) | ||
| Line 56: | Line 56: | ||
| ''image_size'' * | | ''image_size'' * | ||
| in the form "''N''px", resizes the image to a width of ''N'' pixels; default is frameless | | in the form "''N''px", resizes the image to a width of ''N'' pixels; default is frameless | ||
| + | |- | ||
| + | | ''alt'' * | ||
| + | | [[WP:ALT|alt text]] for the image | ||
|- | |- | ||
| ''caption'' * | | ''caption'' * | ||
| caption for the image | | caption for the image | ||
| − | |||
| − | |||
| − | |||
|- | |- | ||
| ''birth_name'' | | ''birth_name'' | ||
| Line 77: | Line 77: | ||
| ''death_place'' | | ''death_place'' | ||
| model's place of death | | model's place of death | ||
| + | |- | ||
| + | | ''death_cause'' | ||
| + | | | ||
|- | |- | ||
| ''other_names'' | | ''other_names'' | ||
| Line 86: | Line 89: | ||
| ''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]] | ||
| + | |- | ||
| + | | ''ethnicity'' | ||
| + | | model's ethnicity | ||
|- | |- | ||
| ''occupation'' | | ''occupation'' | ||
| model's occupation(s) | | model's occupation(s) | ||
|- | |- | ||
| − | |||
| ''alma_mater'' | | ''alma_mater'' | ||
| [[Alma mater|alma mater]]. model's place of education | | [[Alma mater|alma mater]]. model's place of education | ||
|- | |- | ||
| − | | '' | + | | ''years_active'' |
| years that the model was active in his/her career | | years that the model was active in his/her career | ||
|- | |- | ||
| − | | '' | + | | ''known_for'' |
| − | | model's | + | | |
| + | |- | ||
| + | | ''spouse'' | ||
| + | | if applicable, name(s) of the model's spouse(s); use {{tl|marriage}} where possible | ||
| + | |- | ||
| + | | ''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). | ||
| + | |- | ||
| + | | ''children'' | ||
| + | | | ||
| + | |- | ||
| + | | ''relatives'' | ||
| + | | notable persons related to the model | ||
| + | |- | ||
| + | | ''website'' | ||
| + | | model's website; use {{tl|URL}} where possible | ||
|- | |- | ||
| ''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'' | ||
| Line 111: | Line 134: | ||
| ''measurements'' | | ''measurements'' | ||
| model's [[Bust/waist/hip measurements]] <!--if applicable, i.e., for female models--> | | model's [[Bust/waist/hip measurements]] <!--if applicable, i.e., for female models--> | ||
| − | |||
| − | |||
| − | |||
|- | |- | ||
| ''dress_size'' | | ''dress_size'' | ||
| Line 129: | Line 149: | ||
| ''agency'' | | ''agency'' | ||
| agency/agencies for which the model currently works | | agency/agencies for which the model currently works | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
|- | |- | ||
| 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 170: | Line 178: | ||
== Microformat == | == Microformat == | ||
| − | |||
{{UF-hcard-person}} | {{UF-hcard-person}} | ||
== See also == | == See also == | ||
| − | |||
* {{tl|Infobox person}} | * {{tl|Infobox person}} | ||
* {{tl|Infobox pageant titleholder}} | * {{tl|Infobox pageant titleholder}} | ||
Revision as of 19:06, 10 March 2014
| 40px | This is a documentation subpage for Template:Infobox model. It contains usage information, categories and other content that is not part of the original template page. |
{{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.
{{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 =
| other_names =
| nationality =
| citizenship =
| ethnicity =
| occupation =
| alma_mater =
| years_active =
| known_for =
| spouse = <!-- {{marriage|name|start|end}} -->
| partner = <!-- unmarried life partner; use ''Name (1950–present)'' -->
| children =
| relatives =
| website = <!-- {{URL|website}} -->
| height = <!-- {{convert|x|ft|y|in|m|2|abbr=on}} or {{convert|x|m|ftin|0|abbr=on}} -->
| weight =
| hair_color =
| eye_color =
| measurements =
| dress_size =
| collar =
| suit =
| shoe_size =
| agency =
}}
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 | |
| other_names | aliases or nicknames for the model |
| nationality | used to denote from which country the person belongs/birthplace |
| 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 |
| ethnicity | model's ethnicity |
| occupation | model's occupation(s) |
| alma_mater | alma mater. model's place of education |
| 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 | |
| relatives | notable persons related to the model |
| website | model's website; use {{URL}} where possible |
| 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 |
| * Only used if the {{{image}}} parameter is used. | |
Synonyms
Jane Doe | |
|---|---|
| Modeling information | |
| Hair color | black |
| Eye color | brown |
| Manager | Script error: No such module "If empty". |
Jane Doe | |
|---|---|
| Modelling information | |
| Hair colour | red |
| Eye colour | green |
| Manager | Script error: No such module "If empty". |
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
See also