Templat:Infobox model
Infobox model | |
---|---|
{{Infobox model}} may be used to summarize information about a person who is a model.
Penggunaan
[sunting sumber]The infobox may be added by pasting the template as shown below into an article. For an example, see Cindy Crawford.
{{{name}}} | |
---|---|
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright=1]] | |
Nama asal | {{{native_name}}} |
Lahir | {{{birth_name}}} {{{birth_date}}} {{{birth_place}}} |
Meninggal | {{{death_date}}} {{{death_place}}} |
Sebab meninggal | {{{death_cause}}} |
Tempat tinggal | {{{residence}}} |
Kebangsaan | {{{nationality}}} |
Nama lain | {{{other_names}}} |
Kewarganegaraan | {{{citizenship}}} |
Almamater | {{{alma_mater}}} |
Pekerjaan | {{{occupation}}} |
Tahun aktif | {{{years_active}}} |
Dikenal atas | {{{known_for}}} |
Suami/istri | {{{spouse}}} |
Pasangan | {{{partner}}} |
Anak | {{{children}}} |
Informasi modeling | |
Tinggi | {{{height}}} |
Warna rambut | {{{hair_color}}} |
Warna mata | {{{eye_color}}} |
Manajer | {{{agency}}} |
{{{module}}} | |
Situs web | {{{website}}} |
{{Infobox model | name = | 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 = | 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 = <!-- "X cm", "X m" or "X ft Y in" plus optional reference (conversions are automatic) --> | hair_color = | eye_color = | agency = | module = | website = <!-- {{URL|website}} --> }}
Parameter
[sunting sumber]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 | |
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 |
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 | |
website | model's website; use {{URL}} where possible |
* Only used if the {{{image}}} parameter is used. |
Sinonim
[sunting sumber]
Jane Doe | |
---|---|
Informasi modeling | |
Warna rambut | black |
Warna mata | brown |
Jane Doe | |
---|---|
Modelling modeling | |
Warna rambut | red |
Warna mata | 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.
Mikroformat
[sunting sumber]Markah HTML yang dihasilkan templat ini akan menggunakan microformat hCard, yang membuat detail tokohnya dapat diparser oleh komputer, baik bertindak otomatis untuk membuat katalog artikel di Wikipedia atau melalui peramban yang dijalankan oleh pembaca, untuk (misalnya) menambahkan subjek ke buku alamat atau basis data.
Subtemplat
[sunting sumber]Informasi tanggal lahir ("bday") akan dimasukkan dalam microformat bila {{birth date}}, atau {{birth date and age}} digunakan di kotak info. (Jangan digunakan untuk tokoh yang lahir sebelum 1583.) Waspada bila digunakan untuk tokoh yang masih hidup, lihat WP:ULTAH.
Untuk memasukkan URL, gunakan {{URL}}.
Tolong jangan hapus contoh subtemplat ini.
Kelas
[sunting sumber]hCard menggunakan kelas HTML seperti:
- 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
Harap jangan mengganti nama atau menghapus kelas-kelas ini atau menciutkan elemen yang menggunakannya.