قالب:Infobox model

من ويكيبيديا، الموسوعه الحره
اذهب إلى التنقل اذهب إلى البحث
Template documentation[view] [edit] [history] [purge]

{{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    = 
| caption       = 
| alt           = 
| 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   = 
| other_names   = 
| occupation    = 
| yearsactive   =
| ethnicity     = 
| height        = <!-- {{convert|x|ft|y|in|m|2|abbr=on}} or {{convert|x|m|ftin|0|abbr=on}} -->
| hair_color    = 
| eye_color     = 
| measurements  = 
| weight        = 
| dress_size    = 
| collar        = 
| suit          = 
| shoe_size     = 
| agency        = 
| spouse        = <!-- {{marriage|name|start|end}} -->
| children      = 
| relatives     = 
| 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
caption * caption for the image
alt * alt text 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
other_names aliases or nicknames for the model
occupation model's occupation(s)
yearsactive years that the model was active in his/her career
ethnicity model's ethnicity
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
measurements model's measurements
weight model's weight; use {{convinfobox}} where possible
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
spouse if applicable, name(s) of the model's spouse(s); use {{marriage}} where possible
relatives notable persons related to the model
website model's website; use {{URL}} where possible
* Only used if the {{{image}}} parameter is used.

Synonyms[تعديل]

Jane Doe
لون الشعرblack
لون العيونbrown
Jane Doe
لون الuشعرred
لون الuعيون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:

{{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[تعديل]

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.

See also[تعديل]