Template:Infobox Chef/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:Infobox Chef (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

Infobox Chef may be used to summarize information about a chef.

[edit] Usage

The infobox may be added by pasting the template as shown below into an article. All fields are optional. Any unused parameter names can be left blank or omitted.

{{Infobox Chef
| name           = 
| image          = 
| caption        = 
| birthdate      = 
| birthplace     = 
| deathdate      = 
| deathplace     = 
| style          = 
| education      = 
| ratings        = 
| restaurants    = 
| prevrests      = 
| television     = 
| awards         = 
| website        = 
}}

The following template can be copied and pasted. If you use the template below, you will have to change parameters for the following fields: birthdate, ratings. Note: The articles page name will be automatically substituted ({{subst:PAGENAME}}) for the name parameter when you save the page. Unless you change it.

{{Infobox Chef
| name           = {{subst:PAGENAME}}
| image          = 
| caption        = 
| birthdate      = {{Birth date and age|year|mo|da}}
| birthplace     = 
| deathdate      = 
| deathplace     = 
| dead           = 
| style          = 
| education      = 
| ratings        = [[Michelin star]]s {{Rating|0|3}}<br>[[American Automobile Association|AAA Motor Club]] {{Rating|0|5}}<br>[[Mobil]] {{Rating|0|5}}<br>[[Good Food Guide]] {{Rating|0|10}}
| restaurants    = 
| prevrests      = 
| television     = 
| awards         = 
| website        = 
}}

[edit] Parameters

Parameter Explanation
name Insert name of the person. Use the common name, typically the name of the article, or if multiple names are used. If omitted or blank, it defaults to the name of the article. The default background display color for a living person is wheat. Note: If the deathdate parameter below is used, it will change the background display color of the persons name to silver.
image Insert image name. Use only the file name such as abc.jpg, xyz.png, 123.gif, etc. Do not use syntax such as [[Image:abc.jpg]] or [[Image:abc.jpg|200px]]

Only free-content images are allowed for depicting living people. Non-free and "fair use" images, e.g. promo photos, CD/DVD covers, posters, screen captures, etc., will be deleted - see WP:NONFREE

caption Insert photograph caption. Try to include date of photo and the photographer.
birthdate Insert the persons birth date if known as: [[month day]], [[year]].
  • For a living person consider using:
{{Birth date and age|year of birth|month of birth|day of birth}}
  • Otherwise use:
{{Birth date|year of birth|month of birth|day of birth}}.
birthplace Insert the persons place of birth if known as: town, city, state, country. Note: DO NOT add flag icons to the birthplace. See Wikipedia:Manual of Style (flags).
deathdate Note: Using this field will also change the background display color of the name at the top of the infobox to silver.

If the person is still living, leave this parameter blank.

Insert the persons date of death if known as: [[month day]], [[year]].

  • When the full birth date and death date are known, use the following:
{{death date and age|yr died|mo died|da died|yr born|mo born|da born}}
example
{{Death date and age|2008|06|11|1950|12|31}}
output display results
June 11, 2008 (aged 57)
  • When only the birth and death years are known, use:
{{Death year and age|year died|year born}}
example
{{Death year and age|2008|1950}}
output display results
2008 (aged 57–58)
  • When only the birth month, birth year and death year are known, use:
[[birth month]], {{Death year and age|year died|year born}}
example
[[June]], {{Death year and age|2008|1950}}
output display results
June, 2008 (aged 57–58)
  • When only the death year is known, use:
[[death year]]
example
[[year died]]
output display results
2008
  • When the date of death is unknown, but the person is certainly now dead use the following (case is insensitive):
example
unknown
output display results
date of death unknown
  • When the date of death is unknown, and it is preferable not to display anything and just change the background display color of the infobox. Enter the following (case is insensitive):
example
died
output display results
nothing will be displayed.
  • When the date of death is only known approximately.
Preface the entry with a wikilink [[circa|c.]] or c.
examples
[[circa|c.]] {{Death year and age|2008|1950}}
[[circa|c.]] [[year died]]
output display results
c. 2008 (aged 57–58)
c. 2008
deathplace Insert the persons place of death if known as: town, city, state, country. Note: DO NOT add flag icons to the deathplace. See Wikipedia:Manual of Style (flags).
style Insert the persons style of cooking if known. Such as Asian, Southern, Mexican, East Indian, etc. If unknown leave blank.
Separate entries with a comma "," followed by a blank space.
education Insert the persons education if known. If unknown leave blank.
ratings Insert the ratings given this person. Consider using {{Rating|X|Y}}, where X is the number of stars given and Y are the out of possible stars. The four major guides are listed below. Mobil rates on a scale of 1 to 3, where 3 is the highest rating. AAA motor club and Mobil rate on a scale of 1 to 5, where 5 is the highest rating. The Good Food Guide rates on a scale of 1 to 10 where 10 is the highest rating. Examples:

Michelin stars 2/3 stars2/3 stars2/3 stars
AAA Motor Club 3.5/5 stars3.5/5 stars3.5/5 stars3.5/5 stars3.5/5 stars
Mobil 3/5 stars3/5 stars3/5 stars3/5 stars3/5 stars
Good Food Guide 8/10 stars8/10 stars8/10 stars8/10 stars8/10 stars8/10 stars8/10 stars8/10 stars8/10 stars8/10 stars
Separate entries with a line break <br>.

restaurants Insert the person's current restaurants or current affiliations if known. If unknown leave blank. Please include years. Separate entries with a line break <br>.

Examples:
Big Brown Nut, [[Washington D.C.]] (1994-present)<br>
Taco Loco, [[Allentown, Pennsylvania]] (1986-present)

prevrests Insert the person's previous restaurants or previous affiliations if known. If unknown leave blank. Please include years. Separate entries with a line break <br>.

Examples:
Cheese and Quackers Room, [[San Francisco, California]] (1994-1996)<br>
Mama's Steaks, [[Newark, New Jersey]] (1996-1997)

television Insert the person's television shows if known. These would be television series. Not appearances on shows. Include year dates if known. If unknown leave blank. Separate entries with a line break <br>.

Example:
Hot Off the Grill with Kevin (1999)<br>
[[Dining with Diana]] (2004)<br>
[[Making Lemonade]] (2006-2007)<br>
[[Pete's Place]] (2006-2008)

awards Insert any notable awards the person has won. Consider using the template: Consider using the template: {{awd|award|year|title|role|name}}
website If the person has an official website enter it here. Do not enter unofficial, blogs or fan websites. Only one official website is allowed. If the writer has more than one official website, only the most prominent should be listed in the infobox. All other websites should be listed in the article under ==External links==.
Enter just the url. Do not use syntax such as [http://www.lastpageontheinternet.com/] or [[http://www.lastpageontheinternet.com/ Great Writer]].
The proper syntax is: http://www.lastpageontheinternet.com/

[edit] 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. For more information about the use of microformats on Wikipedia, please see the microformat project.

Date-of-birth ("bday") parameters will only be included in the microformat if {{Birth date}} or {{Birth date and age}} are used in the infobox.

hCard uses HTML classes including:

  • adr
  • bday
  • county-name
  • fn (required)
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • nickname
  • note
  • org
  • role
  • vcard

Please do not rename or remove these classes.